1 Summary: Picard, the Next-Generation MusicBrainz Tagger
2 Summary(pl.UTF-8): Picard - znaczniki MusicBrainz nowej generacji
8 Source0: https://helixcommunity.org/frs/download.php/2252/%{name}-%{version}.tar.gz
9 # Source0-md5: 840d2202a792a36fc981fd691c8c49a5
10 Patch0: %{name}-desktop.patch
11 URL: http://musicbrainz.org/doc/PicardTagger
12 BuildRequires: python-devel >= 1:2.5
13 BuildRequires: rpm-pythonprov
14 BuildRequires: rpmbuild(macros) >= 1.219
15 Requires: python-musicbrainz2
16 Requires: python-tunepimp
17 Requires: python-wxPython
19 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22 The project code-named Picard is the next generation MusicBrainz
23 tagging application. This new tagging concept is Release oriented, as
24 opposed to track oriented like the ClassicTagger was. Picard is
25 written in Python, which is a cross-platform language - this allows
26 the same code to run both on Windows and on Linux. Before too long we
27 will add Mac OS X support as well.
29 %description -l pl.UTF-8
30 Projekt o nazwie Picard jest programem nowej generacji do generowania
31 znaczników MusicBranz. Picard jest napisany w Pythonie, który jest
32 językiem cross-platform - co pozwala uruchamiać ten sam kod zarówno
33 pod Windows jak i Linuksem. Niedługo zostanie dodana obsługa Mac OS X.
40 find -type f -exec sed -i -e 's|#!.*python.*|#!%{_bindir}/python|g' "{}" ";"
43 rm -rf $RPM_BUILD_ROOT
44 install -d $RPM_BUILD_ROOT
46 python ./setup.py install --optimize=2 --root=$RPM_BUILD_ROOT
47 install -d $RPM_BUILD_ROOT/%{_pixmapsdir}
48 mv $RPM_BUILD_ROOT/%{_iconsdir}/* $RPM_BUILD_ROOT/%{_pixmapsdir}
53 rm -rf $RPM_BUILD_ROOT
55 %files -f %{name}.lang
56 %defattr(644,root,root,755)
57 %doc AUTHORS ChangeLog README TODO
58 %attr(755,root,root) %{_bindir}/%{name}
59 %{py_sitescriptdir}/picard
60 %{_desktopdir}/%{name}.desktop