]> git.pld-linux.org Git - packages/picard.git/commitdiff
- initial
authorJan Wideł <jasw@pld-linux.org>
Sat, 10 Mar 2007 12:15:47 +0000 (12:15 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    picard.spec -> 1.1

picard.spec [new file with mode: 0644]

diff --git a/picard.spec b/picard.spec
new file mode 100644 (file)
index 0000000..8591268
--- /dev/null
@@ -0,0 +1,62 @@
+Summary:       Picard, the Next-Generation MusicBrainz Tagger
+Summary(pl.UTF-8):     Picard, znacznik MusicBrainz nowej generacji
+Name:          picard
+Version:       0.7.2
+Release:       1
+License:       GPL v2
+Group:         Applications
+Source0:       https://helixcommunity.org/frs/download.php/2252/%{name}-%{version}.tar.gz
+# Source0-md5: 840d2202a792a36fc981fd691c8c49a5
+Patch0:                %{name}-desktop.patch
+URL:           http://musicbrainz.org/doc/PicardTagger
+BuildRequires: python-ctypes
+BuildRequires: python-devel
+BuildRequires: rpm-pythonprov
+BuildRequires: rpmbuild(macros) >= 1.219
+Requires:      python-musicbrainz2
+Requires:      python-tunepimp
+Requires:      python-wxPython
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+The project code-named Picard is the next generation MusicBrainz
+tagging application. This new tagging concept is Release oriented, as
+opposed to track oriented like the ClassicTagger was. Picard is
+written in Python, which is a cross-platform language - this allows
+the same code to run both on Windows and on Linux. Before too long we
+will add Mac OS X support as well.
+
+%description -l pl.UTF-8
+Projekt o nazwie Picard jest programem nowej generacji do generowania
+znaczników MusicBranz. Picard jest napisany w Pythonie, który jest
+językiem cross-platform - co pozwala uruchamiac ten sam kod na obu
+systemach Windows oraz Linux. Niedługo dodamy wsparcie dla Mac OS X.
+
+%prep
+%setup -q
+%patch0 -p0
+
+%build
+find -type f -exec sed -i -e 's|#!.*python.*|#!%{_bindir}/python|g' "{}" ";"
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT
+
+python ./setup.py install --optimize=2 --root=$RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT/%{_pixmapsdir}
+mv $RPM_BUILD_ROOT/%{_iconsdir}/* $RPM_BUILD_ROOT/%{_pixmapsdir}
+%py_postclean
+%find_lang %{name}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files -f %{name}.lang
+%defattr(644,root,root,755)
+%doc AUTHORS ChangeLog README TODO
+%attr(755,root,root) %{_bindir}/%{name}
+%{py_sitescriptdir}/picard
+%{_desktopdir}/%{name}.desktop
+%{_pixmapsdir}/*
This page took 0.127984 seconds and 4 git commands to generate.