]>
Commit | Line | Data |
---|---|---|
274d6caa JW |
1 | Summary: Picard, the Next-Generation MusicBrainz Tagger |
2 | Summary(pl.UTF-8): Picard, znacznik MusicBrainz nowej generacji | |
3 | Name: picard | |
4 | Version: 0.7.2 | |
5 | Release: 1 | |
6 | License: GPL v2 | |
7 | Group: Applications | |
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-ctypes | |
13 | BuildRequires: python-devel | |
14 | BuildRequires: rpm-pythonprov | |
15 | BuildRequires: rpmbuild(macros) >= 1.219 | |
16 | Requires: python-musicbrainz2 | |
17 | Requires: python-tunepimp | |
18 | Requires: python-wxPython | |
19 | BuildArch: noarch | |
20 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
21 | ||
22 | %description | |
23 | The project code-named Picard is the next generation MusicBrainz | |
24 | tagging application. This new tagging concept is Release oriented, as | |
25 | opposed to track oriented like the ClassicTagger was. Picard is | |
26 | written in Python, which is a cross-platform language - this allows | |
27 | the same code to run both on Windows and on Linux. Before too long we | |
28 | will add Mac OS X support as well. | |
29 | ||
30 | %description -l pl.UTF-8 | |
31 | Projekt o nazwie Picard jest programem nowej generacji do generowania | |
32 | znaczników MusicBranz. Picard jest napisany w Pythonie, który jest | |
33 | językiem cross-platform - co pozwala uruchamiac ten sam kod na obu | |
34 | systemach Windows oraz Linux. Niedługo dodamy wsparcie dla Mac OS X. | |
35 | ||
36 | %prep | |
37 | %setup -q | |
38 | %patch0 -p0 | |
39 | ||
40 | %build | |
41 | find -type f -exec sed -i -e 's|#!.*python.*|#!%{_bindir}/python|g' "{}" ";" | |
42 | ||
43 | %install | |
44 | rm -rf $RPM_BUILD_ROOT | |
45 | install -d $RPM_BUILD_ROOT | |
46 | ||
47 | python ./setup.py install --optimize=2 --root=$RPM_BUILD_ROOT | |
48 | install -d $RPM_BUILD_ROOT/%{_pixmapsdir} | |
49 | mv $RPM_BUILD_ROOT/%{_iconsdir}/* $RPM_BUILD_ROOT/%{_pixmapsdir} | |
50 | %py_postclean | |
51 | %find_lang %{name} | |
52 | ||
53 | %clean | |
54 | rm -rf $RPM_BUILD_ROOT | |
55 | ||
56 | %files -f %{name}.lang | |
57 | %defattr(644,root,root,755) | |
58 | %doc AUTHORS ChangeLog README TODO | |
59 | %attr(755,root,root) %{_bindir}/%{name} | |
60 | %{py_sitescriptdir}/picard | |
61 | %{_desktopdir}/%{name}.desktop | |
62 | %{_pixmapsdir}/* |