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 8 |
%define release 47.1 |
22 |
%define prefix /usr/local |
|
23 |
|
%define _prefix @ac_prefix@ |
24 |
|
|
25 |
|
%if %{defined fedora} |
26 |
|
%define debug_package %{nil} |
27 |
|
%endif |
28 |
|
|
29 |
|
%if 0%{?fedora_version} >= 34 || 0%{?suse_version} > 1500 |
30 |
|
%define qt_major_version 6 |
31 |
|
%else |
32 |
|
%define qt_major_version 5 |
33 |
|
%endif |
34 |
|
|
35 |
Summary: A LinuxSampler Qt GUI interface. |
Summary: A LinuxSampler Qt GUI interface |
36 |
Name: %{name} |
Name: %{name} |
37 |
Version: %{version} |
Version: %{version} |
38 |
Release: %{release} |
Release: %{release} |
39 |
Prefix: %{prefix} |
License: GPL-2.0+ |
40 |
License: GPL |
Group: Productivity/Multimedia/Sound/Midi |
|
Group: Sound |
|
41 |
Source0: %{name}-%{version}.tar.gz |
Source0: %{name}-%{version}.tar.gz |
42 |
URL: http://qsampler.sourceforge.net/ |
URL: http://qsampler.sourceforge.net/ |
43 |
BuildRoot: /var/tmp/%{name}-%{version}-buildroot |
Packager: rncbc.org |
44 |
Requires: liblscp >= 0.4.1, libgig >= 3.1.0 |
|
45 |
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot |
46 |
|
|
47 |
|
BuildRequires: coreutils |
48 |
|
BuildRequires: pkgconfig |
49 |
|
BuildRequires: glibc-devel |
50 |
|
BuildRequires: gcc-c++ |
51 |
|
BuildRequires: cmake |
52 |
|
%if %{defined fedora} |
53 |
|
%if 0%{qt_major_version} == 6 |
54 |
|
BuildRequires: qt6-qtbase-devel >= 6.1 |
55 |
|
BuildRequires: qt6-qttools-devel |
56 |
|
BuildRequires: qt6-qtwayland-devel |
57 |
|
BuildRequires: qt6-qtsvg-devel |
58 |
|
BuildRequires: qt6-linguist |
59 |
|
%else |
60 |
|
BuildRequires: qt5-qtbase-devel >= 5.1 |
61 |
|
BuildRequires: qt5-qttools-devel |
62 |
|
BuildRequires: qt5-qtwayland-devel |
63 |
|
BuildRequires: qt5-qtsvg-devel |
64 |
|
BuildRequires: qt5-linguist |
65 |
|
%endif |
66 |
|
%else |
67 |
|
%if 0%{qt_major_version} == 6 |
68 |
|
BuildRequires: qt6-base-devel >= 6.1 |
69 |
|
BuildRequires: qt6-tools-devel |
70 |
|
BuildRequires: qt6-wayland-devel |
71 |
|
BuildRequires: qt6-svg-devel |
72 |
|
BuildRequires: qt6-linguist-devel |
73 |
|
%else |
74 |
|
BuildRequires: libqt5-qtbase-devel >= 5.1 |
75 |
|
BuildRequires: libqt5-qttools-devel |
76 |
|
BuildRequires: libqt5-qtwayland-devel |
77 |
|
BuildRequires: libqt5-qtsvg-devel |
78 |
|
BuildRequires: libqt5-linguist-devel |
79 |
|
%endif |
80 |
|
%endif |
81 |
|
BuildRequires: liblscp-devel >= 0.5.6 |
82 |
|
BuildRequires: libgig-devel >= 3.3.0 |
83 |
|
|
84 |
%description |
%description |
85 |
QSampler is a LinuxSampler GUI front-end application written in C++ around |
Qsampler is a LinuxSampler GUI front-end application written in C++ around |
86 |
the Qt3 toolkit using Qt Designer. For the moment it just wraps the client |
the Qt framework using Qt Designer. For the moment it just wraps the client |
87 |
interface of LinuxSampler Control Protocol (LSCP) (http://www.linuxsampler.org). |
interface of LinuxSampler Control Protocol (LSCP) (http://www.linuxsampler.org). |
88 |
|
|
89 |
%prep |
%prep |
90 |
|
%setup -q |
|
%setup |
|
|
[ -f Makefile.cvs ] && make -f Makefile.cvs |
|
91 |
|
|
92 |
%build |
%build |
93 |
export PATH=$QTDIR/bin:$PATH |
cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} -Wno-dev -B build -S . |
94 |
./configure --prefix=%{prefix} |
%__make %{?_smp_mflags} -C build |
|
make |
|
95 |
|
|
96 |
%install |
%install |
97 |
if [ -d $RPM_BUILD_ROOT ]; then rm -rf $RPM_BUILD_ROOT; fi |
%__make DESTDIR="%{buildroot}" -C build install |
|
mkdir -p $RPM_BUILD_ROOT |
|
|
make prefix=$RPM_BUILD_ROOT%{prefix} install |
|
98 |
|
|
99 |
%clean |
%clean |
100 |
if [ -d $RPM_BUILD_ROOT ]; then rm -rf $RPM_BUILD_ROOT; fi |
[ -d "%{buildroot}" -a "%{buildroot}" != "/" ] && %__rm -rf "%{buildroot}" |
101 |
|
|
102 |
%files |
%files |
103 |
%defattr(-,root,root) |
%defattr(-,root,root) |
104 |
%doc AUTHORS COPYING ChangeLog README TODO |
%doc AUTHORS COPYING ChangeLog README TODO |
105 |
%{prefix}/bin/qsampler |
#dir %{_datadir}/mime |
106 |
%{prefix}/share/icons/qsampler.png |
#dir %{_datadir}/mime/packages |
107 |
|
#dir %{_datadir}/applications |
108 |
|
%dir %{_datadir}/icons/hicolor |
109 |
|
%dir %{_datadir}/icons/hicolor/32x32 |
110 |
|
%dir %{_datadir}/icons/hicolor/32x32/apps |
111 |
|
%dir %{_datadir}/icons/hicolor/32x32/mimetypes |
112 |
|
%dir %{_datadir}/icons/hicolor/scalable |
113 |
|
%dir %{_datadir}/icons/hicolor/scalable/apps |
114 |
|
%dir %{_datadir}/icons/hicolor/scalable/mimetypes |
115 |
|
%dir %{_datadir}/%{name} |
116 |
|
%dir %{_datadir}/%{name}/translations |
117 |
|
%dir %{_datadir}/metainfo |
118 |
|
#dir %{_datadir}/man |
119 |
|
#dir %{_datadir}/man/man1 |
120 |
|
#dir %{_datadir}/man/fr |
121 |
|
#dir %{_datadir}/man/fr/man1 |
122 |
|
%{_bindir}/%{name} |
123 |
|
%{_datadir}/mime/packages/%{name}.xml |
124 |
|
%{_datadir}/applications/%{name}.desktop |
125 |
|
%{_datadir}/icons/hicolor/32x32/apps/%{name}.png |
126 |
|
%{_datadir}/icons/hicolor/32x32/mimetypes/application-x-%{name}*.png |
127 |
|
%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg |
128 |
|
%{_datadir}/icons/hicolor/scalable/mimetypes/application-x-%{name}*.svg |
129 |
|
%{_datadir}/%{name}/translations/%{name}_*.qm |
130 |
|
%{_datadir}/metainfo/%{name}.appdata.xml |
131 |
|
%{_datadir}/man/man1/%{name}.1.gz |
132 |
|
%{_datadir}/man/fr/man1/%{name}.1.gz |
133 |
|
|
134 |
%changelog |
%changelog |
135 |
* Thu Jun 01 2006 Rui Nuno Capela <rncbc@users.sourceforge.net> |
* Tue May 11 2021 Rui Nuno Capela <rncbc@rncbc.org> 0.9.3 |
136 |
|
- Spring'21 release. |
137 |
|
* Sun Mar 14 2021 Rui Nuno Capela <rncbc@rncbc.org> 0.9.2 |
138 |
|
- End-of-Winter'21 release. |
139 |
|
* Sun Feb 7 2021 Rui Nuno Capela <rncbc@rncbc.org> 0.9.1 |
140 |
|
- Winter'21 release. |
141 |
|
* Thu Dec 17 2020 Rui Nuno Capela <rncbc@rncbc.org> 0.9.0 |
142 |
|
- Winter'20 release. |
143 |
|
* Fri Jul 31 2020 Rui Nuno Capela <rncbc@rncbc.org> 0.6.3 |
144 |
|
- Summer'20 release. |
145 |
|
* Tue Mar 24 2020 Rui Nuno Capela <rncbc@rncbc.org> 0.6.2 |
146 |
|
- Spring'20 release. |
147 |
|
* Sun Dec 22 2019 Rui Nuno Capela <rncbc@rncbc.org> 0.6.1 |
148 |
|
- Winter'19 release. |
149 |
|
* Thu Oct 17 2019 Rui Nuno Capela <rncbc@rncbc.org> 0.6.0 |
150 |
|
- Autumn'19 release. |
151 |
|
* Fri Jul 12 2019 Rui Nuno Capela <rncbc@rncbc.org> 0.5.6 |
152 |
|
- Summer'19 release. |
153 |
|
* Thu Apr 11 2019 Rui Nuno Capela <rncbc@rncbc.org> 0.5.5 |
154 |
|
- Spring-Break'19 release. |
155 |
|
* Mon Mar 11 2019 Rui Nuno Capela <rncbc@rncbc.org> 0.5.4 |
156 |
|
- Pre-LAC2019 release frenzy. |
157 |
|
* Thu Dec 06 2018 Rui Nuno Capela <rncbc@rncbc.org> 0.5.3 |
158 |
|
- An End of Autumn'18 Release. |
159 |
|
* Sun Jul 22 2018 Rui Nuno Capela <rncbc@rncbc.org> 0.5.2 |
160 |
|
- Summer'18 Release. |
161 |
|
* Mon May 21 2018 Rui Nuno Capela <rncbc@rncbc.org> 0.5.1 |
162 |
|
- Pre-LAC2018 release frenzy. |
163 |
|
* Tue Dec 12 2017 Rui Nuno Capela <rncbc@rncbc.org> 0.5.0 |
164 |
|
- An Autumn'17 release. |
165 |
|
* Thu Apr 27 2017 Rui Nuno Capela <rncbc@rncbc.org> 0.4.3 |
166 |
|
- Pre-LAC2017 release frenzy. |
167 |
|
* Mon Nov 14 2016 Rui Nuno Capela <rncbc@rncbc.org> 0.4.2 |
168 |
|
- A Fall'16 release. |
169 |
|
* Wed Sep 14 2016 Rui Nuno Capela <rncbc@rncbc.org> 0.4.1 |
170 |
|
- End of Summer'16 release. |
171 |
|
* Tue Apr 5 2016 Rui Nuno Capela <rncbc@rncbc.org> 0.4.0 |
172 |
|
- Spring'16 release frenzy. |
173 |
|
* Sun Jul 19 2015 Rui Nuno Capela <rncbc@rncbc.org> 0.3.1 |
174 |
|
- Summer'15 release frenzy. |
175 |
|
* Wed Mar 25 2015 Rui Nuno Capela <rncbc@rncbc.org> 0.3.0 |
176 |
|
- Pre-LAC2015 release frenzy. |
177 |
|
* Tue Dec 31 2013 Rui Nuno Capela <rncbc@rncbc.org> 0.2.3 |
178 |
|
- A fifth of a Jubilee release. |
179 |
|
* Mon May 17 2010 Rui Nuno Capela <rncbc@rncbc.org> |
180 |
|
- Standard desktop icon fixing. |
181 |
|
* Sat Aug 1 2009 Rui Nuno Capela <rncbc@rncbc.org> 0.2.2 |
182 |
|
- New 0.2.2 release. |
183 |
|
* Thu Dec 6 2007 Rui Nuno Capela <rncbc@rncbc.org> |
184 |
|
- Qt4 migration complete. |
185 |
|
* Mon Jun 25 2007 Rui Nuno Capela <rncbc@rncbc.org> |
186 |
|
- Application icon is now installed to (prefix)/share/pixmaps. |
187 |
|
- Declared fundamental build and run-time requirements. |
188 |
|
- Destination install directory prefix is now in spec. |
189 |
|
- Spec is now a bit more openSUSE compliant. |
190 |
|
* Mon Jan 15 2007 Rui Nuno Capela <rncbc@rncbc.org> |
191 |
|
- Added sampler channel FX send support at session save code-level. |
192 |
|
- Global sampler volume slider/spinbox combo is now featured. |
193 |
|
* Sun Dec 17 2006 Rui Nuno Capela <rncbc@rncbc.org> |
194 |
- Added preliminary MIDI instrument mapping support. |
- Added preliminary MIDI instrument mapping support. |
195 |
* Thu Jun 01 2006 Rui Nuno Capela <rncbc@users.sourceforge.net> |
* Thu Jun 01 2006 Rui Nuno Capela <rncbc@rncbc.org> |
196 |
- Take a chance for a new 0.1.3 release. |
- Take a chance for a new 0.1.3 release. |
197 |
- Changed deprecated copyright attribute to license. |
- Changed deprecated copyright attribute to license. |
198 |
* Wed Aug 24 2005 Rui Nuno Capela <rncbc@users.sourceforge.net> |
* Wed Aug 24 2005 Rui Nuno Capela <rncbc@rncbc.org> |
199 |
- Prepared auto-generation from configure. |
- Prepared auto-generation from configure. |
200 |
* Tue Aug 16 2005 Rui Nuno Capela <rncbc@users.sourceforge.net> |
* Tue Aug 16 2005 Rui Nuno Capela <rncbc@rncbc.org> |
201 |
- Get in sync with latest offerings from liblscp (0.3.1) and |
- Get in sync with latest offerings from liblscp (0.3.1) and |
202 |
specially libgig (2.0.2) which broke previous ABI, somewhat. |
specially libgig (2.0.2) which broke previous ABI, somewhat. |
203 |
* Thu Jun 23 2005 Rui Nuno Capela <rncbc@users.sourceforge.net> |
* Thu Jun 23 2005 Rui Nuno Capela <rncbc@rncbc.org> |
204 |
- Even minor workings needs a rest. |
- Even minor workings needs a rest. |
205 |
* Mon Jun 13 2005 Rui Nuno Capela <rncbc@users.sourceforge.net> |
* Mon Jun 13 2005 Rui Nuno Capela <rncbc@rncbc.org> |
206 |
- The mantra of bugfixes. |
- The mantra of bugfixes. |
207 |
* Mon May 23 2005 Rui Nuno Capela <rncbc@users.sourceforge.net> |
* Mon May 23 2005 Rui Nuno Capela <rncbc@rncbc.org> |
208 |
- Device configuration breakthrough. |
- Device configuration breakthrough. |
209 |
* Fri Mar 4 2005 Rui Nuno Capela <rncbc@users.sourceforge.net> |
* Fri Mar 4 2005 Rui Nuno Capela <rncbc@rncbc.org> |
210 |
- Fifth alpha-release. |
- Fifth alpha-release. |
211 |
* Wed Nov 16 2004 Rui Nuno Capela <rncbc@users.sourceforge.net> |
* Tue Nov 16 2004 Rui Nuno Capela <rncbc@rncbc.org> |
212 |
- Prepared for the fourth alpha release. |
- Prepared for the fourth alpha release. |
213 |
* Wed Nov 16 2004 Rui Nuno Capela <rncbc@users.sourceforge.net> |
* Tue Nov 16 2004 Rui Nuno Capela <rncbc@rncbc.org> |
214 |
- Prepared for the fourth alpha release. |
- Prepared for the fourth alpha release. |
215 |
* Wed Jun 2 2004 Rui Nuno Capela <rncbc@users.sourceforge.net> |
* Wed Jun 2 2004 Rui Nuno Capela <rncbc@rncbc.org> |
216 |
- Created initial qsampler.spec |
- Created initial qsampler.spec |