diff --git a/.gitignore b/.gitignore index 974efc6..6c883f0 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,5 @@ exaile-0.3.2.0.tar.gz /exaile-3.3.0.tar.gz /exaile-3.3.1.tar.gz /exaile-3.3.2.tar.gz +/exaile-3.4.2.tar.gz +/exaile-3.4.3.tar.gz diff --git a/exaile-3.3.1-makefile.patch b/exaile-3.3.1-makefile.patch deleted file mode 100644 index 31e22c5..0000000 --- a/exaile-3.3.1-makefile.patch +++ /dev/null @@ -1,31 +0,0 @@ ---- Makefile 2012-11-15 12:28:50.000000000 -0500 -+++ Makefile.new 2012-11-17 07:33:52.334486249 -0500 -@@ -5,7 +5,7 @@ - XDGCONFDIR ?= /etc/xdg - - EXAILEBINDIR = ${DESTDIR}${PREFIX}/bin --EXAILELIBDIR = ${DESTDIR}${PREFIX}${LIBINSTALLDIR}/exaile -+EXAILELIBDIR = ${DESTDIR}${LIBINSTALLDIR}/exaile - EXAILESHAREDIR = ${DESTDIR}${PREFIX}/share/exaile - EXAILECONFDIR = ${DESTDIR}${XDGCONFDIR}/exaile - -@@ -120,7 +120,7 @@ - tools/generate-launcher "${DESTDIR}" "${PREFIX}" "${LIBINSTALLDIR}" \ - "${PYTHON2_CMD}" && \ - chmod 755 ${DESTDIR}${PREFIX}/bin/exaile -- sed "s|\@bindir\@|${EXAILEBINDIR}|" data/org.exaile.Exaile.service.in > \ -+ sed "s|\@bindir\@|${PREFIX}/bin|" data/org.exaile.Exaile.service.in > \ - ${DESTDIR}${PREFIX}/share/dbus-1/services/org.exaile.Exaile.service - ${MAKE} -C plugins install - ---- tools/generate-launcher 2012-11-15 12:28:50.000000000 -0500 -+++ tools/generate-launcher.new 2012-11-17 07:27:37.237377857 -0500 -@@ -34,7 +34,7 @@ - fi - XDG_DATA_DIRS="\${EXAILE_PREFIX}/share/:\${XDG_DATA_DIRS}" - export XDG_DATA_DIRS --exec ${PYTHON2_CMD} \${EXAILE_PREFIX}${LIBDIR}/exaile/exaile.py --datadir=\${EXAILE_PREFIX}/share/exaile/data --startgui ${DEFAULTARGS} "\$@" -+exec ${PYTHON2_CMD} ${LIBDIR}/exaile/exaile.py --datadir=\${EXAILE_PREFIX}/share/exaile/data --startgui ${DEFAULTARGS} "\$@" - exit \$? - - EOF diff --git a/exaile.spec b/exaile.spec index 4a1b3e3..ceabd54 100644 --- a/exaile.spec +++ b/exaile.spec @@ -1,53 +1,54 @@ -Summary: A music player -Name: exaile -Version: 3.3.2 -Release: 2%{?dist} -Group: Applications/Multimedia -License: GPLv2+ -URL: http://www.exaile.org -Source0: http://launchpad.net/exaile/3.3.x/3.3.2/+download/exaile-%{version}.tar.gz -Patch0: exaile-3.3.1-makefile.patch -Patch1: exaile-3.3.2-udisks.patch -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -BuildRequires: pygobject2-devel -BuildRequires: desktop-file-utils -BuildRequires: gettext help2man - -Requires: python-mutagen >= 1.8 -Requires: dbus-python -Requires: gstreamer-python >= 0.10 -Requires: pygtk2 -Requires: pygobject2 -Requires: python-CDDB -Requires: udisks - -BuildArch: noarch +Name: exaile +Version: 3.4.3 +Release: 1%{?dist} +Summary: A simple but powerful Amarok-style music player for GTK users +License: GPLv2+ +URL: http://www.exaile.org +Source0: https://github.com/exaile/exaile/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz +BuildArch: noarch +BuildRequires: desktop-file-utils +BuildRequires: gettext +BuildRequires: help2man +BuildRequires: libappstream-glib +BuildRequires: pygobject2-devel >= 2.18 +Requires: dbus-python +Requires: gstreamer-plugins-good +Requires: gstreamer-python >= 0.10 +Requires: librsvg2 +Requires: pygtk2 >= 2.17 +Requires: pygobject2 >= 2.18 +Requires: python-CDDB +Requires: python-mutagen >= 1.10 +Requires: udisks2 %description -Exaile is a media player aiming to be similar to KDE's AmaroK, but for GTK+. -It incorporates many of the cool things from AmaroK (and other media players) -like automatic fetching of album art, handling of large libraries, lyrics -fetching, artist/album information via the wikipedia, last.fm support, optional -iPod support (assuming you have python-gpod installed). - -In addition, Exaile also includes a built in shoutcast directory browser, -tabbed playlists (so you can have more than one playlist open at a time), -blacklisting of tracks (so they don't get scanned into your library), -downloading of guitar tablature from fretplay.com, and submitting played tracks -on your iPod to last.fm +Exaile is a music player with a simple interface and powerful music +management capabilities. Features include automatic fetching of album art, +lyrics fetching, streaming internet radio, tabbed playlists, smart +playlists with extensive filtering/search capabilities, and much more. + +Exaile is written using Python and GTK+ and is easily extensible via +plugins. There are over 50 plugins distributed with Exaile that include +advanced track tagging, last.fm scrobbling, support for portable media +players, podcasts, internet radio such as icecast and Soma.FM, +ReplayGain, output via a secondary output device (great for DJs!), and +much more. %prep %setup -q -%patch0 -p0 -b .fix -%patch1 -p0 -b .udisk +# Corresponding to: +# 1. Do not silently bytecompile. +# 2. Preserve timestamps. +find . -type f -name "Makefile" -exec \ + sed -i -e 's|compileall -q|compileall|g' \ + -e 's|install -m|install -pm|g' \ +{} + -print %build -make %{?_smp_mflags} - -%install -rm -rf %{buildroot} +%make_build -make install PREFIX=%{_prefix} LIBINSTALLDIR=%{_datadir} DESTDIR=%{buildroot} PYTHON2_CMD=%{_bindir}/python +%install +%make_install PREFIX=%{_prefix} LIBINSTALLDIR=/share PYTHON2_CMD=%{__python2} desktop-file-install --delete-original \ --dir=%{buildroot}%{_datadir}/applications \ @@ -55,21 +56,26 @@ desktop-file-install --delete-original \ %find_lang %{name} -%clean -rm -rf %{buildroot} +%check +appstream-util validate-relax --nonet %{buildroot}%{_datadir}/appdata/*.appdata.xml +#make test %files -f %{name}.lang -%defattr(-,root,root,-) -%doc COPYING +%doc COPYING FUTURE %{_bindir}/exaile -%{_datadir}/applications/*.desktop +%{_datadir}/appdata/exaile.appdata.xml +%{_datadir}/applications/exaile.desktop %{_datadir}/pixmaps/exaile.png %{_datadir}/exaile/ %{_datadir}/dbus-1/services/org.exaile.Exaile.service -%config(noreplace) %{_sysconfdir}/xdg/exaile/ -%{_mandir}/man1/exaile*.* +%dir %{_sysconfdir}/xdg/exaile/ +%config(noreplace) %{_sysconfdir}/xdg/exaile/settings.ini +%{_mandir}/man1/exaile*.1* %changelog +* Fri Jan 09 2015 Christopher Meng - 3.4.3-1 +- Update to 3.4.3 + * Sat Jun 07 2014 Fedora Release Engineering - 3.3.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild diff --git a/sources b/sources index 8f007e3..4404274 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -117994e96065b4f767ac552c80808040 exaile-3.3.2.tar.gz +fce93708264c66d9287e3bbafd803601 exaile-3.4.3.tar.gz