Name: picard Version: 1.4.2 Release: 4%{?dist} Summary: MusicBrainz-based audio tagger License: GPLv2+ URL: http://picard.musicbrainz.org/ Source0: ftp://ftp.musicbrainz.org/pub/musicbrainz/picard/picard-%{version}.tar.gz BuildRequires: desktop-file-utils BuildRequires: gettext BuildRequires: libofa-devel BuildRequires: PyQt4 BuildRequires: PyQt4-webkit BuildRequires: python2-devel BuildRequires: python-mutagen Requires: hicolor-icon-theme Requires: PyQt4 Requires: PyQt4-webkit Requires: python-mutagen >= 1.20 Requires: python-libdiscid %if 0%{?rhel} ExcludeArch: ppc64 %endif %description Picard is an audio tagging application using data from the MusicBrainz database. The tagger is album or release oriented, rather than track-oriented. %prep %setup -qn picard-release-%{version} %build %{__python2} setup.py config env CFLAGS="%{optflags}" %{__python2} setup.py build %install %{__python2} setup.py install -O1 --skip-build --root=%{buildroot} desktop-file-install \ --delete-original --remove-category="Application" \ --dir=%{buildroot}%{_datadir}/applications \ %{buildroot}%{_datadir}/applications/* %find_lang %{name} %find_lang %{name}-attributes %find_lang %{name}-countries %check ## disable tests for the moment %{?_with_check:%{__python2} setup.py test || :} %post touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : %postun if [ $1 -eq 0 ] ; then touch --no-create %{_datadir}/icons/hicolor &>/dev/null gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : fi %posttrans gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %files -f %{name}.lang -f %{name}-attributes.lang -f %{name}-countries.lang %doc AUTHORS.txt NEWS.txt %license COPYING.txt %{_bindir}/picard %{_datadir}/applications/picard.desktop %{_datadir}/icons/hicolor/*/apps/picard.* %{python2_sitearch}/*egg-info %{python2_sitearch}/picard/ %changelog * Fri Jul 13 2018 Fedora Release Engineering - 1.4.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Tue Jul 03 2018 Oliver Haessler - 1.4.2-3 - Exclude arch ppc64 in EPEL, as we are missing the python-mutagen rpm for ppc64 * Tue Jul 03 2018 Oliver Haessler - 1.4.2-2 - corrected Source url to ftp:// as otherwise we get a 404 error * Mon Jul 02 2018 Tim Jackson - 1.4.2-1 - Update to 1.4.2 * Fri Feb 09 2018 Fedora Release Engineering - 1.3.2-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Aug 03 2017 Fedora Release Engineering - 1.3.2-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 1.3.2-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sat Feb 11 2017 Fedora Release Engineering - 1.3.2-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Tue Jul 19 2016 Fedora Release Engineering - 1.3.2-6 - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages * Wed Mar 02 2016 Rex Dieter 1.3.2-5 - Requires: PyQt4-webkit * Thu Feb 04 2016 Fedora Release Engineering - 1.3.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Thu Jun 18 2015 Fedora Release Engineering - 1.3.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Mon Mar 23 2015 Ville Skyttä - 1.3.2-2 - Require python-libdiscid instead of libdiscid * Tue Feb 03 2015 Christopher Meng - 1.3.2-1 - Update to 1.3.2 * Sun Aug 17 2014 Fedora Release Engineering - 1.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sat Jun 07 2014 Fedora Release Engineering - 1.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sun Aug 04 2013 Fedora Release Engineering - 1.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Sun Apr 7 2013 Alex Lancaster - 1.2-1 - Update to latest upstream (1.2) - Remove cover art plugin, now in core package * Wed Mar 6 2013 Toshio Kuratomi - 1.1-3 - Remove vendor prefix from desktop files in F19+ https://fedorahosted.org/fesco/ticket/1077 * Thu Feb 14 2013 Fedora Release Engineering - 1.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Sat Nov 17 2012 Alex Lancaster - 1.1-1 - Update to upstream 1.1 (#854142) * Sat Jul 21 2012 Fedora Release Engineering - 1.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Mon Jun 4 2012 Alex Lancaster - 1.0-1 - Update to latest upstream 1.0 (#827880) - Use versions of plugins now distributed in contrib/plugins - Update BR for PyQt >= 4.6 (#757398) - Drop obsolete conditional in %%files (#757234) * Sat Jan 14 2012 Fedora Release Engineering - 0.16-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Mon Nov 14 2011 Alex Lancaster - 0.16-1 - Update to 0.16 - Update plugins, add titlesort, titleversion plugins. * Sun Aug 21 2011 Alex Lancaster - 0.15.1-1 - Update to 0.15.1 - Add more plugins * Mon May 30 2011 Alex Lancaster - 0.15-0.1.beta1 - Update to 0.15beta1 (#683055) - Convert plugin files to files in git, easier to manage - Only use plugins certified to be API compatible with 0.15 from http://users.musicbrainz.org/~luks/picard-plugins/ * Wed Feb 09 2011 Fedora Release Engineering - 0.12.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Wed Jul 21 2010 David Malcolm - 0.12.1-2 - Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild * Tue Nov 3 2009 Alex Lancaster - 0.12.1-1 - Update to upstream 0.12.1 (brown bag fix release) * Tue Oct 27 2009 Alex Lancaster - 0.12-1 - Update to 0.12 (#531224) - Icons now in icons/hicolor directory * Sun Jul 26 2009 Fedora Release Engineering - 0.11-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Thu Feb 26 2009 Fedora Release Engineering - 0.11-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Tue Dec 9 2008 Alex Lancaster - 0.11-2 - Fixed sources. * Tue Dec 9 2008 Alex Lancaster - 0.11-1 - Update to latest upstream (0.11) - Drop upstreamed patch - Remove sed-ing of .desktop file * Sat Nov 29 2008 Ignacio Vazquez-Abrams - 0.10-3 - Rebuild for Python 2.6 * Tue Sep 2 2008 Alex Lancaster - 0.10-2 - Update plugin versions to 0.10 where possible. - Temporarily disable the search plugins until they are ported to new API. * Sun Aug 31 2008 Alex Lancaster - 0.10-1 - Update to latest upstream (0.10). - Add patch to work around broken setup.py. - Fixed some spec file errors: duplicate sources. * Sat Feb 9 2008 Alex Lancaster - 0.9.0-6 - rebuilt for GCC 4.3 as requested by Fedora Release Engineering * Wed Dec 19 2007 Alex Lancaster 0.9.0-5 - Add support for python eggs for F9+ * Wed Dec 19 2007 Alex Lancaster 0.9.0-4 - Update to proper release: 0.9.0 - Drop plugins directory patch, applied upstream * Tue Dec 04 2007 Alex Lancaster 0.9.0-0.6.beta1 - strip out png extension from .desktop file * Tue Dec 04 2007 Alex Lancaster 0.9.0-0.5.beta1 - Add plugins from http://musicbrainz.org/doc/PicardQt/Plugins - Patch to find proper plugins directory (filed upstream: http://bugs.musicbrainz.org/ticket/3430) - Does not depend on python-musicbrainz2 any longer, uses libdiscid directly * Wed Nov 14 2007 Alex Lancaster 0.9.0-0.4.beta1 - Various minor spec file cleanups to make sure timestamps stay correct * Wed Nov 14 2007 Alex Lancaster 0.9.0-0.3.beta1 - Create pixmaps directory * Wed Nov 14 2007 Alex Lancaster 0.9.0-0.2.beta1 - Missing BR: python-devel - Use sitearch to make sure x86_64 builds work - Install icons share/pixmaps/, rather than share/icons/ * Wed Nov 14 2007 Alex Lancaster 0.9.0-0.1.beta1 - Initial packaging