1 |
%define name @PACKAGE_TARNAME@ |
%define name @PACKAGE_TARNAME@ |
2 |
%define version @PACKAGE_VERSION@ |
%define version @PACKAGE_VERSION@ |
3 |
%define release 8 |
%define release 26 |
|
%define prefix /usr/local |
|
4 |
|
|
5 |
Summary: A LinuxSampler Qt GUI interface. |
%define _prefix @ac_prefix@ |
6 |
|
|
7 |
|
%if %{defined fedora} |
8 |
|
%define debug_package %{nil} |
9 |
|
%endif |
10 |
|
|
11 |
|
Summary: A LinuxSampler Qt GUI interface |
12 |
Name: %{name} |
Name: %{name} |
13 |
Version: %{version} |
Version: %{version} |
14 |
Release: %{release} |
Release: %{release} |
15 |
Prefix: %{prefix} |
License: GPL-2.0+ |
16 |
License: GPL |
Group: Productivity/Multimedia/Sound/Midi |
|
Group: Sound |
|
17 |
Source0: %{name}-%{version}.tar.gz |
Source0: %{name}-%{version}.tar.gz |
18 |
URL: http://qsampler.sourceforge.net/ |
URL: http://qsampler.sourceforge.net/ |
19 |
BuildRoot: /var/tmp/%{name}-%{version}-buildroot |
#Packager: rncbc.org |
20 |
Requires: liblscp >= 0.4.1, libgig >= 3.1.0 |
|
21 |
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot |
22 |
|
|
23 |
|
#BuildRequires: libqt4-devel >= 4.4 |
24 |
|
%if %{defined fedora} |
25 |
|
BuildRequires: pkgconfig |
26 |
|
BuildRequires: qt5-qtbase-devel >= 5.1, qt5-linguist |
27 |
|
BuildRequires: qt5-qtx11extras-devel >= 5.1 |
28 |
|
%else |
29 |
|
BuildRequires: pkg-config |
30 |
|
BuildRequires: libqt5-qtbase-devel >= 5.1, libqt5-linguist |
31 |
|
BuildRequires: libqt5-qtx11extras-devel >= 5.1 |
32 |
|
%endif |
33 |
|
BuildRequires: liblscp-devel >= 0.5.6 |
34 |
|
BuildRequires: libgig-devel >= 3.3.0 |
35 |
|
|
36 |
%description |
%description |
37 |
QSampler is a LinuxSampler GUI front-end application written in C++ around |
Qsampler is a LinuxSampler GUI front-end application written in C++ around |
38 |
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 |
39 |
interface of LinuxSampler Control Protocol (LSCP) (http://www.linuxsampler.org). |
interface of LinuxSampler Control Protocol (LSCP) (http://www.linuxsampler.org). |
40 |
|
|
41 |
%prep |
%prep |
|
|
|
42 |
%setup |
%setup |
43 |
[ -f Makefile.cvs ] && make -f Makefile.cvs |
[ -x ./autogen.sh ] && ./autogen.sh |
44 |
|
|
45 |
%build |
%build |
46 |
export PATH=$QTDIR/bin:$PATH |
%configure |
47 |
./configure --prefix=%{prefix} |
%__make %{?_smp_mflags} |
|
make |
|
48 |
|
|
49 |
%install |
%install |
50 |
if [ -d $RPM_BUILD_ROOT ]; then rm -rf $RPM_BUILD_ROOT; fi |
%__make DESTDIR="%{buildroot}" install |
|
mkdir -p $RPM_BUILD_ROOT |
|
|
make prefix=$RPM_BUILD_ROOT%{prefix} install |
|
51 |
|
|
52 |
%clean |
%clean |
53 |
if [ -d $RPM_BUILD_ROOT ]; then rm -rf $RPM_BUILD_ROOT; fi |
[ -d "%{buildroot}" -a "%{buildroot}" != "/" ] && %__rm -rf "%{buildroot}" |
54 |
|
|
55 |
%files |
%files |
56 |
%defattr(-,root,root) |
%defattr(-,root,root) |
57 |
%doc AUTHORS COPYING ChangeLog README TODO |
%doc AUTHORS COPYING ChangeLog README TODO |
58 |
%{prefix}/bin/qsampler |
#dir %{_datadir}/mime |
59 |
%{prefix}/share/icons/qsampler.png |
#dir %{_datadir}/mime/packages |
60 |
|
#dir %{_datadir}/applications |
61 |
|
%dir %{_datadir}/icons/hicolor |
62 |
|
%dir %{_datadir}/icons/hicolor/32x32 |
63 |
|
%dir %{_datadir}/icons/hicolor/32x32/apps |
64 |
|
%dir %{_datadir}/icons/hicolor/32x32/mimetypes |
65 |
|
%dir %{_datadir}/icons/hicolor/scalable |
66 |
|
%dir %{_datadir}/icons/hicolor/scalable/apps |
67 |
|
%dir %{_datadir}/icons/hicolor/scalable/mimetypes |
68 |
|
%dir %{_datadir}/%{name} |
69 |
|
%dir %{_datadir}/%{name}/translations |
70 |
|
%dir %{_datadir}/metainfo |
71 |
|
#dir %{_datadir}/man |
72 |
|
#dir %{_datadir}/man/man1 |
73 |
|
%{_bindir}/%{name} |
74 |
|
%{_datadir}/mime/packages/%{name}.xml |
75 |
|
%{_datadir}/applications/%{name}.desktop |
76 |
|
%{_datadir}/icons/hicolor/32x32/apps/%{name}.png |
77 |
|
%{_datadir}/icons/hicolor/32x32/mimetypes/application-x-%{name}*.png |
78 |
|
%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg |
79 |
|
%{_datadir}/icons/hicolor/scalable/mimetypes/application-x-%{name}*.svg |
80 |
|
%{_datadir}/%{name}/translations/%{name}_*.qm |
81 |
|
%{_datadir}/metainfo/%{name}.appdata.xml |
82 |
|
%{_datadir}/man/man1/%{name}*.1.gz |
83 |
|
|
84 |
%changelog |
%changelog |
85 |
* Thu Jun 01 2006 Rui Nuno Capela <rncbc@users.sourceforge.net> |
* Sun Jul 22 2018 Rui Nuno Capela <rncbc@rncbc.org> 0.5.2 |
86 |
|
- Summer'18 Release. |
87 |
|
* Mon May 21 2018 Rui Nuno Capela <rncbc@rncbc.org> 0.5.1 |
88 |
|
- Pre-LAC2018 release frenzy. |
89 |
|
* Tue Dec 12 2017 Rui Nuno Capela <rncbc@rncbc.org> 0.5.0 |
90 |
|
- An Autumn'17 release. |
91 |
|
* Thu Apr 27 2017 Rui Nuno Capela <rncbc@rncbc.org> 0.4.3 |
92 |
|
- Pre-LAC2017 release frenzy. |
93 |
|
* Mon Nov 14 2016 Rui Nuno Capela <rncbc@rncbc.org> 0.4.2 |
94 |
|
- A Fall'16 release. |
95 |
|
* Wed Sep 14 2016 Rui Nuno Capela <rncbc@rncbc.org> 0.4.1 |
96 |
|
- End of Summer'16 release. |
97 |
|
* Tue Apr 5 2016 Rui Nuno Capela <rncbc@rncbc.org> 0.4.0 |
98 |
|
- Spring'16 release frenzy. |
99 |
|
* Sun Jul 19 2015 Rui Nuno Capela <rncbc@rncbc.org> 0.3.1 |
100 |
|
- Summer'15 release frenzy. |
101 |
|
* Wed Mar 25 2015 Rui Nuno Capela <rncbc@rncbc.org> 0.3.0 |
102 |
|
- Pre-LAC2015 release frenzy. |
103 |
|
* Tue Dec 31 2013 Rui Nuno Capela <rncbc@rncbc.org> 0.2.3 |
104 |
|
- A fifth of a Jubilee release. |
105 |
|
* Mon May 17 2010 Rui Nuno Capela <rncbc@rncbc.org> |
106 |
|
- Standard desktop icon fixing. |
107 |
|
* Sat Aug 1 2009 Rui Nuno Capela <rncbc@rncbc.org> 0.2.2 |
108 |
|
- New 0.2.2 release. |
109 |
|
* Thu Dec 6 2007 Rui Nuno Capela <rncbc@rncbc.org> |
110 |
|
- Qt4 migration complete. |
111 |
|
* Mon Jun 25 2007 Rui Nuno Capela <rncbc@rncbc.org> |
112 |
|
- Application icon is now installed to (prefix)/share/pixmaps. |
113 |
|
- Declared fundamental build and run-time requirements. |
114 |
|
- Destination install directory prefix is now in spec. |
115 |
|
- Spec is now a bit more openSUSE compliant. |
116 |
|
* Mon Jan 15 2007 Rui Nuno Capela <rncbc@rncbc.org> |
117 |
|
- Added sampler channel FX send support at session save code-level. |
118 |
|
- Global sampler volume slider/spinbox combo is now featured. |
119 |
|
* Sun Dec 17 2006 Rui Nuno Capela <rncbc@rncbc.org> |
120 |
- Added preliminary MIDI instrument mapping support. |
- Added preliminary MIDI instrument mapping support. |
121 |
* Thu Jun 01 2006 Rui Nuno Capela <rncbc@users.sourceforge.net> |
* Thu Jun 01 2006 Rui Nuno Capela <rncbc@rncbc.org> |
122 |
- Take a chance for a new 0.1.3 release. |
- Take a chance for a new 0.1.3 release. |
123 |
- Changed deprecated copyright attribute to license. |
- Changed deprecated copyright attribute to license. |
124 |
* Wed Aug 24 2005 Rui Nuno Capela <rncbc@users.sourceforge.net> |
* Wed Aug 24 2005 Rui Nuno Capela <rncbc@rncbc.org> |
125 |
- Prepared auto-generation from configure. |
- Prepared auto-generation from configure. |
126 |
* Tue Aug 16 2005 Rui Nuno Capela <rncbc@users.sourceforge.net> |
* Tue Aug 16 2005 Rui Nuno Capela <rncbc@rncbc.org> |
127 |
- Get in sync with latest offerings from liblscp (0.3.1) and |
- Get in sync with latest offerings from liblscp (0.3.1) and |
128 |
specially libgig (2.0.2) which broke previous ABI, somewhat. |
specially libgig (2.0.2) which broke previous ABI, somewhat. |
129 |
* Thu Jun 23 2005 Rui Nuno Capela <rncbc@users.sourceforge.net> |
* Thu Jun 23 2005 Rui Nuno Capela <rncbc@rncbc.org> |
130 |
- Even minor workings needs a rest. |
- Even minor workings needs a rest. |
131 |
* Mon Jun 13 2005 Rui Nuno Capela <rncbc@users.sourceforge.net> |
* Mon Jun 13 2005 Rui Nuno Capela <rncbc@rncbc.org> |
132 |
- The mantra of bugfixes. |
- The mantra of bugfixes. |
133 |
* Mon May 23 2005 Rui Nuno Capela <rncbc@users.sourceforge.net> |
* Mon May 23 2005 Rui Nuno Capela <rncbc@rncbc.org> |
134 |
- Device configuration breakthrough. |
- Device configuration breakthrough. |
135 |
* Fri Mar 4 2005 Rui Nuno Capela <rncbc@users.sourceforge.net> |
* Fri Mar 4 2005 Rui Nuno Capela <rncbc@rncbc.org> |
136 |
- Fifth alpha-release. |
- Fifth alpha-release. |
137 |
* Wed Nov 16 2004 Rui Nuno Capela <rncbc@users.sourceforge.net> |
* Tue Nov 16 2004 Rui Nuno Capela <rncbc@rncbc.org> |
138 |
- Prepared for the fourth alpha release. |
- Prepared for the fourth alpha release. |
139 |
* Wed Nov 16 2004 Rui Nuno Capela <rncbc@users.sourceforge.net> |
* Tue Nov 16 2004 Rui Nuno Capela <rncbc@rncbc.org> |
140 |
- Prepared for the fourth alpha release. |
- Prepared for the fourth alpha release. |
141 |
* Wed Jun 2 2004 Rui Nuno Capela <rncbc@users.sourceforge.net> |
* Wed Jun 2 2004 Rui Nuno Capela <rncbc@rncbc.org> |
142 |
- Created initial qsampler.spec |
- Created initial qsampler.spec |