Mercurial > hg > xmms-sid
diff 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 |
line wrap: on
line diff
--- a/xmms-sid.spec.in Fri Jan 16 02:53:02 2004 +0000 +++ b/xmms-sid.spec.in Fri Jan 16 05:47:05 2004 +0000 @@ -2,6 +2,7 @@ %define name @PACKAGE@ %define version @VERSION@ %define release 1 +%define plugindir `xmms-config --input-plugin-dir` Summary: A SID-tune (C64 music) input plugin for XMMS Name: %{name} @@ -13,8 +14,8 @@ Url: http://www.tnsp.org/xmms-sid.php Source: http://www.tnsp.org/xs-files/%{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-root +BuildRequires: xmms-devel >= @XMMS_VERSION@ Requires: gtk+ >= 1.2.8, glib >= 1.2.8, xmms >= @XMMS_VERSION@ -Requires: @REQUIRE_LIBRARY@ ########################################################### %description @@ -39,13 +40,13 @@ ########################################################### %build export CFLAGS="$RPM_OPT_FLAGS" CPPFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS"; -%configure +%configure --libdir=%{plugindir} make ########################################################### %install [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT -%makeinstall +%makeinstall libdir=$RPM_BUILD_ROOT/%{plugindir} ########################################################### %post -p /sbin/ldconfig @@ -61,4 +62,4 @@ %files %defattr(-, root, root) %doc AUTHORS COPYING FAQ NEWS README* THANKS TODO BUGS -%{_libdir}/xmms/Input/*.so +/