]> git.pld-linux.org Git - packages/picard.git/blob - picard.spec
a02d7b9f5653b1a65ef6d58be75863a335ab003a
[packages/picard.git] / picard.spec
1 Summary:        Picard, the Next-Generation MusicBrainz Tagger
2 Summary(pl.UTF-8):      Picard - znaczniki 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-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
18 BuildArch:      noarch
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
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.
28
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.
34
35 %prep
36 %setup -q
37 %patch0 -p0
38
39 %build
40 find -type f -exec sed -i -e 's|#!.*python.*|#!%{_bindir}/python|g' "{}" ";"
41
42 %install
43 rm -rf $RPM_BUILD_ROOT
44 install -d $RPM_BUILD_ROOT
45
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}
49 %py_postclean
50 %find_lang %{name}
51
52 %clean
53 rm -rf $RPM_BUILD_ROOT
54
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
61 %{_pixmapsdir}/*
This page took 0.051496 seconds and 3 git commands to generate.