Przerobiłem troszkę speca dla picarda, jest nowsza wersja. Prosiłbym kogoś o rzucenie okiem i ewentualne wrzucenie do cvs. Na ile moge wytestować do buduje się i działa.
Przy okazji pytanie. Można jakoś zmusić skrypt builder do zbudowania lokalnego speca? Chodzi mi o to że: ./builder SPECS/mojspec.spec cvs server: cannot find module `packages/mojspec/mojspec.spec' - ignored Error: spec file not stored in CVS repo. A jak modyfikuje istniejący to olewa lokalny, dociąga i buduje z cvs. Łukasz
# $Revision: 1.6 $, $Date: 2009/02/19 21:19:11 $ # TODO: # - unpackaged files: # /usr/share/locale/sr/LC_MESSAGES/picard.mo Summary: Picard, the Next-Generation MusicBrainz Tagger Summary(pl.UTF-8): Picard - znaczniki MusicBrainz nowej generacji Name: picard Version: 0.12.1 Release: 1 License: GPL v2+ Group: Applications Source0: ftp://ftp.musicbrainz.org/pub/musicbrainz/picard/%{name}-%{version}.tar.gz # Source0-md5: cfe594d68924afbc0704888130295c85 Patch0: %{name}-desktop.patch URL: http://musicbrainz.org/doc/PicardTagger BuildRequires: gettext-devel 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 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, Linux and Mac OS X. %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 uruchamiaÄ ten sam kod zarówno pod Windows, Linuksem i Mac OS X. %prep %setup -q %patch0 -p1 %build find -type f -exec sed -i -e 's|#!.*python.*|#!%{_bindir}/python|g' "{}" ";" python ./setup.py build %install rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}} python ./setup.py install --optimize=2 --root=$RPM_BUILD_ROOT install %{name}.desktop $RPM_BUILD_ROOT%{_desktopdir}/%{name}.desktop install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir}/%{name},%{_desktopdir},%{_iconsdir}/hicolor/128x128/apps} install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir}/%{name},%{_desktopdir},%{_iconsdir}/hicolor/16x16/apps} install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir}/%{name},%{_desktopdir},%{_iconsdir}/hicolor/24x24/apps} install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir}/%{name},%{_desktopdir},%{_iconsdir}/hicolor/256x256/apps} install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir}/%{name},%{_desktopdir},%{_iconsdir}/hicolor/32x32/apps} install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir}/%{name},%{_desktopdir},%{_iconsdir}/hicolor/48x48/apps} %py_postclean %find_lang %{name} %clean rm -rf $RPM_BUILD_ROOT %files -f %{name}.lang %defattr(644,root,root,755) %defattr(644,root,root,755) %doc AUTHORS.txt NEWS.txt %attr(755,root,root) %{_bindir}/%{name} %{py_sitedir}/picard %{py_sitedir}/%{name}-%{version}-py*.egg-info %{_desktopdir}/%{name}.desktop %{_iconsdir}/hicolor/128x128/apps/* %{_iconsdir}/hicolor/16x16/apps/* %{_iconsdir}/hicolor/24x24/apps/* %{_iconsdir}/hicolor/256x256/apps/* %{_iconsdir}/hicolor/32x32/apps/* %{_iconsdir}/hicolor/48x48/apps/* %dir %{_datadir}/locale/sco/LC_MESSAGES/ %define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) %changelog * %{date} PLD Team <[email protected]> All persons listed below can be reached at <cvs_login>@pld-linux.org $Log: picard.spec,v $ Revision 1.6 2009/02/19 21:19:11 wiget - license is GPL v2 or later - this isn't noarch package Revision 1.5 2009/01/15 14:30:47 duddits - up to 0.11 - desktop.patch updated 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" Revision 1.2 2007/03/16 09:28:07 qboosh - pl fixes Revision 1.1 2007/03/10 12:15:47 jasw - initial
--- picard-0.12.1/picard.desktop 2009-11-01 19:10:27.000000000 +0100 +++ picard-0.12.1-new/picard.desktop 2009-11-13 23:12:30.000000000 +0100 @@ -1,6 +1,7 @@ [Desktop Entry] Name=MusicBrainz Picard Comment=Tag your music with the next generation MusicBrainz tagger +Comment[pl]=Znacznik MusicBrainz nowej generacji Exec=picard Terminal=false Type=Application
_______________________________________________ pld-devel-pl mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-devel-pl
