1 |
|
# |
2 |
|
# spec file for package qsampler |
3 |
|
# |
4 |
|
# Copyright (C) 2004-2021, rncbc aka Rui Nuno Capela. All rights reserved. |
5 |
|
# Copyright (C) 2007,2008,2015 Christian Schoenebeck |
6 |
|
# |
7 |
|
# All modifications and additions to the file contributed by third parties |
8 |
|
# remain the property of their copyright owners, unless otherwise agreed |
9 |
|
# upon. The license for this file, and modifications and additions to the |
10 |
|
# file, is the same license as for the pristine package itself (unless the |
11 |
|
# license for the pristine package is not an Open Source License, in which |
12 |
|
# case the license is the MIT License). An "Open Source License" is a |
13 |
|
# license that conforms to the Open Source Definition (Version 1.9) |
14 |
|
# published by the Open Source Initiative. |
15 |
|
# |
16 |
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/ |
17 |
|
# |
18 |
|
|
19 |
%define name @PACKAGE_TARNAME@ |
%define name @PACKAGE_TARNAME@ |
20 |
%define version @PACKAGE_VERSION@ |
%define version @PACKAGE_VERSION@ |
21 |
%define release 16 |
%define release 46 |
22 |
|
|
23 |
%define _prefix @ac_prefix@ |
%define _prefix @ac_prefix@ |
24 |
|
|
25 |
|
%if %{defined fedora} |
26 |
|
%define debug_package %{nil} |
27 |
|
%endif |
28 |
|
|
29 |
Summary: A LinuxSampler Qt GUI interface |
Summary: A LinuxSampler Qt GUI interface |
30 |
Name: %{name} |
Name: %{name} |
31 |
Version: %{version} |
Version: %{version} |
32 |
Release: %{release} |
Release: %{release} |
33 |
License: GPL-2.0+ |
License: GPL-2.0+ |
34 |
Group: Productivity/Multimedia/Sound/Midi |
Group: Productivity/Multimedia/Sound/Midi |
35 |
Source0: %{name}-%{version}.tar.bz2 |
Source0: %{name}-%{version}.tar.gz |
36 |
URL: http://qsampler.sourceforge.net/ |
URL: http://qsampler.sourceforge.net/ |
37 |
#Packager: rncbc.org |
Packager: rncbc.org |
38 |
|
|
39 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot |
40 |
|
|
41 |
#BuildRequires: libqt4-devel >= 4.4 |
BuildRequires: coreutils |
42 |
|
BuildRequires: pkgconfig |
43 |
|
BuildRequires: glibc-devel |
44 |
|
BuildRequires: gcc-c++ |
45 |
|
BuildRequires: autoconf automake |
46 |
%if %{defined fedora} |
%if %{defined fedora} |
47 |
BuildRequires: qt5-qtbase-devel >= 5.1, qt5-linguist |
BuildRequires: qt5-qtbase-devel >= 5.1, qt5-linguist |
48 |
|
BuildRequires: qt5-qtsvg-devel, qt5-qtwayland-devel |
49 |
%else |
%else |
50 |
BuildRequires: libqt5-qtbase-devel >= 5.1, libqt5-qtbase-common-devel, libqt5-linguist |
BuildRequires: libqt5-qtbase-devel >= 5.1, libqt5-linguist |
51 |
|
BuildRequires: libqt5-qtsvg-devel, libqt5-qtwayland-devel |
52 |
%endif |
%endif |
53 |
BuildRequires: liblscp-devel >= 0.5.6 |
BuildRequires: liblscp-devel >= 0.5.6 |
54 |
BuildRequires: libgig-devel >= 3.3.0 |
BuildRequires: libgig-devel >= 3.3.0 |
60 |
|
|
61 |
%prep |
%prep |
62 |
%setup |
%setup |
63 |
[ -f Makefile.git ] && %__make -f Makefile.git |
[ -x ./autogen.sh ] && ./autogen.sh |
64 |
|
|
65 |
%build |
%build |
66 |
%configure |
%configure |
67 |
%__make |
%__make %{?_smp_mflags} |
68 |
|
|
69 |
%install |
%install |
70 |
%__make DESTDIR=%{buildroot} install |
%__make DESTDIR="%{buildroot}" install |
71 |
|
|
72 |
%clean |
%clean |
73 |
[ -d %{buildroot} -a "%{buildroot}" != "" ] && %__rm -rf %{buildroot} |
[ -d "%{buildroot}" -a "%{buildroot}" != "/" ] && %__rm -rf "%{buildroot}" |
74 |
|
|
75 |
%files |
%files |
76 |
%defattr(-,root,root) |
%defattr(-,root,root) |
87 |
%dir %{_datadir}/icons/hicolor/scalable/mimetypes |
%dir %{_datadir}/icons/hicolor/scalable/mimetypes |
88 |
%dir %{_datadir}/%{name} |
%dir %{_datadir}/%{name} |
89 |
%dir %{_datadir}/%{name}/translations |
%dir %{_datadir}/%{name}/translations |
90 |
%dir %{_datadir}/appdata |
%dir %{_datadir}/metainfo |
91 |
#dir %{_datadir}/man |
#dir %{_datadir}/man |
92 |
#dir %{_datadir}/man/man1 |
#dir %{_datadir}/man/man1 |
93 |
|
#dir %{_datadir}/man/fr |
94 |
|
#dir %{_datadir}/man/fr/man1 |
95 |
%{_bindir}/%{name} |
%{_bindir}/%{name} |
96 |
%{_datadir}/mime/packages/%{name}.xml |
%{_datadir}/mime/packages/%{name}.xml |
97 |
%{_datadir}/applications/%{name}.desktop |
%{_datadir}/applications/%{name}.desktop |
100 |
%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg |
%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg |
101 |
%{_datadir}/icons/hicolor/scalable/mimetypes/application-x-%{name}*.svg |
%{_datadir}/icons/hicolor/scalable/mimetypes/application-x-%{name}*.svg |
102 |
%{_datadir}/%{name}/translations/%{name}_*.qm |
%{_datadir}/%{name}/translations/%{name}_*.qm |
103 |
%{_datadir}/appdata/%{name}.appdata.xml |
%{_datadir}/metainfo/%{name}.appdata.xml |
104 |
%{_datadir}/man/man1/%{name}.1.gz |
%{_datadir}/man/man1/%{name}.1.gz |
105 |
|
%{_datadir}/man/fr/man1/%{name}.1.gz |
106 |
|
|
107 |
%changelog |
%changelog |
108 |
|
* Sun Mar 14 2021 Rui Nuno Capela <rncbc@rncbc.org> 0.9.2 |
109 |
|
- End-of-Winter'21 release. |
110 |
|
* Sun Feb 7 2021 Rui Nuno Capela <rncbc@rncbc.org> 0.9.1 |
111 |
|
- Winter'21 release. |
112 |
|
* Thu Dec 17 2020 Rui Nuno Capela <rncbc@rncbc.org> 0.9.0 |
113 |
|
- Winter'20 release. |
114 |
|
* Fri Jul 31 2020 Rui Nuno Capela <rncbc@rncbc.org> 0.6.3 |
115 |
|
- Summer'20 release. |
116 |
|
* Tue Mar 24 2020 Rui Nuno Capela <rncbc@rncbc.org> 0.6.2 |
117 |
|
- Spring'20 release. |
118 |
|
* Sun Dec 22 2019 Rui Nuno Capela <rncbc@rncbc.org> 0.6.1 |
119 |
|
- Winter'19 release. |
120 |
|
* Thu Oct 17 2019 Rui Nuno Capela <rncbc@rncbc.org> 0.6.0 |
121 |
|
- Autumn'19 release. |
122 |
|
* Fri Jul 12 2019 Rui Nuno Capela <rncbc@rncbc.org> 0.5.6 |
123 |
|
- Summer'19 release. |
124 |
|
* Thu Apr 11 2019 Rui Nuno Capela <rncbc@rncbc.org> 0.5.5 |
125 |
|
- Spring-Break'19 release. |
126 |
|
* Mon Mar 11 2019 Rui Nuno Capela <rncbc@rncbc.org> 0.5.4 |
127 |
|
- Pre-LAC2019 release frenzy. |
128 |
|
* Thu Dec 06 2018 Rui Nuno Capela <rncbc@rncbc.org> 0.5.3 |
129 |
|
- An End of Autumn'18 Release. |
130 |
|
* Sun Jul 22 2018 Rui Nuno Capela <rncbc@rncbc.org> 0.5.2 |
131 |
|
- Summer'18 Release. |
132 |
|
* Mon May 21 2018 Rui Nuno Capela <rncbc@rncbc.org> 0.5.1 |
133 |
|
- Pre-LAC2018 release frenzy. |
134 |
|
* Tue Dec 12 2017 Rui Nuno Capela <rncbc@rncbc.org> 0.5.0 |
135 |
|
- An Autumn'17 release. |
136 |
|
* Thu Apr 27 2017 Rui Nuno Capela <rncbc@rncbc.org> 0.4.3 |
137 |
|
- Pre-LAC2017 release frenzy. |
138 |
|
* Mon Nov 14 2016 Rui Nuno Capela <rncbc@rncbc.org> 0.4.2 |
139 |
|
- A Fall'16 release. |
140 |
|
* Wed Sep 14 2016 Rui Nuno Capela <rncbc@rncbc.org> 0.4.1 |
141 |
|
- End of Summer'16 release. |
142 |
|
* Tue Apr 5 2016 Rui Nuno Capela <rncbc@rncbc.org> 0.4.0 |
143 |
|
- Spring'16 release frenzy. |
144 |
* Sun Jul 19 2015 Rui Nuno Capela <rncbc@rncbc.org> 0.3.1 |
* Sun Jul 19 2015 Rui Nuno Capela <rncbc@rncbc.org> 0.3.1 |
145 |
- Summer'15 release frenzy. |
- Summer'15 release frenzy. |
146 |
* Wed Mar 25 2015 Rui Nuno Capela <rncbc@rncbc.org> 0.3.0 |
* Wed Mar 25 2015 Rui Nuno Capela <rncbc@rncbc.org> 0.3.0 |