1 |
%define name @PACKAGE_TARNAME@ |
%define name @PACKAGE_TARNAME@ |
2 |
%define version @PACKAGE_VERSION@ |
%define version @PACKAGE_VERSION@ |
3 |
%define release 11 |
%define release 13 |
4 |
%define prefix @ac_prefix@ |
|
5 |
|
%define _prefix @ac_prefix@ |
6 |
|
|
7 |
Summary: A LinuxSampler Qt GUI interface |
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: Productivity/Multimedia/Sound/Midi |
Group: Productivity/Multimedia/Sound/Midi |
13 |
Source0: %{name}-%{version}.tar.gz |
Source0: %{name}-%{version}.tar.gz |
15 |
|
|
16 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot |
17 |
|
|
18 |
Requires: qt >= 4.2 |
BuildRequires: libqt4-devel >= 4.1 |
19 |
Requires: liblscp >= 0.5.5 |
BuildRequires: liblscp-devel >= 0.5.6 |
20 |
Requires: libgig >= 3.2.0 |
BuildRequires: libgig-devel >= 3.3.0 |
|
|
|
|
BuildRequires: qt-devel >= 4.2 |
|
|
BuildRequires: liblscp-devel >= 0.5.5 |
|
|
BuildRequires: libgig-devel >= 3.2.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 |
29 |
[ -f Makefile.svn ] && %__make -f Makefile.svn |
[ -f Makefile.svn ] && %__make -f Makefile.svn |
30 |
|
|
31 |
%build |
%build |
|
export PATH=$QTDIR/bin:$PATH |
|
32 |
%configure |
%configure |
33 |
%__make |
%__make |
34 |
|
|
35 |
%install |
%install |
36 |
%makeinstall |
%__make DESTDIR=%{buildroot} install |
37 |
|
|
38 |
%clean |
%clean |
39 |
[ -d %{buildroot} -a "%{buildroot}" != "" ] && %__rm -rf %{buildroot} |
[ -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 |
%{_bindir}/%{name} |
%{_bindir}/%{name} |
45 |
%{_datadir}/applications/%{name}.desktop |
%{_datadir}/applications/%{name}.desktop |
46 |
%{_datadir}/pixmaps/%{name}.png |
%dir %{_datadir}/icons/hicolor |
47 |
|
%dir %{_datadir}/icons/hicolor/32x32 |
48 |
|
%dir %{_datadir}/icons/hicolor/32x32/apps |
49 |
|
%{_datadir}/icons/hicolor/32x32/apps/%{name}.png |
50 |
|
%dir %{_datadir}/locale |
51 |
%{_datadir}/locale/%{name}_*.qm |
%{_datadir}/locale/%{name}_*.qm |
52 |
|
|
53 |
%changelog |
%changelog |
54 |
|
* Mon May 17 2010 Rui Nuno Capela <rncbc@users.sourceforge.net> |
55 |
|
- Standard desktop icon fixing. |
56 |
* Sat Aug 1 2009 Rui Nuno Capela <rncbc@users.sourceforge.net> |
* Sat Aug 1 2009 Rui Nuno Capela <rncbc@users.sourceforge.net> |
57 |
- New 0.2.2 release. |
- New 0.2.2 release. |
58 |
* Thu Dec 6 2007 Rui Nuno Capela <rncbc@users.sourceforge.net> |
* Thu Dec 6 2007 Rui Nuno Capela <rncbc@users.sourceforge.net> |