Author: jwrdegoede
Update of /cvs/nonfree/rpms/audacious-plugins-nonfree/devel
In directory se02.es.rpmfusion.net:/tmp/cvs-serv11202/devel
Modified Files:
.cvsignore sources
Added Files:
audacious-plugins-nonfree.spec audacious-sid.desktop
Log Message:
Initial audacious-plugins-nonfree import
--- NEW FILE audacious-plugins-nonfree.spec ---
%global aud_plugin_api %(grep '[ ]*#define[ ]*_AUD_PLUGIN_VERSION[ ]\\+'
%{_includedir}/audacious/plugin.h 2>/dev/null | sed 's!.*_AUD_PLUGIN_VERSION[
]*\\([0-9]\\+\\).*!\\1!')
%if 0%{aud_plugin_api} > 0
%global aud_plugin_dep Requires: audacious(plugin-api) = %{aud_plugin_api}
%endif
Name: audacious-plugins-nonfree
Version: 3.0.2
Release: 1%{?dist}
Summary: Audacious media player plugins with non free dependencies
Group: Applications/Multimedia
License: GPLv3
URL:
http://audacious-media-player.org/
Source0:
http://distfiles.atheme.org/audacious-plugins-%{version}.tar.gz
Source1: audacious-sid.desktop
BuildRequires: audacious-devel >= %{version}
BuildRequires: zlib-devel, libxml2-devel, desktop-file-utils >= 0.9
BuildRequires: taglib-devel >= 1.4
BuildRequires: gettext, libbinio-devel
BuildRequires: dbus-devel >= 0.60, dbus-glib-devel >= 0.60
BuildRequires: libsidplay-devel
BuildRequires: sidplay-libs-devel >= 2.1.1-11
Requires(post): desktop-file-utils >= 0.9
Requires(postun): desktop-file-utils >= 0.9
%{?aud_plugin_dep}
# People who have the non free repo enabled and have the audacious sid plugin
# installed likely will want this package's sid plugin which is compiled with
# support for both the free libsidplay v1 and the non free libsidplay v2
Obsoletes: audacious-plugins-sid <= %{version}
# Note we add a .1 to avoid self obsoletion
Provides: audacious-plugins-sid = %{version}.1
%description
This package contains plugins for the Audacious media player which have
non free dependencies.
%prep
%setup -q -n audacious-plugins-%{version}
sed -i '\,^.SILENT:,d' buildsys.mk.in
%build
%configure \
--disable-rpath \
--enable-chardet \
--disable-altivec \
--disable-dependency-tracking
make V=1 %{?_smp_mflags} -C src/sid
%install
make -C src/sid install DESTDIR=$RPM_BUILD_ROOT
desktop-file-install --vendor "" \
--dir $RPM_BUILD_ROOT%{_datadir}/applications \
%{SOURCE1}
find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
%post
update-desktop-database %{_datadir}/applications
%postun
update-desktop-database %{_datadir}/applications
%files
%defattr(-,root,root,-)
%doc COPYING
%{_libdir}/audacious/Input/sid.so
%{_datadir}/applications/audacious-sid.desktop
%changelog
* Wed Sep 7 2011 Hans de Goede <j.w.r.degoede(a)gmail.com> 3.0.2-1
- Initial rpmfusion package
--- NEW FILE audacious-sid.desktop ---
[Desktop Entry]
Name=Audacious
Comment=Play music
Comment[hu]=Zene lejátszása
Exec=audacious
Icon=audacious.png
MimeType=audio/prs.sid;
Categories=GTK;AudioVideo;Player;
Terminal=false
Type=Application
NoDisplay=true
Index: .cvsignore
===================================================================
RCS file: /cvs/nonfree/rpms/audacious-plugins-nonfree/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 27 Sep 2011 22:33:19 -0000 1.1
+++ .cvsignore 3 Nov 2011 11:16:19 -0000 1.2
@@ -0,0 +1 @@
+audacious-plugins-3.0.2.tar.gz
Index: sources
===================================================================
RCS file: /cvs/nonfree/rpms/audacious-plugins-nonfree/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 27 Sep 2011 22:33:19 -0000 1.1
+++ sources 3 Nov 2011 11:16:20 -0000 1.2
@@ -0,0 +1 @@
+cc4dba3d99f3619a1e8e4b945bfeef75 audacious-plugins-3.0.2.tar.gz