%define plugdir %(xmms-config --input-plugin-dir 2>/dev/null)
Name: xmms-modplug
Version: 2.05
Release: 0.%{mysig}
Summary: Modplug Plugin for XMMS
License: Public Domain
Group: Applications/Multimedia
URL: http://modplug-xmms.sourceforge.net/
Source: http://dl.sf.net/modplug-xmms/modplugxmms-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: xmms-devel, gtk+-devel, gettext, libmodplug-devel >= 1:0.7
BuildConflicts: %{name} < 2.0
Requires: xmms
Provides: modplug-xmms = %{version}-%{release}
%description
Modplug-XMMS is a fully featured, complete input plugin for XMMS which
plays mod-like music formats. It is based on the mod rendering code
from ModPlug, a popular windows mod player written by Olivier
Lapicque, found at .
%package -n modplugplay
Summary: Command line mod player
Group: Applications/Multimedia
%description -n modplugplay
A command line mod player.
%prep
%setup -q -n modplugxmms-%{version}
%build
%configure
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT XMMS_INPUT_PLUGIN_DIR=%{plugdir}
rm -f $RPM_BUILD_ROOT{%{_libdir}/*.la,%{plugdir}/*.la}
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc AUTHORS ChangeLog COPYING README TODO
%{plugdir}/*
%files -n modplugplay
%defattr(-,root,root,-)
%{_bindir}/*
%changelog
* Wed Sep 21 2005 Milan Kerslager 2.05-0.ker.rhel4
- rebuild for RHEL4 (package from FC4 Extras)
* Thu Aug 25 2005 Warren Togami - 2.05-4
- rebuild (#166814)
* Thu May 19 2005 Ville Skyttä - 2.05-3
- Rebuild.
* Fri Apr 7 2005 Michael Schwendt - 2.05-2
- rebuilt
* Fri Oct 17 2003 Ville Skyttä - 0:2.05-0.fdr.1
- Update to 2.05.
- Split libmodplug into its own package.
* Thu Jul 24 2003 Ville Skyttä - 0:2.04-0.fdr.2
- Use libtoolize and friends to fix build on Severn (bug 489).
* Tue May 13 2003 Ville Skyttä - 0:2.04-0.fdr.1
- Update to 2.04.
- No longer requires compat-gcc-c++, builds with GCC 3.2.
- Includes a command line player (in modplugplay subpackage).
- %%{buildroot} -> $RPM_BUILD_ROOT.
* Sun Apr 13 2003 Ville Skyttä - 0:2.03-0.fdr.2
- Change package name to xmms-modplug and provide modplug-xmms (#132).
- Use xmms-config for getting the plugin dir (#132).
* Sat Apr 5 2003 Ville Skyttä - 0:2.03-0.fdr.1
- First Fedora release, based on MDK cooker one.
- Save .spec in UTF-8.
* Tue Mar 11 2003 Götz Waschk 2.03-4mdk
- mklibname macro
* Tue Mar 11 2003 Götz Waschk 2.03-3mdk
- fix buildrequires
* Sat Dec 21 2002 Götz Waschk 2.03-2mdk
- fix build for rpm
- patch1: don't flush output device (compatibility with the crossfader)
* Wed Oct 16 2002 Götz Waschk 2.03-1mdk
- autoconf 2.5 macro
- use included configure script
- 2.03
* Fri Aug 16 2002 Götz Waschk 2.02-3mdk
- gcc 3.2-0.3mdk build
* Mon Jul 29 2002 Götz Waschk 2.02-2mdk
- gcc 3.2 build
* Tue Jul 23 2002 Götz Waschk 2.02-1mdk
- 2.02
- drop pstreams and patch, not needed anymore
- use bugfix patch from the author
- enable nls to make it build
* Tue Jun 18 2002 Götz Waschk 2.01-1mdk
- 2.01
- drop patch1
* Sun Jun 9 2002 Götz Waschk 2.0-2mdk
- gcc 3.1 port (bzip2 and gzip support currently broken)
* Mon Oct 29 2001 Götz Waschk 2.0-1mdk
- split library package
- patched for creating versioned library libmodplug.so.0
- updated files section
- BuildConflicts older modplug-xmms
- 2.0
- changed License tag, now it's Public Domain
* Tue Aug 21 2001 Lenny Cartier 1.5a-3mdk
- too fast
* Tue Aug 21 2001 Lenny Cartier 1.5a-2mdk
- rebuild
* Tue Feb 20 2001 Lenny Cartier 1.5a-1mdk
- udpated by Götz Waschk :
- 1.5a
* Fri Jan 26 2001 Götz Waschk 1.5-1mdk
- 1.5
- gcc 2.96 again
- make rpmlint happy by renaming spec file
* Mon Jan 22 2001 Lenny Cartier 1.3a-1mdk
- uploaded to 1.3
- build with egcs
* Mon Jul 17 2000 Guillaume Cottenceau 1.2-2mdk
- took contributed SRPM from Götz Waschk
- more macros
* Sun Jul 16 2000 Götz Waschk 1.2-1mdk
- initial Mandrake release