Mercurial > hg > xmms-sid
comparison xmms-sid.spec.in @ 133:79a526595d16
Fixed spec-file generation and errors in the specfile.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Fri, 16 Jan 2004 05:47:05 +0000 |
parents | f69fa2496512 |
children | 2ae878523164 |
comparison
equal
deleted
inserted
replaced
132:4162a5370b9e | 133:79a526595d16 |
---|---|
1 ########################################################### | 1 ########################################################### |
2 %define name @PACKAGE@ | 2 %define name @PACKAGE@ |
3 %define version @VERSION@ | 3 %define version @VERSION@ |
4 %define release 1 | 4 %define release 1 |
5 %define plugindir `xmms-config --input-plugin-dir` | |
5 | 6 |
6 Summary: A SID-tune (C64 music) input plugin for XMMS | 7 Summary: A SID-tune (C64 music) input plugin for XMMS |
7 Name: %{name} | 8 Name: %{name} |
8 Version: %{version} | 9 Version: %{version} |
9 Release: %{release} | 10 Release: %{release} |
11 Group: Applications/Multimedia | 12 Group: Applications/Multimedia |
12 Vendor: Matti "ccr/TNSP" Hamalainen <ccr@tnsp.org> | 13 Vendor: Matti "ccr/TNSP" Hamalainen <ccr@tnsp.org> |
13 Url: http://www.tnsp.org/xmms-sid.php | 14 Url: http://www.tnsp.org/xmms-sid.php |
14 Source: http://www.tnsp.org/xs-files/%{name}-%{version}.tar.gz | 15 Source: http://www.tnsp.org/xs-files/%{name}-%{version}.tar.gz |
15 BuildRoot: %{_tmppath}/%{name}-%{version}-root | 16 BuildRoot: %{_tmppath}/%{name}-%{version}-root |
17 BuildRequires: xmms-devel >= @XMMS_VERSION@ | |
16 Requires: gtk+ >= 1.2.8, glib >= 1.2.8, xmms >= @XMMS_VERSION@ | 18 Requires: gtk+ >= 1.2.8, glib >= 1.2.8, xmms >= @XMMS_VERSION@ |
17 Requires: @REQUIRE_LIBRARY@ | |
18 | 19 |
19 ########################################################### | 20 ########################################################### |
20 %description | 21 %description |
21 Input plugin for XMMS to play SID-tunes (Music from Commodore | 22 Input plugin for XMMS to play SID-tunes (Music from Commodore |
22 64 games/demos/etc.). Supports either (or both) libSIDPlay | 23 64 games/demos/etc.). Supports either (or both) libSIDPlay |
37 %setup -q | 38 %setup -q |
38 | 39 |
39 ########################################################### | 40 ########################################################### |
40 %build | 41 %build |
41 export CFLAGS="$RPM_OPT_FLAGS" CPPFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS"; | 42 export CFLAGS="$RPM_OPT_FLAGS" CPPFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS"; |
42 %configure | 43 %configure --libdir=%{plugindir} |
43 make | 44 make |
44 | 45 |
45 ########################################################### | 46 ########################################################### |
46 %install | 47 %install |
47 [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT | 48 [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT |
48 %makeinstall | 49 %makeinstall libdir=$RPM_BUILD_ROOT/%{plugindir} |
49 | 50 |
50 ########################################################### | 51 ########################################################### |
51 %post -p /sbin/ldconfig | 52 %post -p /sbin/ldconfig |
52 | 53 |
53 ########################################################### | 54 ########################################################### |
59 | 60 |
60 ########################################################### | 61 ########################################################### |
61 %files | 62 %files |
62 %defattr(-, root, root) | 63 %defattr(-, root, root) |
63 %doc AUTHORS COPYING FAQ NEWS README* THANKS TODO BUGS | 64 %doc AUTHORS COPYING FAQ NEWS README* THANKS TODO BUGS |
64 %{_libdir}/xmms/Input/*.so | 65 / |