1 |
%define name @PACKAGE_TARNAME@ |
%define name @PACKAGE_TARNAME@ |
2 |
%define version @PACKAGE_VERSION@ |
%define version @PACKAGE_VERSION@ |
3 |
%define release 8 |
%define release 13 |
|
%define prefix /usr/local |
|
4 |
|
|
5 |
Summary: A LinuxSampler Qt GUI interface. |
%define _prefix @ac_prefix@ |
6 |
|
|
7 |
|
Summary: A LinuxSampler Qt GUI interface |
8 |
Name: %{name} |
Name: %{name} |
9 |
Version: %{version} |
Version: %{version} |
10 |
Release: %{release} |
Release: %{release} |
|
Prefix: %{prefix} |
|
11 |
License: GPL |
License: GPL |
12 |
Group: Sound |
Group: Productivity/Multimedia/Sound/Midi |
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.5.0, libgig >= 3.1.0 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot |
17 |
|
|
18 |
|
BuildRequires: libqt4-devel >= 4.1 |
19 |
|
BuildRequires: liblscp-devel >= 0.5.6 |
20 |
|
BuildRequires: libgig-devel >= 3.3.0 |
21 |
|
|
22 |
%description |
%description |
23 |
QSampler is a LinuxSampler GUI front-end application written in C++ around |
QSampler is a LinuxSampler GUI front-end application written in C++ around |
24 |
the Qt3 toolkit using Qt Designer. For the moment it just wraps the client |
the Qt4 toolkit using Qt Designer. For the moment it just wraps the client |
25 |
interface of LinuxSampler Control Protocol (LSCP) (http://www.linuxsampler.org). |
interface of LinuxSampler Control Protocol (LSCP) (http://www.linuxsampler.org). |
26 |
|
|
27 |
%prep |
%prep |
|
|
|
28 |
%setup |
%setup |
29 |
[ -f Makefile.cvs ] && make -f Makefile.cvs |
[ -f Makefile.svn ] && %__make -f Makefile.svn |
30 |
|
|
31 |
%build |
%build |
32 |
export PATH=$QTDIR/bin:$PATH |
%configure |
33 |
./configure --prefix=%{prefix} |
%__make |
|
make |
|
34 |
|
|
35 |
%install |
%install |
36 |
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 |
|
37 |
|
|
38 |
%clean |
%clean |
39 |
if [ -d $RPM_BUILD_ROOT ]; then rm -rf $RPM_BUILD_ROOT; fi |
[ -d %{buildroot} -a "%{buildroot}" != "" ] && %__rm -rf %{buildroot} |
40 |
|
|
41 |
%files |
%files |
42 |
%defattr(-,root,root) |
%defattr(-,root,root) |
43 |
%doc AUTHORS COPYING ChangeLog README TODO |
%doc AUTHORS COPYING ChangeLog README TODO |
44 |
%{prefix}/bin/qsampler |
%{_bindir}/%{name} |
45 |
%{prefix}/share/icons/qsampler.png |
%{_datadir}/applications/%{name}.desktop |
46 |
|
%{_datadir}/pixmaps/%{name}.png |
47 |
|
%{_datadir}/locale/%{name}_*.qm |
48 |
|
|
49 |
%changelog |
%changelog |
50 |
|
* Sat Aug 1 2009 Rui Nuno Capela <rncbc@users.sourceforge.net> |
51 |
|
- New 0.2.2 release. |
52 |
|
* Thu Dec 6 2007 Rui Nuno Capela <rncbc@users.sourceforge.net> |
53 |
|
- Qt4 migration complete. |
54 |
|
* Mon Jun 25 2007 Rui Nuno Capela <rncbc@users.sourceforge.net> |
55 |
|
- Application icon is now installed to (prefix)/share/pixmaps. |
56 |
|
- Declared fundamental build and run-time requirements. |
57 |
|
- Destination install directory prefix is now in spec. |
58 |
|
- Spec is now a bit more openSUSE compliant. |
59 |
|
* Mon Jan 15 2007 Rui Nuno Capela <rncbc@users.sourceforge.net> |
60 |
|
- Added sampler channel FX send support at session save code-level. |
61 |
|
- Global sampler volume slider/spinbox combo is now featured. |
62 |
* Thu Dec 17 2006 Rui Nuno Capela <rncbc@users.sourceforge.net> |
* Thu Dec 17 2006 Rui Nuno Capela <rncbc@users.sourceforge.net> |
63 |
- Added preliminary MIDI instrument mapping support. |
- Added preliminary MIDI instrument mapping support. |
64 |
* Thu Jun 01 2006 Rui Nuno Capela <rncbc@users.sourceforge.net> |
* Thu Jun 01 2006 Rui Nuno Capela <rncbc@users.sourceforge.net> |