]> git.pld-linux.org Git - packages/picard.git/blame - picard.spec
-initial
[packages/picard.git] / picard.spec
CommitLineData
274d6caa
JW
1Summary: Picard, the Next-Generation MusicBrainz Tagger
2Summary(pl.UTF-8): Picard, znacznik MusicBrainz nowej generacji
3Name: picard
4Version: 0.7.2
5Release: 1
6License: GPL v2
7Group: Applications
8Source0: https://helixcommunity.org/frs/download.php/2252/%{name}-%{version}.tar.gz
9# Source0-md5: 840d2202a792a36fc981fd691c8c49a5
10Patch0: %{name}-desktop.patch
11URL: http://musicbrainz.org/doc/PicardTagger
12BuildRequires: python-ctypes
13BuildRequires: python-devel
14BuildRequires: rpm-pythonprov
15BuildRequires: rpmbuild(macros) >= 1.219
16Requires: python-musicbrainz2
17Requires: python-tunepimp
18Requires: python-wxPython
19BuildArch: noarch
20BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22%description
23The project code-named Picard is the next generation MusicBrainz
24tagging application. This new tagging concept is Release oriented, as
25opposed to track oriented like the ClassicTagger was. Picard is
26written in Python, which is a cross-platform language - this allows
27the same code to run both on Windows and on Linux. Before too long we
28will add Mac OS X support as well.
29
30%description -l pl.UTF-8
31Projekt o nazwie Picard jest programem nowej generacji do generowania
32znaczników MusicBranz. Picard jest napisany w Pythonie, który jest
33językiem cross-platform - co pozwala uruchamiac ten sam kod na obu
34systemach Windows oraz Linux. Niedługo dodamy wsparcie dla Mac OS X.
35
36%prep
37%setup -q
38%patch0 -p0
39
40%build
41find -type f -exec sed -i -e 's|#!.*python.*|#!%{_bindir}/python|g' "{}" ";"
42
43%install
44rm -rf $RPM_BUILD_ROOT
45install -d $RPM_BUILD_ROOT
46
47python ./setup.py install --optimize=2 --root=$RPM_BUILD_ROOT
48install -d $RPM_BUILD_ROOT/%{_pixmapsdir}
49mv $RPM_BUILD_ROOT/%{_iconsdir}/* $RPM_BUILD_ROOT/%{_pixmapsdir}
50%py_postclean
51%find_lang %{name}
52
53%clean
54rm -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}/*
This page took 0.076741 seconds and 4 git commands to generate.