SPECS: picard.spec - up to 0.10 - R: python-PyQt4 - cleanup - added TODO

arvenil arvenil at pld-linux.org
Tue Nov 11 15:27:12 CET 2008


Author: arvenil                      Date: Tue Nov 11 14:27:12 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- up to 0.10
- R: python-PyQt4
- cleanup
- added TODO

---- Files affected:
SPECS:
   picard.spec (1.3 -> 1.4) 

---- Diffs:

================================================================
Index: SPECS/picard.spec
diff -u SPECS/picard.spec:1.3 SPECS/picard.spec:1.4
--- SPECS/picard.spec:1.3	Fri Nov 23 02:11:27 2007
+++ SPECS/picard.spec	Tue Nov 11 15:27:06 2008
@@ -1,18 +1,23 @@
 # $Revision$, $Date$
+# TODO:
+# - unpackaged files:
+#   /usr/lib/debug/usr/lib64/python2.6/site-packages/picard/util/astrcmp.so.debug
+#   /usr/src/debug/picard-0.10/picard/util/astrcmp.cpp
 Summary:	Picard, the Next-Generation MusicBrainz Tagger
 Summary(pl.UTF-8):	Picard - znaczniki MusicBrainz nowej generacji
 Name:		picard
-Version:	0.7.2
+Version:	0.10
 Release:	1
 License:	GPL v2
 Group:		Applications
-Source0:	https://helixcommunity.org/frs/download.php/2252/%{name}-%{version}.tar.gz
-# Source0-md5:	840d2202a792a36fc981fd691c8c49a5
+Source0:	ftp://ftp.musicbrainz.org/pub/musicbrainz/picard/%{name}-%{version}.tar.gz
+# Source0-md5:	6d4e31446d3a65cbc6ff880947bb500e
 Patch0:		%{name}-desktop.patch
 URL:		http://musicbrainz.org/doc/PicardTagger
 BuildRequires:	python-devel >= 1:2.5
 BuildRequires:	rpm-pythonprov
 BuildRequires:	rpmbuild(macros) >= 1.219
+Requires:	python-PyQt4
 Requires:	python-musicbrainz2
 Requires:	python-tunepimp
 Requires:	python-wxPython
@@ -35,18 +40,20 @@
 
 %prep
 %setup -q
-%patch0 -p0
+%patch0 -p1
 
 %build
 find -type f -exec sed -i -e 's|#!.*python.*|#!%{_bindir}/python|g' "{}" ";"
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
 
 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}
+
+install %{name}.desktop $RPM_BUILD_ROOT%{_desktopdir}/%{name}.desktop
+install %{name}-32.png $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}.png
+
 %py_postclean
 %find_lang %{name}
 
@@ -55,11 +62,12 @@
 
 %files -f %{name}.lang
 %defattr(644,root,root,755)
-%doc AUTHORS ChangeLog README TODO
+%doc AUTHORS.txt NEWS.txt
 %attr(755,root,root) %{_bindir}/%{name}
-%{py_sitescriptdir}/picard
+%{py_sitedir}/picard
+%{py_sitedir}/%{name}-%{version}-py*.egg-info
 %{_desktopdir}/%{name}.desktop
-%{_pixmapsdir}/*
+%{_pixmapsdir}/%{name}.png
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -67,6 +75,12 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.4  2008/11/11 14:27:06  arvenil
+- up to 0.10
+- R: python-PyQt4
+- cleanup
+- added TODO
+
 Revision 1.3  2007/11/23 01:11:27  wolf
 - "ctypes already included in python 2.5"
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/picard.spec?r1=1.3&r2=1.4&f=u



More information about the pld-cvs-commit mailing list