Mercurial > hg > xmms-sid
annotate xmms-sid.spec.in @ 43:3c609b6d5a02
Automagic updating of spec.in-file via configure
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Fri, 20 Jun 2003 01:12:00 +0000 |
parents | c342e8514754 |
children | fd610bb817bc |
rev | line source |
---|---|
11 | 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 | |
43
3c609b6d5a02
Automagic updating of spec.in-file via configure
Matti Hamalainen <ccr@tnsp.org>
parents:
11
diff
changeset
|
18 Requires: @REQUIRE_LIBRARY@ |
11 | 19 |
20 %description | |
21 Input plugin for XMMS to play SID-tunes (C64 music files). | |
43
3c609b6d5a02
Automagic updating of spec.in-file via configure
Matti Hamalainen <ccr@tnsp.org>
parents:
11
diff
changeset
|
22 Requires either libsidplay v1.x or v2.x. Includes good |
3c609b6d5a02
Automagic updating of spec.in-file via configure
Matti Hamalainen <ccr@tnsp.org>
parents:
11
diff
changeset
|
23 configurability (emulation of filters and other SID emulation |
3c609b6d5a02
Automagic updating of spec.in-file via configure
Matti Hamalainen <ccr@tnsp.org>
parents:
11
diff
changeset
|
24 parameters, fileinfo settings...), has STIL-database support, |
3c609b6d5a02
Automagic updating of spec.in-file via configure
Matti Hamalainen <ccr@tnsp.org>
parents:
11
diff
changeset
|
25 song-length database support, etc. |
11 | 26 |
27 %prep | |
28 %setup -q | |
29 | |
30 %build | |
31 export CFLAGS="$RPM_OPT_FLAGS" CPPFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS"; | |
32 | |
33 ./configure \ | |
34 --prefix=%{_prefix} \ | |
35 --sysconfdir=%{_sysconfdir} --bindir=%{_bindir} \ | |
36 --libdir=%{_libdir} --datadir=%{_datadir} \ | |
37 --includedir=%{_includedir} \ | |
38 --enable-subsongsel | |
39 | |
40 gmake | |
41 | |
42 | |
43 %install | |
44 [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT | |
45 gmake PREFIX=$RPM_BUILD_ROOT%{_prefix} \ | |
46 prefix=$RPM_BUILD_ROOT/%{_prefix} \ | |
47 sysconfdir=$RPM_BUILD_ROOT/%{_sysconfdir} \ | |
48 bindir=$RPM_BUILD_ROOT/%{_bindir} \ | |
49 libdir=$RPM_BUILD_ROOT/%{_libdir} \ | |
50 datadir=$RPM_BUILD_ROOT/%{_datadir} \ | |
51 includedir=$RPM_BUILD_ROOT/%{_includedir} install | |
52 | |
53 %post -p /sbin/ldconfig | |
54 %postun -p /sbin/ldconfig | |
55 | |
56 %clean | |
57 [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT; | |
58 | |
59 %files | |
60 %defattr(-, root, root) | |
61 %doc AUTHORS COPYING ChangeLog INSTALL NEWS README* THANKS TODO BUGS | |
62 %{_libdir}/xmms/Input/* |