]> git.pld-linux.org Git - packages/picard.git/blame - picard.spec
- up to 0.16
[packages/picard.git] / picard.spec
CommitLineData
274d6caa 1Summary: Picard, the Next-Generation MusicBrainz Tagger
f0ef33ec 2Summary(pl.UTF-8): Picard - znaczniki MusicBrainz nowej generacji
274d6caa 3Name: picard
8da50acb 4Version: 0.16
5Release: 1
f6df4d8b 6License: GPL v2+
274d6caa 7Group: Applications
92891553 8Source0: ftp://ftp.musicbrainz.org/pub/musicbrainz/picard/%{name}-%{version}.tar.gz
8da50acb 9# Source0-md5: 5791a5ae1ce92ac1ffb1cc8f15917ad7
274d6caa
JW
10Patch0: %{name}-desktop.patch
11URL: http://musicbrainz.org/doc/PicardTagger
8da50acb 12BuildRequires: ffmpeg-devel
2d13c274 13BuildRequires: gettext-devel
8da50acb 14BuildRequires: libofa-devel
2d13c274 15BuildRequires: libstdc++-devel
8da50acb 16BuildRequires: pkgconfig
2257e31e 17BuildRequires: python-devel >= 1:2.5
274d6caa
JW
18BuildRequires: rpm-pythonprov
19BuildRequires: rpmbuild(macros) >= 1.219
245ee198
AF
20Requires(post,postun): gtk-update-icon-cache
21Requires(post,postun): hicolor-icon-theme
92891553 22Requires: python-PyQt4
274d6caa 23Requires: python-musicbrainz2
f9d2fe2f 24Requires: python-mutagen
274d6caa
JW
25Requires: python-tunepimp
26Requires: python-wxPython
274d6caa
JW
27BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
29%description
30The project code-named Picard is the next generation MusicBrainz
31tagging application. This new tagging concept is Release oriented, as
32opposed to track oriented like the ClassicTagger was. Picard is
33written in Python, which is a cross-platform language - this allows
34the same code to run both on Windows and on Linux. Before too long we
35will add Mac OS X support as well.
36
37%description -l pl.UTF-8
38Projekt o nazwie Picard jest programem nowej generacji do generowania
39znaczników MusicBranz. Picard jest napisany w Pythonie, który jest
f0ef33ec
JB
40językiem cross-platform - co pozwala uruchamiać ten sam kod zarówno
41pod Windows jak i Linuksem. Niedługo zostanie dodana obsługa Mac OS X.
274d6caa
JW
42
43%prep
44%setup -q
92891553 45%patch0 -p1
274d6caa
JW
46
47%build
48find -type f -exec sed -i -e 's|#!.*python.*|#!%{_bindir}/python|g' "{}" ";"
8da50acb 49python ./setup.py config
50python ./setup.py build
274d6caa
JW
51
52%install
53rm -rf $RPM_BUILD_ROOT
92891553 54install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
274d6caa
JW
55
56python ./setup.py install --optimize=2 --root=$RPM_BUILD_ROOT
92891553 57
4dbd5122 58# Scots unsupported by glibc
2d13c274 59rm -r $RPM_BUILD_ROOT/%{_datadir}/locale/sco
4dbd5122 60
274d6caa
JW
61%py_postclean
62%find_lang %{name}
63
551e345c 64%post
245ee198
AF
65%update_icon_cache hicolor
66
67%postun
68%update_icon_cache hicolor
551e345c 69
274d6caa
JW
70%clean
71rm -rf $RPM_BUILD_ROOT
72
73%files -f %{name}.lang
74%defattr(644,root,root,755)
92891553 75%doc AUTHORS.txt NEWS.txt
274d6caa 76%attr(755,root,root) %{_bindir}/%{name}
92891553 77%{py_sitedir}/picard
78%{py_sitedir}/%{name}-%{version}-py*.egg-info
274d6caa 79%{_desktopdir}/%{name}.desktop
551e345c 80%{_iconsdir}/hicolor/*/apps/picard.png
This page took 0.101787 seconds and 4 git commands to generate.