|
|
f656cdd |
Name: picard
|
|
|
4c734f2 |
Version: 1.3.2
|
|
|
2f923c8 |
Release: 3%{?dist}
|
|
|
f656cdd |
Summary: MusicBrainz-based audio tagger
|
|
|
f656cdd |
License: GPLv2+
|
|
|
38e53cc |
URL: http://picard.musicbrainz.org/
|
|
|
f656cdd |
Source0: http://ftp.musicbrainz.org/pub/musicbrainz/picard/picard-%{version}.tar.gz
|
|
Alex Lancaster |
65dc308 |
# plugins, now distributed inside contrib/plugins directory,
|
|
Alex Lancaster |
65dc308 |
# keep upstream URLs around in case we want to add upstream version
|
|
|
f656cdd |
#Source1: http://users.musicbrainz.org/~luks/picard-plugins/discnumber.py
|
|
|
f656cdd |
#Source2: http://users.musicbrainz.org/~luks/picard-plugins/featartist.py
|
|
|
f656cdd |
#Source3: http://users.musicbrainz.org/~luks/picard-plugins/coverart.py
|
|
|
f656cdd |
#Source4: http://users.musicbrainz.org/~luks/picard-plugins/lastfm/__init__.py
|
|
|
f656cdd |
#Source5: http://users.musicbrainz.org/~luks/picard-plugins/lastfm/ui_options_lastfm.py
|
|
|
f656cdd |
#Source6: http://users.musicbrainz.org/~luks/picard-plugins/lastfm/options_lastfm.ui
|
|
|
f656cdd |
#Source7: http://users.musicbrainz.org/~luks/picard-plugins/cuesheet.py
|
|
|
f656cdd |
#Source8: http://users.musicbrainz.org/~luks/picard-plugins/open_in_gui.py
|
|
|
f656cdd |
#Source9: http://users.musicbrainz.org/~luks/picard-plugins/swapprefix.py
|
|
|
f656cdd |
#Source10: http://users.musicbrainz.org/~luks/picard-plugins/titlecase.py
|
|
|
f656cdd |
#Source11: http://users.musicbrainz.org/~luks/picard-plugins/tracks2clipboard.py
|
|
|
f656cdd |
#Source12: http://users.musicbrainz.org/~luks/picard-plugins/replaygain/__init__.py
|
|
|
f656cdd |
#Source13: http://users.musicbrainz.org/~luks/picard-plugins/replaygain/ui_options_replaygain.py
|
|
|
f656cdd |
#Source14: http://users.musicbrainz.org/~luks/picard-plugins/replaygain/options_replaygain.ui
|
|
|
f656cdd |
#Source15: http://users.musicbrainz.org/~luks/picard-plugins/featartistsintitles.py
|
|
|
f656cdd |
#Source16: http://users.musicbrainz.org/~luks/picard-plugins/release_type.py
|
|
|
f656cdd |
#Source17: http://users.musicbrainz.org/~luks/picard-plugins/no_release.py
|
|
|
f656cdd |
#Source18: http://gitorious.org/musicbrainz/addrelease/blobs/raw/master/addrelease.py
|
|
Alex Lancaster |
65dc308 |
|
|
Alex Lancaster |
65dc308 |
# not yet included in contrib/ directory
|
|
|
f656cdd |
Source19: http://github.com/voiceinsideyou/creaps-picard-plugins/raw/master/titlesort.py
|
|
|
f656cdd |
Source20: http://github.com/voiceinsideyou/creaps-picard-plugins/raw/master/titleversion.py
|
|
|
a2ee5c6 |
|
|
Alex Lancaster |
b5e8859 |
# bonusdisc.py not yet ported
|
|
|
a2ee5c6 |
# search plugins are obsolete
|
|
|
f656cdd |
BuildRequires: desktop-file-utils
|
|
|
f656cdd |
BuildRequires: gettext
|
|
|
f656cdd |
BuildRequires: libofa-devel
|
|
|
f656cdd |
BuildRequires: PyQt4
|
|
|
f656cdd |
BuildRequires: python2-devel
|
|
|
f656cdd |
BuildRequires: python-mutagen
|
|
|
f656cdd |
Requires: hicolor-icon-theme
|
|
|
f656cdd |
Requires: PyQt4
|
|
|
4c734f2 |
Requires: python-mutagen >= 1.20
|
|
|
50e7555 |
Requires: python-libdiscid
|
|
|
d100d80 |
|
|
|
d100d80 |
%description
|
|
|
d100d80 |
Picard is an audio tagging application using data from the MusicBrainz
|
|
|
d100d80 |
database. The tagger is album or release oriented, rather than
|
|
|
d100d80 |
track-oriented.
|
|
|
d100d80 |
|
|
|
d100d80 |
%prep
|
|
|
4c734f2 |
%setup -qn picard-release-%{version}
|
|
|
d100d80 |
|
|
|
d100d80 |
%build
|
|
|
f656cdd |
%{__python2} setup.py config
|
|
|
f656cdd |
env CFLAGS="%{optflags}" %{__python2} setup.py build
|
|
|
d100d80 |
|
|
|
d100d80 |
%install
|
|
|
f656cdd |
%{__python2} setup.py install -O1 --skip-build --root=%{buildroot}
|
|
|
56f4f25 |
|
|
|
ba283bd |
desktop-file-install \
|
|
|
d100d80 |
--delete-original --remove-category="Application" \
|
|
|
f656cdd |
--dir=%{buildroot}%{_datadir}/applications \
|
|
|
f656cdd |
%{buildroot}%{_datadir}/applications/*
|
|
|
d100d80 |
|
|
|
f19c321 |
# install plugins
|
|
|
f656cdd |
PLUGINDIR=%{buildroot}%{python2_sitearch}/picard/plugins/
|
|
|
f656cdd |
install -pm0644 contrib/plugins/discnumber.py ${PLUGINDIR}
|
|
|
f656cdd |
install -pm0644 contrib/plugins/featartist.py ${PLUGINDIR}
|
|
|
f19c321 |
mkdir ${PLUGINDIR}/lastfm/
|
|
|
f656cdd |
install -pm0644 contrib/plugins/lastfm/__init__.py ${PLUGINDIR}/lastfm/
|
|
|
f656cdd |
install -pm0644 contrib/plugins/lastfm/ui_options_lastfm.py ${PLUGINDIR}/lastfm/
|
|
|
f656cdd |
install -pm0644 contrib/plugins/lastfm/options_lastfm.ui ${PLUGINDIR}/lastfm/
|
|
|
f656cdd |
install -pm0644 contrib/plugins/cuesheet.py ${PLUGINDIR}
|
|
|
06edc48 |
#install -pm0644 contrib/plugins/open_in_gui.py ${PLUGINDIR}
|
|
|
06edc48 |
#install -pm0644 contrib/plugins/swapprefix.py ${PLUGINDIR}
|
|
|
f656cdd |
install -pm0644 contrib/plugins/titlecase.py ${PLUGINDIR}
|
|
|
f656cdd |
install -pm0644 contrib/plugins/tracks2clipboard.py ${PLUGINDIR}
|
|
|
a2ee5c6 |
mkdir ${PLUGINDIR}/replaygain/
|
|
|
f656cdd |
install -pm0644 contrib/plugins/replaygain/__init__.py ${PLUGINDIR}/replaygain/
|
|
|
f656cdd |
install -pm0644 contrib/plugins/replaygain/ui_options_replaygain.py ${PLUGINDIR}/replaygain/
|
|
|
f656cdd |
install -pm0644 contrib/plugins/replaygain/options_replaygain.ui ${PLUGINDIR}/replaygain/
|
|
|
f656cdd |
install -pm0644 contrib/plugins/featartistsintitles.py ${PLUGINDIR}
|
|
|
f656cdd |
install -pm0644 contrib/plugins/release_type.py ${PLUGINDIR}
|
|
|
f656cdd |
install -pm0644 contrib/plugins/no_release.py ${PLUGINDIR}
|
|
|
f656cdd |
install -pm0644 contrib/plugins/addrelease.py ${PLUGINDIR}
|
|
Alex Lancaster |
65dc308 |
mkdir ${PLUGINDIR}/lastfmplus/
|
|
|
f656cdd |
install -pm0644 contrib/plugins/lastfmplus/__init__.py ${PLUGINDIR}/lastfmplus/
|
|
|
f656cdd |
install -pm0644 contrib/plugins/lastfmplus/ui_options_lastfm.py ${PLUGINDIR}/lastfmplus/
|
|
|
f656cdd |
install -pm0644 contrib/plugins/classicdiscnumber.py ${PLUGINDIR}
|
|
Alex Lancaster |
65dc308 |
|
|
|
f656cdd |
install -pm0644 %{SOURCE19} ${PLUGINDIR}
|
|
|
f656cdd |
install -pm0644 %{SOURCE20} ${PLUGINDIR}
|
|
|
01c08e3 |
|
|
|
06edc48 |
%find_lang %{name}
|
|
|
06edc48 |
%find_lang %{name}-attributes
|
|
|
06edc48 |
%find_lang %{name}-countries
|
|
|
06edc48 |
|
|
|
d100d80 |
%check
|
|
|
06edc48 |
## disable tests for the moment
|
|
|
f656cdd |
%{?_with_check:%{__python2} setup.py test || :}
|
|
|
f656cdd |
|
|
|
f656cdd |
%post
|
|
|
f656cdd |
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
|
|
|
f656cdd |
|
|
|
f656cdd |
%postun
|
|
|
f656cdd |
if [ $1 -eq 0 ] ; then
|
|
|
f656cdd |
touch --no-create %{_datadir}/icons/hicolor &>/dev/null
|
|
|
f656cdd |
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|
|
f656cdd |
fi
|
|
|
d100d80 |
|
|
|
f656cdd |
%posttrans
|
|
|
f656cdd |
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|
|
d100d80 |
|
|
|
06edc48 |
%files -f %{name}.lang -f %{name}-attributes.lang -f %{name}-countries.lang
|
|
|
06edc48 |
%doc AUTHORS.txt NEWS.txt
|
|
|
06edc48 |
%license COPYING.txt
|
|
|
d100d80 |
%{_bindir}/picard
|
|
|
ba283bd |
%{_datadir}/applications/picard.desktop
|
|
|
ee31c3d |
%{_datadir}/icons/hicolor/*/apps/picard.png
|
|
|
f656cdd |
%{python2_sitearch}/*egg-info
|
|
|
f656cdd |
%{python2_sitearch}/picard/
|
|
|
d100d80 |
|
|
|
d100d80 |
%changelog
|
|
|
2f923c8 |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.2-3
|
|
|
2f923c8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
2f923c8 |
|
|
|
50e7555 |
* Mon Mar 23 2015 Ville Skyttä <ville.skytta@iki.fi> - 1.3.2-2
|
|
|
50e7555 |
- Require python-libdiscid instead of libdiscid
|
|
|
50e7555 |
|
|
|
4c734f2 |
* Tue Feb 03 2015 Christopher Meng <rpm@cicku.me> - 1.3.2-1
|
|
|
4c734f2 |
- Update to 1.3.2
|
|
|
4c734f2 |
|
|
|
aa3433d |
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-4
|
|
|
aa3433d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
aa3433d |
|
|
|
9c06409 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-3
|
|
|
9c06409 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
9c06409 |
|
|
|
cba6aa2 |
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-2
|
|
|
cba6aa2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
cba6aa2 |
|
|
|
1cec14b |
* Sun Apr 7 2013 Alex Lancaster <alexlan[AT]fedoraproject org> - 1.2-1
|
|
|
1cec14b |
- Update to latest upstream (1.2)
|
|
|
1cec14b |
- Remove cover art plugin, now in core package
|
|
|
1cec14b |
|
|
|
ba283bd |
* Wed Mar 6 2013 Toshio Kuratomi <toshio@fedoraproject.org> - 1.1-3
|
|
|
ba283bd |
- Remove vendor prefix from desktop files in F19+ https://fedorahosted.org/fesco/ticket/1077
|
|
|
ba283bd |
|
|
|
85ffa05 |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-2
|
|
|
85ffa05 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
85ffa05 |
|
|
Alex Lancaster |
3c21f95 |
* Sat Nov 17 2012 Alex Lancaster <alexlan[AT]fedoraproject org> - 1.1-1
|
|
Alex Lancaster |
3c21f95 |
- Update to upstream 1.1 (#854142)
|
|
Alex Lancaster |
3c21f95 |
|
|
|
f4ea7b7 |
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-2
|
|
|
f4ea7b7 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
f4ea7b7 |
|
|
Alex Lancaster |
65dc308 |
* Mon Jun 4 2012 Alex Lancaster <alexlan[AT]fedoraproject org> - 1.0-1
|
|
Alex Lancaster |
65dc308 |
- Update to latest upstream 1.0 (#827880)
|
|
Alex Lancaster |
65dc308 |
- Use versions of plugins now distributed in contrib/plugins
|
|
Alex Lancaster |
65dc308 |
- Update BR for PyQt >= 4.6 (#757398)
|
|
Alex Lancaster |
65dc308 |
- Drop obsolete conditional in %%files (#757234)
|
|
Alex Lancaster |
65dc308 |
|
|
|
6d57280 |
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.16-2
|
|
|
6d57280 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
6d57280 |
|
|
Alex Lancaster |
65dc308 |
* Mon Nov 14 2011 Alex Lancaster <alexlan[AT]fedoraproject org> - 0.16-1
|
|
Alex Lancaster |
b5e8859 |
- Update to 0.16
|
|
Alex Lancaster |
b5e8859 |
- Update plugins, add titlesort, titleversion plugins.
|
|
Alex Lancaster |
b5e8859 |
|
|
|
01c08e3 |
* Sun Aug 21 2011 Alex Lancaster <alexlan[AT]fedoraproject org> - 0.15.1-1
|
|
|
01c08e3 |
- Update to 0.15.1
|
|
|
01c08e3 |
- Add more plugins
|
|
|
01c08e3 |
|
|
|
a2ee5c6 |
* Mon May 30 2011 Alex Lancaster <alexlan[AT]fedoraproject org> - 0.15-0.1.beta1
|
|
|
a2ee5c6 |
- Update to 0.15beta1 (#683055)
|
|
|
a2ee5c6 |
- Convert plugin files to files in git, easier to manage
|
|
|
a2ee5c6 |
- Only use plugins certified to be API compatible with 0.15 from
|
|
|
a2ee5c6 |
http://users.musicbrainz.org/~luks/picard-plugins/
|
|
|
a2ee5c6 |
|
|
|
174a568 |
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.12.1-3
|
|
|
174a568 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
174a568 |
|
|
|
e17e442 |
* Wed Jul 21 2010 David Malcolm <dmalcolm@redhat.com> - 0.12.1-2
|
|
|
e17e442 |
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
|
|
|
e17e442 |
|
|
|
9413506 |
* Tue Nov 3 2009 Alex Lancaster <alexlan[AT]fedoraproject org> - 0.12.1-1
|
|
|
9413506 |
- Update to upstream 0.12.1 (brown bag fix release)
|
|
|
9413506 |
|
|
|
ee31c3d |
* Tue Oct 27 2009 Alex Lancaster <alexlan[AT]fedoraproject org> - 0.12-1
|
|
|
ee31c3d |
- Update to 0.12 (#531224)
|
|
|
ee31c3d |
- Icons now in icons/hicolor directory
|
|
|
ee31c3d |
|
|
|
e9e9180 |
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11-4
|
|
|
e9e9180 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
e9e9180 |
|
|
|
1e8901b |
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11-3
|
|
|
1e8901b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
1e8901b |
|
|
|
253d324 |
* Tue Dec 9 2008 Alex Lancaster <alexlan[AT]fedoraproject org> - 0.11-2
|
|
|
253d324 |
- Fixed sources.
|
|
|
253d324 |
|
|
|
22cde54 |
* Tue Dec 9 2008 Alex Lancaster <alexlan[AT]fedoraproject org> - 0.11-1
|
|
|
22cde54 |
- Update to latest upstream (0.11)
|
|
|
22cde54 |
- Drop upstreamed patch
|
|
|
22cde54 |
- Remove sed-ing of .desktop file
|
|
|
22cde54 |
|
|
|
e5d23b2 |
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 0.10-3
|
|
|
e5d23b2 |
- Rebuild for Python 2.6
|
|
|
e5d23b2 |
|
|
|
a8ba14c |
* Tue Sep 2 2008 Alex Lancaster <alexlan[AT]fedoraproject org> - 0.10-2
|
|
|
a8ba14c |
- Update plugin versions to 0.10 where possible.
|
|
|
a8ba14c |
- Temporarily disable the search plugins until they are ported to new API.
|
|
|
a8ba14c |
|
|
|
a11194c |
* Sun Aug 31 2008 Alex Lancaster <alexlan[AT]fedoraproject org> - 0.10-1
|
|
|
a11194c |
- Update to latest upstream (0.10).
|
|
|
a11194c |
- Add patch to work around broken setup.py.
|
|
|
a11194c |
- Fixed some spec file errors: duplicate sources.
|
|
|
a11194c |
|
|
|
55fa0fd |
* Sat Feb 9 2008 Alex Lancaster <alexlan[AT]fedoraproject org> - 0.9.0-6
|
|
|
55fa0fd |
- rebuilt for GCC 4.3 as requested by Fedora Release Engineering
|
|
|
55fa0fd |
|
|
|
304cc5c |
* Wed Dec 19 2007 Alex Lancaster <alexlan@fedoraproject.org> 0.9.0-5
|
|
|
304cc5c |
- Add support for python eggs for F9+
|
|
|
304cc5c |
|
|
|
524c533 |
* Wed Dec 19 2007 Alex Lancaster <alexlan@fedoraproject.org> 0.9.0-4
|
|
|
033ad35 |
- Update to proper release: 0.9.0
|
|
|
033ad35 |
- Drop plugins directory patch, applied upstream
|
|
|
033ad35 |
|
|
|
56f4f25 |
* Tue Dec 04 2007 Alex Lancaster <alexlan@fedoraproject.org> 0.9.0-0.6.beta1
|
|
|
56f4f25 |
- strip out png extension from .desktop file
|
|
|
56f4f25 |
|
|
|
f19c321 |
* Tue Dec 04 2007 Alex Lancaster <alexlan@fedoraproject.org> 0.9.0-0.5.beta1
|
|
|
f19c321 |
- Add plugins from http://musicbrainz.org/doc/PicardQt/Plugins
|
|
|
f19c321 |
- Patch to find proper plugins directory (filed upstream:
|
|
|
f19c321 |
http://bugs.musicbrainz.org/ticket/3430)
|
|
|
f19c321 |
- Does not depend on python-musicbrainz2 any longer, uses libdiscid directly
|
|
|
f19c321 |
|
|
|
e62535d |
* Wed Nov 14 2007 Alex Lancaster <alexlan@fedoraproject.org> 0.9.0-0.4.beta1
|
|
|
d100d80 |
- Various minor spec file cleanups to make sure timestamps stay correct
|
|
|
d100d80 |
|
|
|
f19c321 |
* Wed Nov 14 2007 Alex Lancaster <alexlan@fedoraproject.org> 0.9.0-0.3.beta1
|
|
|
d100d80 |
- Create pixmaps directory
|
|
|
d100d80 |
|
|
|
f19c321 |
* Wed Nov 14 2007 Alex Lancaster <alexlan@fedoraproject.org> 0.9.0-0.2.beta1
|
|
|
d100d80 |
- Missing BR: python-devel
|
|
|
d100d80 |
- Use sitearch to make sure x86_64 builds work
|
|
|
d100d80 |
- Install icons share/pixmaps/, rather than share/icons/
|
|
|
d100d80 |
|
|
|
f19c321 |
* Wed Nov 14 2007 Alex Lancaster <alexlan@fedoraproject.org> 0.9.0-0.1.beta1
|
|
|
d100d80 |
- Initial packaging
|