Mercurial > hg > xmms-sid
comparison xmms-sid.spec.in @ 11:c342e8514754
And more...
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Wed, 04 Jun 2003 13:47:02 +0000 |
parents | |
children | 3c609b6d5a02 |
comparison
equal
deleted
inserted
replaced
10:364fe4a69c2b | 11:c342e8514754 |
---|---|
1 %define name @PACKAGE@ | |
2 %define version @VERSION@ | |
3 %define release 1 | |
4 %define serial 1 | |
5 | |
6 Summary: XMMS-SID - SIDPlay plugin for XMMS | |
7 Name: %{name} | |
8 Version: %{version} | |
9 Release: %{release} | |
10 Serial: %{serial} | |
11 Copyright: GPL | |
12 Group: Applications/Multimedia | |
13 Vendor: Matti "ccr/TNSP" Hamalainen <ccr@tnsp.org> | |
14 Url: http://www.tnsp.org/xmms-sid.php | |
15 Source: %{name}-%{version}.tar.gz | |
16 BuildRoot: %{_tmpdir}/%{name}-%{version}-root | |
17 Requires: gtk+ >= 1.2.8, glib >= 1.2.8, xmms >= 1.2.0 | |
18 Requires: libsidplay.so.1 | |
19 | |
20 %description | |
21 Input plugin for XMMS to play SID-tunes (C64 music files). | |
22 Requires libsidplay v1.x, but optionally supports also | |
23 libsidplay 2.x. Includes good configurability (configurable | |
24 emulation of filters and other SID emulation parameters, | |
25 fileinfo settings...), STIL-database support, song-length | |
26 detection mechanism (several options), etc. | |
27 | |
28 %prep | |
29 %setup -q | |
30 | |
31 %build | |
32 export CFLAGS="$RPM_OPT_FLAGS" CPPFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS"; | |
33 | |
34 ./configure \ | |
35 --prefix=%{_prefix} \ | |
36 --sysconfdir=%{_sysconfdir} --bindir=%{_bindir} \ | |
37 --libdir=%{_libdir} --datadir=%{_datadir} \ | |
38 --includedir=%{_includedir} \ | |
39 --enable-subsongsel | |
40 | |
41 gmake | |
42 | |
43 | |
44 %install | |
45 [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT | |
46 gmake PREFIX=$RPM_BUILD_ROOT%{_prefix} \ | |
47 prefix=$RPM_BUILD_ROOT/%{_prefix} \ | |
48 sysconfdir=$RPM_BUILD_ROOT/%{_sysconfdir} \ | |
49 bindir=$RPM_BUILD_ROOT/%{_bindir} \ | |
50 libdir=$RPM_BUILD_ROOT/%{_libdir} \ | |
51 datadir=$RPM_BUILD_ROOT/%{_datadir} \ | |
52 includedir=$RPM_BUILD_ROOT/%{_includedir} install | |
53 | |
54 %post -p /sbin/ldconfig | |
55 %postun -p /sbin/ldconfig | |
56 | |
57 %clean | |
58 [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT; | |
59 | |
60 %files | |
61 %defattr(-, root, root) | |
62 %doc AUTHORS COPYING ChangeLog INSTALL NEWS README* THANKS TODO BUGS | |
63 %{_libdir}/xmms/Input/* |