3 # /usr/lib/debug/usr/lib64/python2.6/site-packages/picard/util/astrcmp.so.debug
4 # /usr/src/debug/picard-0.10/picard/util/astrcmp.cpp
5 Summary: Picard, the Next-Generation MusicBrainz Tagger
6 Summary(pl.UTF-8): Picard - znaczniki MusicBrainz nowej generacji
12 Source0: ftp://ftp.musicbrainz.org/pub/musicbrainz/picard/%{name}-%{version}.tar.gz
13 # Source0-md5: 6d4e31446d3a65cbc6ff880947bb500e
14 Patch0: %{name}-desktop.patch
15 URL: http://musicbrainz.org/doc/PicardTagger
16 BuildRequires: python-devel >= 1:2.5
17 BuildRequires: rpm-pythonprov
18 BuildRequires: rpmbuild(macros) >= 1.219
19 Requires: python-PyQt4
20 Requires: python-musicbrainz2
21 Requires: python-tunepimp
22 Requires: python-wxPython
24 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27 The project code-named Picard is the next generation MusicBrainz
28 tagging application. This new tagging concept is Release oriented, as
29 opposed to track oriented like the ClassicTagger was. Picard is
30 written in Python, which is a cross-platform language - this allows
31 the same code to run both on Windows and on Linux. Before too long we
32 will add Mac OS X support as well.
34 %description -l pl.UTF-8
35 Projekt o nazwie Picard jest programem nowej generacji do generowania
36 znaczników MusicBranz. Picard jest napisany w Pythonie, który jest
37 językiem cross-platform - co pozwala uruchamiać ten sam kod zarówno
38 pod Windows jak i Linuksem. Niedługo zostanie dodana obsługa Mac OS X.
45 find -type f -exec sed -i -e 's|#!.*python.*|#!%{_bindir}/python|g' "{}" ";"
48 rm -rf $RPM_BUILD_ROOT
49 install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
51 python ./setup.py install --optimize=2 --root=$RPM_BUILD_ROOT
53 install %{name}.desktop $RPM_BUILD_ROOT%{_desktopdir}/%{name}.desktop
54 install %{name}-32.png $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}.png
60 rm -rf $RPM_BUILD_ROOT
62 %files -f %{name}.lang
63 %defattr(644,root,root,755)
64 %doc AUTHORS.txt NEWS.txt
65 %attr(755,root,root) %{_bindir}/%{name}
67 %{py_sitedir}/%{name}-%{version}-py*.egg-info
68 %{_desktopdir}/%{name}.desktop
69 %{_pixmapsdir}/%{name}.png