1 |
%define name @PACKAGE_TARNAME@ |
%define name @PACKAGE_TARNAME@ |
2 |
%define version @PACKAGE_VERSION@ |
%define version @PACKAGE_VERSION@ |
3 |
%define release 8 |
%define release 10 |
4 |
%define prefix /usr/local |
%define prefix @ac_prefix@ |
5 |
|
|
6 |
Summary: A LinuxSampler Qt GUI interface. |
Summary: A LinuxSampler Qt GUI interface. |
7 |
Name: %{name} |
Name: %{name} |
12 |
Group: Sound |
Group: Sound |
13 |
Source0: %{name}-%{version}.tar.gz |
Source0: %{name}-%{version}.tar.gz |
14 |
URL: http://qsampler.sourceforge.net/ |
URL: http://qsampler.sourceforge.net/ |
15 |
BuildRoot: /var/tmp/%{name}-%{version}-buildroot |
|
16 |
Requires: liblscp >= 0.4.1, libgig >= 3.1.0 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot |
17 |
|
|
18 |
|
Requires: liblscp >= 0.5.3, libgig >= 3.1.0 |
19 |
|
|
20 |
|
Requires: qt3 >= 3.1 |
21 |
|
Requires: liblscp >= 0.5.3 |
22 |
|
Requires: libgig >= 3.1.0 |
23 |
|
|
24 |
|
BuildRequires: qt3-devel >= 3.1 |
25 |
|
BuildRequires: liblscp-devel >= 0.5.3 |
26 |
|
BuildRequires: libgig-devel >= 3.1.0 |
27 |
|
|
28 |
%description |
%description |
29 |
QSampler is a LinuxSampler GUI front-end application written in C++ around |
QSampler is a LinuxSampler GUI front-end application written in C++ around |
31 |
interface of LinuxSampler Control Protocol (LSCP) (http://www.linuxsampler.org). |
interface of LinuxSampler Control Protocol (LSCP) (http://www.linuxsampler.org). |
32 |
|
|
33 |
%prep |
%prep |
|
|
|
34 |
%setup |
%setup |
35 |
[ -f Makefile.cvs ] && make -f Makefile.cvs |
[ -f Makefile.cvs ] && %__make -f Makefile.cvs |
36 |
|
|
37 |
%build |
%build |
38 |
export PATH=$QTDIR/bin:$PATH |
export PATH=$QTDIR/bin:$PATH |
39 |
./configure --prefix=%{prefix} |
%configure |
40 |
make |
%__make |
41 |
|
|
42 |
%install |
%install |
43 |
if [ -d $RPM_BUILD_ROOT ]; then rm -rf $RPM_BUILD_ROOT; fi |
%makeinstall |
|
mkdir -p $RPM_BUILD_ROOT |
|
|
make prefix=$RPM_BUILD_ROOT%{prefix} install |
|
44 |
|
|
45 |
%clean |
%clean |
46 |
if [ -d $RPM_BUILD_ROOT ]; then rm -rf $RPM_BUILD_ROOT; fi |
[ -d %{buildroot} -a "%{buildroot}" != "" ] && %__rm -rf %{buildroot} |
47 |
|
|
48 |
%files |
%files |
49 |
%defattr(-,root,root) |
%defattr(-,root,root) |
50 |
%doc AUTHORS COPYING ChangeLog README TODO |
%doc AUTHORS COPYING ChangeLog README TODO |
51 |
%{prefix}/bin/qsampler |
%{_bindir}/%{name} |
52 |
%{prefix}/share/icons/qsampler.png |
%{_datadir}/applications/%{name}.desktop |
53 |
|
%{_datadir}/pixmaps/%{name}.png |
54 |
|
|
55 |
%changelog |
%changelog |
56 |
* Thu Jun 01 2006 Rui Nuno Capela <rncbc@users.sourceforge.net> |
* Mon Jun 25 2007 Rui Nuno Capela <rncbc@users.sourceforge.net> |
57 |
|
- Application icon is now installed to (prefix)/share/pixmaps. |
58 |
|
- Declared fundamental build and run-time requirements. |
59 |
|
- Destination install directory prefix is now in spec. |
60 |
|
- Spec is now a bit more openSUSE compliant. |
61 |
|
* Mon Jan 15 2007 Rui Nuno Capela <rncbc@users.sourceforge.net> |
62 |
|
- Added sampler channel FX send support at session save code-level. |
63 |
|
- Global sampler volume slider/spinbox combo is now featured. |
64 |
|
* Thu Dec 17 2006 Rui Nuno Capela <rncbc@users.sourceforge.net> |
65 |
- Added preliminary MIDI instrument mapping support. |
- Added preliminary MIDI instrument mapping support. |
66 |
* Thu Jun 01 2006 Rui Nuno Capela <rncbc@users.sourceforge.net> |
* Thu Jun 01 2006 Rui Nuno Capela <rncbc@users.sourceforge.net> |
67 |
- Take a chance for a new 0.1.3 release. |
- Take a chance for a new 0.1.3 release. |