|
|
1f342aa |
# Minimum audacious/audacious-plugins version in inter-package
|
|
|
7bfa7cb |
# dependencies.
|
|
|
d91f74f |
# We enforce 2.4 as 2.2 or older is insufficient.
|
|
|
d91f74f |
%define aud_ver 2.4
|
|
|
313574f |
|
|
|
7bfa7cb |
Name: audacious
|
|
|
d91f74f |
Version: 2.4
|
|
|
2057907 |
Release: 0.4.alpha2%{?dist}
|
|
|
1221afa |
|
|
|
7bfa7cb |
License: GPLv3
|
|
|
7bfa7cb |
Summary: GTK2 based media player similar to XMMS
|
|
|
7bfa7cb |
URL: http://audacious-media-player.org/
|
|
|
7bfa7cb |
Group: Applications/Multimedia
|
|
|
a2d195f |
|
|
|
ff855de |
Source0: http://distfiles.atheme.org/audacious-%{version}-alpha2.tgz
|
|
|
d91f74f |
|
|
|
d91f74f |
# only for --help
|
|
|
d91f74f |
Patch1: audacious-2.4-doc-enqueue.patch
|
|
|
57357ef |
|
|
|
7bfa7cb |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
e1b0842 |
|
|
|
7bfa7cb |
BuildRequires: gettext
|
|
|
7bfa7cb |
BuildRequires: glib2-devel
|
|
|
7bfa7cb |
BuildRequires: gtk2-devel
|
|
|
7bfa7cb |
BuildRequires: libmowgli-devel
|
|
|
7bfa7cb |
BuildRequires: mcs-devel
|
|
|
7bfa7cb |
BuildRequires: libxml2-devel
|
|
|
7bfa7cb |
BuildRequires: dbus-devel dbus-glib-devel
|
|
|
7bfa7cb |
BuildRequires: libSM-devel
|
|
|
7bfa7cb |
BuildRequires: desktop-file-utils
|
|
|
e1b0842 |
|
|
|
7bfa7cb |
# The automatic SONAME dependency is not enough
|
|
|
7bfa7cb |
# during version upgrades.
|
|
|
7bfa7cb |
Requires: audacious-libs = %{version}-%{release}
|
|
|
a2d195f |
|
|
|
7bfa7cb |
Requires: audacious-plugins >= %{aud_ver}
|
|
|
f78e990 |
Requires: hicolor-icon-theme
|
|
|
a2d195f |
|
|
|
7bfa7cb |
# Skin packages can require this from xmms and all GUI compatible players
|
|
|
7bfa7cb |
Provides: xmms-gui
|
|
|
7bfa7cb |
|
|
|
7bfa7cb |
%description
|
|
|
7bfa7cb |
Audacious is a media player that currently uses a skinned user interface
|
|
|
adde155 |
(based on Winamp 2.x skins) as well as a separate GTK2 based front end.
|
|
|
adde155 |
Historically, it started as a fork of Beep Media Player (BMP), which
|
|
|
adde155 |
itself forked from XMMS.
|
|
|
a2d195f |
|
|
|
a2d195f |
|
|
|
7bfa7cb |
%package libs
|
|
|
7bfa7cb |
Summary: Library files for the Audacious media player
|
|
|
7bfa7cb |
Group: System Environment/Libraries
|
|
|
a2d195f |
|
|
|
7bfa7cb |
%description libs
|
|
|
7bfa7cb |
Library files for the Audacious media player.
|
|
|
a2d195f |
|
|
|
6e0b156 |
|
|
|
7bfa7cb |
%package devel
|
|
|
7bfa7cb |
Summary: Development files for the Audacious media player
|
|
|
7bfa7cb |
Group: Development/Libraries
|
|
|
7bfa7cb |
Requires: %{name}-libs = %{version}-%{release}
|
|
|
7bfa7cb |
Requires: glib2-devel gtk2-devel
|
|
|
7bfa7cb |
Requires: dbus-glib-devel
|
|
|
7bfa7cb |
Requires: mcs-devel
|
|
|
7bfa7cb |
Requires: libmowgli-devel
|
|
|
7bfa7cb |
Requires: pkgconfig
|
|
|
bf80c03 |
|
|
|
7bfa7cb |
%description devel
|
|
|
7bfa7cb |
Files needed when building software for the Audacious media player.
|
|
|
bf80c03 |
|
|
|
7bfa7cb |
|
|
|
7bfa7cb |
%prep
|
|
|
ff855de |
%setup -q -n %{name}-%{version}-alpha2
|
|
|
1f342aa |
sed -i '\,^.SILENT:,d' buildsys.mk.in
|
|
|
d91f74f |
%patch1 -p1 -b .doc-enqueue
|
|
|
20998a0 |
|
|
|
adde155 |
# From .desktop files remove MIME types the base build of the
|
|
|
adde155 |
# Fedora audacious-plugins package does not understand.
|
|
|
adde155 |
for t in \
|
|
|
adde155 |
audio/mp3 \
|
|
|
adde155 |
audio/mpeg \
|
|
|
adde155 |
audio/mpegurl \
|
|
|
adde155 |
audio/x-mp3 \
|
|
|
adde155 |
audio/x-mpeg \
|
|
|
adde155 |
audio/x-mpegurl \
|
|
|
adde155 |
audio/x-ms-wma \
|
|
|
adde155 |
audio/x-musepack \
|
|
|
adde155 |
audio/prs.sid \
|
|
|
adde155 |
; do
|
|
|
adde155 |
for f in audacious2.desktop audacious2-gtkui.desktop ; do
|
|
|
adde155 |
cp ${f} ${f}.old
|
|
|
adde155 |
sed -i "s!${t};!!g" $f
|
|
|
adde155 |
diff -u ${f}.old ${f} || :
|
|
|
adde155 |
rm -f ${f}.old
|
|
|
adde155 |
done
|
|
|
adde155 |
done
|
|
|
adde155 |
|
|
|
adde155 |
|
|
|
a2d195f |
%build
|
|
|
7bfa7cb |
%configure \
|
|
|
53c3db9 |
--with-buildstamp="Fedora package" \
|
|
|
7bfa7cb |
--disable-sse2 \
|
|
|
e1b0842 |
--disable-rpath \
|
|
|
e1b0842 |
--disable-dependency-tracking
|
|
|
1f342aa |
make %{?_smp_mflags}
|
|
|
a2d195f |
|
|
|
a2d195f |
|
|
|
a2d195f |
%install
|
|
|
a2d195f |
rm -rf $RPM_BUILD_ROOT
|
|
|
1f342aa |
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
|
|
|
7bfa7cb |
find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
|
|
|
7bfa7cb |
|
|
|
a2d195f |
%find_lang %{name}
|
|
|
a2d195f |
|
|
|
7bfa7cb |
desktop-file-install \
|
|
|
7bfa7cb |
--dir $RPM_BUILD_ROOT%{_datadir}/applications \
|
|
|
7bfa7cb |
--remove-mime-type audio/mp3 \
|
|
|
7bfa7cb |
--remove-mime-type audio/mpeg \
|
|
|
7bfa7cb |
--remove-mime-type audio/mpegurl \
|
|
|
7bfa7cb |
--remove-mime-type audio/x-mp3 \
|
|
|
7bfa7cb |
--remove-mime-type audio/x-mpeg \
|
|
|
7bfa7cb |
--remove-mime-type audio/x-mpegurl \
|
|
|
7bfa7cb |
--remove-mime-type audio/x-ms-wma \
|
|
|
7bfa7cb |
--remove-mime-type audio/x-scpls \
|
|
|
7bfa7cb |
--remove-category Application \
|
|
|
5904fd5 |
--add-category AudioVideo \
|
|
|
7bfa7cb |
$RPM_BUILD_ROOT%{_datadir}/applications/audacious2.desktop
|
|
|
a2d195f |
|
|
|
1f342aa |
|
|
|
a2d195f |
%clean
|
|
|
a2d195f |
rm -rf $RPM_BUILD_ROOT
|
|
|
a2d195f |
|
|
|
a2d195f |
|
|
|
a2d195f |
%post
|
|
|
1f342aa |
update-desktop-database &> /dev/null || :
|
|
|
f78e990 |
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
|
|
|
a2d195f |
|
|
|
a2d195f |
%postun
|
|
|
f78e990 |
if [ $1 -eq 0 ] ; then
|
|
|
f78e990 |
touch --no-create %{_datadir}/icons/hicolor &>/dev/null
|
|
|
f78e990 |
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|
|
f78e990 |
fi
|
|
|
1f342aa |
update-desktop-database &> /dev/null || :
|
|
|
1f342aa |
|
|
|
e1b0842 |
%post libs -p /sbin/ldconfig
|
|
|
e1b0842 |
|
|
|
e1b0842 |
%postun libs -p /sbin/ldconfig
|
|
|
e1b0842 |
|
|
|
f78e990 |
%posttrans
|
|
|
f78e990 |
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|
|
f78e990 |
|
|
|
a2d195f |
|
|
|
a2d195f |
%files -f %{name}.lang
|
|
|
a2d195f |
%defattr(-,root,root,-)
|
|
|
045b237 |
%doc AUTHORS COPYING NEWS README
|
|
|
7bfa7cb |
%{_bindir}/audacious2
|
|
|
e7106df |
%{_bindir}/audacious
|
|
|
7bfa7cb |
%{_bindir}/audtool2
|
|
|
e7106df |
%{_bindir}/audtool
|
|
|
1f342aa |
%{_datadir}/audacious/
|
|
|
a2d195f |
%{_mandir}/man[^3]/*
|
|
|
7bfa7cb |
%{_datadir}/applications/*.desktop
|
|
|
d91f74f |
%{_datadir}/pixmaps/*
|
|
|
f78e990 |
%{_datadir}/icons/hicolor/*/apps/%{name}*.*
|
|
|
a2d195f |
|
|
|
e1b0842 |
%files libs
|
|
|
e1b0842 |
%defattr(-,root,root,-)
|
|
|
2057907 |
# license file included also in this subpkg
|
|
|
2057907 |
# for Fedora Licensing Guidelines change (2010-07-07)
|
|
|
2057907 |
%doc COPYING
|
|
|
e1b0842 |
%{_libdir}/*.so.*
|
|
|
e1b0842 |
|
|
|
a2d195f |
%files devel
|
|
|
a2d195f |
%defattr(-,root,root,-)
|
|
|
1f342aa |
%{_includedir}/audacious/
|
|
|
7bfa7cb |
%{_includedir}/libaudcore/
|
|
|
b521d1a |
%{_includedir}/libaudgui/
|
|
|
a2d195f |
%{_libdir}/*.so
|
|
|
7bfa7cb |
%{_libdir}/pkgconfig/*.pc
|
|
|
a2d195f |
|
|
|
a2d195f |
|
|
|
a2d195f |
%changelog
|
|
|
2057907 |
* Thu Jul 8 2010 Michael Schwendt <mschwendt@fedoraproject.org> - 2.4-0.4.alpha2
|
|
|
2057907 |
- Include license file also in the -libs subpackage
|
|
|
2057907 |
for Fedora Licensing Guidelines change (2010-07-07).
|
|
|
2057907 |
|
|
|
ff855de |
* Tue Jun 29 2010 Michael Schwendt <mschwendt@fedoraproject.org> - 2.4-0.3.alpha2
|
|
|
f78e990 |
- Update scriptlets for hicolor icon maintenance.
|
|
|
ff855de |
- Update to alpha2.
|
|
|
ff855de |
|
|
|
53c3db9 |
* Sat Jun 12 2010 Michael Schwendt <mschwendt@fedoraproject.org> - 2.4-0.2.alpha1
|
|
|
53c3db9 |
- Use --with-buildstamp.
|
|
|
53c3db9 |
|
|
|
d91f74f |
* Wed Jun 9 2010 Michael Schwendt <mschwendt@fedoraproject.org> - 2.4-0.1.alpha1
|
|
|
d91f74f |
- Drop obsolete BR libsamplerate-devel and --enable-samplerate.
|
|
|
d91f74f |
- Upgrade to 2.4 alpha1.
|
|
|
d91f74f |
|
|
|
03420b6 |
* Wed Jun 9 2010 Michael Schwendt <mschwendt@fedoraproject.org> - 2.2-16
|
|
|
03420b6 |
- Enhance the coverart patch to not crash in URI conversion (#602113).
|
|
|
03420b6 |
|
|
|
cdb18ef |
* Fri Apr 16 2010 Michael Schwendt <mschwendt@fedoraproject.org> - 2.2-15
|
|
|
cdb18ef |
- Fix manual and --help for options -e/-E (#581394 and AUD-174).
|
|
|
cdb18ef |
|
|
|
a31b34d |
* Sat Mar 20 2010 Michael Schwendt <mschwendt@fedoraproject.org> - 2.2-14
|
|
|
a31b34d |
- Unescape filename uri in fileinfo dialog to avoid g_markup crash (#575387).
|
|
|
a31b34d |
|
|
|
0173565 |
* Sat Mar 6 2010 Michael Schwendt <mschwendt@fedoraproject.org> - 2.2-13
|
|
|
0173565 |
- Enhance the coverart patch to not display an empty filename for
|
|
|
0173565 |
streams when title isn't known yet and filename isn't either.
|
|
|
0173565 |
|
|
|
d7dee5c |
* Mon Feb 15 2010 Michael Schwendt <mschwendt@fedoraproject.org> - 2.2-12
|
|
|
d7dee5c |
- Fix album cover art image loader (which cannot handle vfs URIs).
|
|
|
d7dee5c |
|
|
|
42fff6b |
* Sat Feb 13 2010 Michael Schwendt <mschwendt@fedoraproject.org> - 2.2-11
|
|
|
42fff6b |
- Explicitly link with libm because of:
|
|
|
42fff6b |
http://fedoraproject.org/wiki/Features/ChangeInImplicitDSOLinking
|
|
|
42fff6b |
|
|
|
f7171ff |
* Thu Jan 28 2010 Michael Schwendt <mschwendt@fedoraproject.org> - 2.2-10
|
|
|
f7171ff |
- Fix tuple_copy() further (it was completely broken as the mowgli
|
|
|
f7171ff |
dict wasn't copied at all).
|
|
|
f7171ff |
|
|
|
490414b |
* Thu Jan 28 2010 Michael Schwendt <mschwendt@fedoraproject.org> - 2.2-9
|
|
|
490414b |
- Let set_tuple_cb() work on a copied tuple
|
|
|
490414b |
(the metadata updates flood is too racy IMO).
|
|
|
490414b |
- Fix tuple_copy().
|
|
|
490414b |
|
|
|
00e9481 |
* Wed Jan 27 2010 Michael Schwendt <mschwendt@fedoraproject.org> - 2.2-8
|
|
|
00e9481 |
- Change build_stamp from "UNSUPPORTED VERSION" to "Fedora package".
|
|
|
5904fd5 |
- Always add category AudioVideo to .desktop file for safety reasons.
|
|
|
00e9481 |
|
|
|
9a9ca67 |
* Sat Jan 23 2010 Michael Schwendt <mschwendt@fedoraproject.org> - 2.2-7
|
|
|
9a9ca67 |
- Patch filename_find_decoder to probe a file if multiple decoders
|
|
|
9a9ca67 |
compete with eachother to handle files with the same extension.
|
|
|
9a9ca67 |
This also merges the 2nd chunk of the disabled-iplugins patch.
|
|
|
9a9ca67 |
|
|
|
0fa4601 |
* Sun Jan 17 2010 Michael Schwendt <mschwendt@fedoraproject.org> - 2.2-6
|
|
|
0fa4601 |
- In audacious.pc link with -laudcore instead of -laudclient (AUD-125).
|
|
|
0fa4601 |
This removes a superfluous libaudclient dependency from all plugins and
|
|
|
0fa4601 |
adds a libaudcore dependency. So far, plugins that use libaudcore
|
|
|
0fa4601 |
had undefined symbols instead.
|
|
|
0fa4601 |
|
|
|
0f35256 |
* Thu Jan 7 2010 Michael Schwendt <mschwendt@fedoraproject.org> - 2.2-5
|
|
|
0f35256 |
- Apply fix for seeking to -1 milliseconds, causing a hangup (AUD-99).
|
|
|
0f35256 |
|
|
|
7d3e972 |
* Thu Dec 31 2009 Michael Schwendt <mschwendt@fedoraproject.org> - 2.2-4
|
|
|
7d3e972 |
- Added another fix to the disabled-iplugins patch.
|
|
|
7d3e972 |
|
|
|
c57be77 |
* Wed Dec 30 2009 Michael Schwendt <mschwendt@fedoraproject.org> - 2.2-3
|
|
|
c57be77 |
- Patch Audacious so that filename_find_decoder only considers
|
|
|
c57be77 |
enabled input plugins (disabled modplug plugin effectively disabled
|
|
|
c57be77 |
also the xmp plugin).
|
|
|
c57be77 |
|
|
|
adde155 |
* Wed Dec 2 2009 Michael Schwendt <mschwendt@fedoraproject.org> - 2.2-2
|
|
|
adde155 |
- Drop Musepack and SID MIME types from desktop files. As of Audacious 2.2,
|
|
|
adde155 |
Musepack is only supported by the separate "ffaudio" plugin. The SID
|
|
|
adde155 |
plugin in a separate subpackage provides its own desktop file.
|
|
|
adde155 |
- Drop unsupported MIME types from desktop files.
|
|
|
adde155 |
|
|
|
6c2eeb7 |
* Wed Nov 25 2009 Michael Schwendt <mschwendt@fedoraproject.org> - 2.2-1
|
|
|
6c2eeb7 |
- Upgrade to 2.2 (declared as the next "stable release" after 2.1).
|
|
|
6c2eeb7 |
|
|
|
55d62c1 |
* Tue Nov 10 2009 Michael Schwendt <mschwendt@fedoraproject.org> - 2.2-0.1.beta2
|
|
|
55d62c1 |
- Upgrade to 2.2-beta2
|
|
|
55d62c1 |
|
|
|
b521d1a |
* Thu Oct 22 2009 Michael Schwendt <mschwendt@fedoraproject.org> - 2.2-0.1.beta1
|
|
|
b521d1a |
- Upgrade to 2.2-beta1
|
|
|
b521d1a |
|
|
|
b521d1a |
* Sun Oct 18 2009 Michael Schwendt <mschwendt@fedoraproject.org> - 2.2-0.1.alpha2
|
|
|
b521d1a |
- Upgrade to 2.2-alpha2
|
|
|
b521d1a |
|
|
|
b521d1a |
* Sun Sep 20 2009 Michael Schwendt <mschwendt@fedoraproject.org> - 2.2-0.1.alpha1
|
|
|
b521d1a |
- Upgrade to 2.2-alpha1 (primarly for alsa-gapless output plugin).
|
|
|
b521d1a |
- /usr/bin/audacious and /usr/bin/audtool compatibility links are now
|
|
|
b521d1a |
provided officially by upstream.
|
|
|
b521d1a |
|
|
|
e7106df |
* Sun Sep 20 2009 Michael Schwendt <mschwendt@fedoraproject.org> - 2.1-5
|
|
|
e7106df |
- /usr/bin/audacious and /usr/bin/audtool compatibility links are
|
|
|
e7106df |
provided officially by upstream within 2.2-alpha1.
|
|
|
e7106df |
|
|
|
b2ebaea |
* Sat Sep 12 2009 Michael Schwendt <mschwendt@fedoraproject.org> - 2.1-4
|
|
|
b2ebaea |
- Build with --enable-samplerate (off by default), BR libsamplerate-devel
|
|
|
b2ebaea |
|
|
|
57357ef |
* Mon Aug 24 2009 Michael Schwendt <mschwendt@fedoraproject.org> - 2.1-3
|
|
|
57357ef |
- Default to PulseAudio output plugin: Fix pluginenum.c indentation
|
|
|
57357ef |
to make output plugin default/priority init work. Actually, when I
|
|
|
57357ef |
noticed this bug, I went a step further and copied a rewrite from
|
|
|
57357ef |
upstream devel scm.
|
|
|
57357ef |
|
|
|
8a78e76 |
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1-2
|
|
|
8a78e76 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
8a78e76 |
|
|
|
7bfa7cb |
* Tue Jul 14 2009 Michael Schwendt <mschwendt@fedoraproject.org> - 2.1-1
|
|
|
7bfa7cb |
- Upgrade to 2.1 final.
|
|
|
a2d195f |
|
|
|
7bfa7cb |
* Mon Jun 29 2009 Michael Schwendt <mschwendt@fedoraproject.org> - 2.1-0.1.beta1
|
|
|
7bfa7cb |
- Upgrade to 2.1beta1.
|
|
|
7bfa7cb |
- Drop obsolete patches.
|
|
|
a2d195f |
|
|
|
7bfa7cb |
* Fri Jun 5 2009 Michael Schwendt <mschwendt@fedoraproject.org> - 2.0.1-0.1
|
|
|
7bfa7cb |
- Initial package for Audacious 2.0.1
|
|
|
7bfa7cb |
based on a major spec overhaul of the older Fedora packages.
|