c0da2f2
# Minimum audacious/audacious-plugins version in inter-package
12f7f6e
# dependencies. We need 2.4 for both.
12f7f6e
%define aud_ver 2.4
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
ce204fb
Version: 0.4
12f7f6e
Release: 4
fe4d619
URL: http://xmms-fc.sourceforge.net/
69c0174
License: GPLv2+
7693663
Source:	http://downloads.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
5ac5d4c
# applied upstream
e9ec24e
Patch0: audacious-plugin-fc-0.4-unknown-songtime.patch
12f7f6e
#
12f7f6e
Patch1: audacious-plugin-fc-0.4-audacious-2.4.patch
e9ec24e
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
e9ec24e
%patch0 -p1 -b .unknown-songtime
12f7f6e
%patch1 -p1 -b .audacious-2.4
104c19f
fe4d619
fe4d619
%build
fe4d619
%configure
8ecbca5
# temporary work-around for #454364
ce204fb
#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
12f7f6e
* Sat Jun 12 2010 Michael Schwendt <mschwendt@fedoraproject.org> - 0.4-4
12f7f6e
- Patch for Audacious 2.4 API changes.
12f7f6e
85d6f63
* Sun Jan 17 2010 Michael Schwendt <mschwendt@fedoraproject.org> - 0.4-3
85d6f63
- Rebuild for audacious.pc --libs changes.
85d6f63
e9ec24e
* Sat Oct 24 2009 Michael Schwendt <mschwendt@fedoraproject.org> - 0.4-2
e9ec24e
- Set empty/unknown initial songtime instead of 0:00.
e9ec24e
ce204fb
* Fri Oct 23 2009 Michael Schwendt <mschwendt@fedoraproject.org> - 0.4-1
ce204fb
- Upgrade to 0.4 for Audacious 2.2 InputPlugin API changes.
ce204fb
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).