summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xmms-input-shn.spec10
1 files changed, 5 insertions, 5 deletions
diff --git a/xmms-input-shn.spec b/xmms-input-shn.spec
index adcc45e..53c59af 100644
--- a/xmms-input-shn.spec
+++ b/xmms-input-shn.spec
@@ -2,7 +2,7 @@ Summary: SHN plugin for XMMS
Summary(pl): Wtyczka dla XMMS-a odtwarzająca pliki SHN
Name: xmms-input-shn
Version: 2.2.7
-Release: 0.1
+Release: 0.2
License: SHORTEN SOFTWARE LICENSE
Group: X11/Applications/Sound
Source0: http://www.etree.org/shnutils/xmms-shn/source/xmms-shn-%{version}.tar.gz
@@ -14,12 +14,11 @@ BuildRequires: automake
BuildRequires: glib-devel
BuildRequires: gtk+-devel
BuildRequires: libtool
+BuildRequires: rpmbuild(macros) >= 1.125
BuildRequires: xmms-devel
Requires: xmms
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-%define _xmms_plugin_dir %(xmms-config --input-plugin-dir)
-
%description
This plugin allows XMMS to play SHN files.
@@ -42,7 +41,8 @@ rm -f missing
%install
rm -rf $RPM_BUILD_ROOT
-%{__make} install DESTDIR="$RPM_BUILD_ROOT"
+%{__make} install \
+ DESTDIR="$RPM_BUILD_ROOT"
%clean
rm -rf $RPM_BUILD_ROOT
@@ -50,4 +50,4 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
%doc AUTHORS ChangeLog README NEWS doc/*
-%attr(755,root,root) %{_xmms_plugin_dir}/*
+%attr(755,root,root) %{xmms_input_plugindir}/*