SPECS (DEVEL): picard.spec - up to 0.9.0beta6 - uses qt instead of...

czarny czarny at pld-linux.org
Tue Apr 10 18:54:47 CEST 2007


Author: czarny                       Date: Tue Apr 10 16:54:46 2007 GMT
Module: SPECS                         Tag: DEVEL
---- Log message:
- up to 0.9.0beta6
- uses qt instead of wx
- todos - the whole is under development
- genreally works, but until the authors don't sort it out it'll be buggy

---- Files affected:
SPECS:
   picard.spec (1.2 -> 1.2.2.1) 

---- Diffs:

================================================================
Index: SPECS/picard.spec
diff -u SPECS/picard.spec:1.2 SPECS/picard.spec:1.2.2.1
--- SPECS/picard.spec:1.2	Fri Mar 16 10:28:07 2007
+++ SPECS/picard.spec	Tue Apr 10 18:54:41 2007
@@ -1,22 +1,30 @@
 # $Revision$, $Date$
+# TODO:
+# - this package is a little different then the original picard,
+#   so it needs some further checkup
+# - investigate the C extensions and its R/BR's
+# - wait for proper locales
+%define		_alpha	alpha6
+%define		_rel	0.%{_alpha}
 Summary:	Picard, the Next-Generation MusicBrainz Tagger
 Summary(pl.UTF-8):	Picard - znaczniki MusicBrainz nowej generacji
 Name:		picard
-Version:	0.7.2
-Release:	1
+Version:	0.9.0
+Release:	%{_rel}
 License:	GPL v2
 Group:		Applications
-Source0:	https://helixcommunity.org/frs/download.php/2252/%{name}-%{version}.tar.gz
-# Source0-md5:	840d2202a792a36fc981fd691c8c49a5
-Patch0:		%{name}-desktop.patch
+SOurce0:	http://ftp.musicbrainz.org/pub/musicbrainz/users/luks/picard-qt/%{name}-%{version}%{_alpha}.tar.gz
+#Patch0: %{name}-desktop.patch
 URL:		http://musicbrainz.org/doc/PicardTagger
-BuildRequires:	python-ctypes
+BuildRequires:	ffmpeg-devel
+BuildRequires:	libofa-devel
 BuildRequires:	python-devel
 BuildRequires:	rpm-pythonprov
 BuildRequires:	rpmbuild(macros) >= 1.219
-Requires:	python-musicbrainz2
-Requires:	python-tunepimp
-Requires:	python-wxPython
+Requires:	libdiscid
+Requires:	python-PyQt4 >= 4.1
+Requires:	python-musicbrainz >= 2.0
+Requires:	python-mutagen
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -32,14 +40,17 @@
 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 uruchamiać ten sam kod zarówno
-pod Windows jak i Linuksem. Niedługo zostanie dodana obsługa Mac OS X.
+pod Windows jak i Linuksem. Niedługo zostanie dodana obsłu
+a Mac OS X.
 
 %prep
-%setup -q
-%patch0 -p0
+%setup -q -n %{name}-%{version}%{_alpha}
+#%patch0 -p0
 
 %build
 find -type f -exec sed -i -e 's|#!.*python.*|#!%{_bindir}/python|g' "{}" ";"
+%{__python} ./setup.py config
+%{__python} ./setup.py build
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -49,17 +60,16 @@
 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
+%files
 %defattr(644,root,root,755)
-%doc AUTHORS ChangeLog README TODO
-%attr(755,root,root) %{_bindir}/%{name}
-%{py_sitescriptdir}/picard
-%{_desktopdir}/%{name}.desktop
+%doc AUTHORS.txt NEWS.txt
+%attr(755,root,root) %{_bindir}/picard
+%{py_sitedir}/picard
+%{_desktopdir}/picard.desktop
 %{_pixmapsdir}/*
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -68,8 +78,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
-Revision 1.2  2007/03/16 09:28:07  qboosh
-- pl fixes
+Revision 1.2.2.1  2007/04/10 16:54:41  czarny
+- up to 0.9.0beta6
+- uses qt instead of wx
+- todos - the whole is under development
+- genreally works, but until the authors don't sort it out it'll be buggy
 
-Revision 1.1  2007/03/10 12:15:47  jasw
-- initial
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/picard.spec?r1=1.2&r2=1.2.2.1&f=u



More information about the pld-cvs-commit mailing list