c0da2f2
# Minimum audacious/audacious-plugins version in inter-package
a03f7a7
# dependencies. We need 2.1 for both.
c0da2f2
%define aud_ver 2.1
c0da2f2
fe4d619
%define plugindir %(pkg-config audacious --variable=input_plugin_dir)
fe4d619
fe4d619
Summary: Future Composer input plugin for Audacious
fe4d619
Name: audacious-plugin-fc
a03f7a7
Version: 0.4
a03f7a7
Release: 1%{?dist}
fe4d619
URL: http://xmms-fc.sourceforge.net/
69c0174
License: GPLv2+
fe4d619
Source:	http://download.sourceforge.net/xmms-fc/audacious-plugin-fc-%{version}.tar.bz2
fe4d619
Group: Applications/Multimedia
fe4d619
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
c0da2f2
BuildRequires: audacious-devel >= %{aud_ver}
fe4d619
BuildRequires: pkgconfig
a47267b
a47267b
Provides: audacious-plugins-fc = %{version}-%{release}
c0da2f2
Requires: audacious >= %{aud_ver}
fe4d619
a03f7a7
# temporary patch to backport to Audacious 2.1 API
a03f7a7
Patch0: audacious-plugin-fc-0.4-aud21.patch
a03f7a7
a47267b
fe4d619
%description
fe4d619
This is an input plugin for Audacious which can play back Future Composer
fe4d619
music files from AMIGA. Song-length detection and seek are implemented, too.
fe4d619
fe4d619
fe4d619
%prep
fe4d619
%setup -q
a03f7a7
%patch0 -p1 -b .aud21
104c19f
fe4d619
fe4d619
%build
fe4d619
%configure
8ecbca5
# temporary work-around for #454364
a03f7a7
#ln -s Config.h src/config.h
8ecbca5
# ---
fe4d619
make %{?_smp_mflags}
fe4d619
fe4d619
fe4d619
%install
fe4d619
rm -rf $RPM_BUILD_ROOT
fe4d619
make DESTDIR=$RPM_BUILD_ROOT install
fe4d619
fe4d619
fe4d619
%clean
fe4d619
rm -rf $RPM_BUILD_ROOT
fe4d619
fe4d619
fe4d619
%files
fe4d619
%defattr(-,root,root,-)
fe4d619
%doc COPYING README src/FC.README
fe4d619
%{plugindir}/libfc.so
fe4d619
%exclude %{plugindir}/libfc.la
fe4d619
fe4d619
fe4d619
%changelog
a03f7a7
* Sat Oct 24 2009 Michael Schwendt <mschwendt@fedoraproject.org> - 0.4-1
a03f7a7
- Patch temporarily to backport to Audacious 2.1 API.
a03f7a7
a03f7a7
* Fri Oct 23 2009 Michael Schwendt <mschwendt@fedoraproject.org> - 0.4-1
a03f7a7
- Upgrade to 0.4 for Audacious 2.2 InputPlugin API changes.
a03f7a7
a556edb
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3-5
a556edb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
a556edb
c0da2f2
* Sun Jun  7 2009 Michael Schwendt <mschwendt@fedoraproject.org> - 0.3-4
c0da2f2
- Patch for Audacious 2.
c0da2f2
5cd39e9
* Fri Jun  5 2009 Michael Schwendt <mschwendt@fedoraproject.org> - 0.3-3
5cd39e9
- Rebuild for libmowgli SONAME dependency.
5cd39e9
- Add audacious-plugins-fc Provides.
5cd39e9
bd26a6c
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3-2
bd26a6c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
bd26a6c
eedbead
* Thu Oct 16 2008 Michael Schwendt <mschwendt@fedoraproject.org> - 0.3-1
eedbead
- Update to 0.3 for Audacious >= 1.4.0.
eedbead
8ecbca5
* Fri Aug 29 2008 Michael Schwendt <mschwendt@fedoraproject.org> - 0.2-7
8ecbca5
- in %%build add work-around for #454364 (libSAD API headers are broken)
8ecbca5
cc75047
* Fri Feb 08 2008 Michael Schwendt <mschwendt@fedoraproject.org>
cc75047
- rebuilt for GCC 4.3 as requested by Fedora Release Engineering
cc75047
2927dc7
* Wed Nov 21 2007 Michael Schwendt <mschwendt@fedoraproject.org> - 0.2-5
104c19f
- patch for new API
90c0a9b
- rebuilt for SONAME changes in Audacious 1.4.x
90c0a9b
2927dc7
* Tue Aug 21 2007 Michael Schwendt <mschwendt@fedoraproject.org>
e4ddfdf
- rebuilt
e4ddfdf
2927dc7
* Thu Aug  2 2007 Michael Schwendt <mschwendt@fedoraproject.org> - 0.2-2
69c0174
- clarify licence (GPLv2+)
69c0174
2927dc7
* Thu Mar  8 2007 Michael Schwendt <mschwendt@fedoraproject.org> - 0.2-1
fe4d619
- Upstream update to 0.2 for Audacious >= 1.3.0.
fe4d619
2927dc7
* Thu Jan 18 2007 Michael Schwendt <mschwendt@fedoraproject.org> - 0.1-2
fe4d619
- Initial package submission for Fedora Package Review (#222648).