Author: beorn Date: Sat Mar 17 17:34:59 2007 GMT Module: SPECS Tag: HEAD ---- Log message: - Switch to PLD-style paths (needs verification and some cleanup)
---- Files affected: SPECS: qemulator.spec (1.6 -> 1.7) ---- Diffs: ================================================================ Index: SPECS/qemulator.spec diff -u SPECS/qemulator.spec:1.6 SPECS/qemulator.spec:1.7 --- SPECS/qemulator.spec:1.6 Fri Mar 16 18:34:34 2007 +++ SPECS/qemulator.spec Sat Mar 17 18:34:54 2007 @@ -4,15 +4,18 @@ Summary(pl.UTF-8): GUI w GTK dla qemu Name: qemulator Version: 0.4.5 -Release: 0.9 +Release: 0.10 License: GPL v2 Group: X11/Applications Source0: http://qemulator.createweb.de/plugins/downloads/dodownload.php?file=%{_realname}-%{version}.tar.gz # Source0-md5: a9ea901b8e1a9c5d5087220bd8b4f3ed +Patch0: qemulator-pldpaths.patch URL: http://qemulator.createweb.de/ Requires: libglade2 >= 1:2.5.0 Requires: python-pygtk-glade >= 2:2.8.0 Requires: python-pygtk-gtk >= 2:2.8.0 +Requires: python-pycairo +BuildArch: noarch BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description @@ -67,13 +70,21 @@ %prep %setup -q -n %{_realname}-%{version} +%patch0 -p0 %install rm -rf $RPM_BUILD_ROOT -install -d $RPM_BUILD_ROOT%{_prefix} +install -d $RPM_BUILD_ROOT{%{_datadir}/%{name},%{_libdir}/%{name},%{_bindir},%{_desktopdir},%{_pixmapsdir}} -cp -r usr/local/{bin,lib,share} $RPM_BUILD_ROOT%{_prefix} -mv usr/local/share/%{name}/icons/README usr/local/share/%{name}/icons/README-icons +find -type f -exec sed -i -e 's|#!.*python.*|#!%{_bindir}/python|g' "{}" ";" +cp usr/local/share/%{name}/icons/README usr/local/share/%{name}/icons/README-icons +cp usr/local/share/pixmaps/%{name}/* $RPM_BUILD_ROOT%{_datadir}/%{name} +cp usr/local/share/applications/* $RPM_BUILD_ROOT%{_desktopdir} +mv usr/local/lib/%{name}/%{name}.glade $RPM_BUILD_ROOT%{_datadir}/%{name} +cp usr/local/lib/%{name}/* $RPM_BUILD_ROOT%{_libdir}/%{name} +cp --no-dereference usr/local/bin/* $RPM_BUILD_ROOT%{_bindir} +cp -r usr/local/share/{locale,icons} $RPM_BUILD_ROOT%{_datadir} +cp -r usr/local/share/pixmaps/*.svg $RPM_BUILD_ROOT%{_pixmapsdir} %find_lang %{_realname} @@ -83,21 +94,15 @@ %files -f %{_realname}.lang %defattr(644,root,root,755) %doc README usr/local/share/%{name}/icons/README-icons -%attr(755,root,root) %{_bindir}/* +%{_bindir}/* %dir %{_libdir}/%{name} %attr(755,root,root) %{_libdir}/%{name}/*.py -%{_libdir}/%{name}/%{name}.glade %{_desktopdir}/%{name}.desktop %{_iconsdir}/hicolor/*/*/%{name}.png %{_iconsdir}/hicolor/scalable/apps/%{name}.svg -%dir %{_pixmapsdir}/%{name} -%{_pixmapsdir}/%{name}/*.png -%{_pixmapsdir}/%{name}/*.svg -%{_pixmapsdir}/%{name}.svg +%{_pixmapsdir}/*.svg %dir %{_datadir}/%{name} -%{_datadir}/%{name}/*.png -%dir %{_datadir}/%{name}/icons -%{_datadir}/%{name}/icons/*.png +%{_datadir}/%{name}/* %define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) %changelog @@ -105,6 +110,9 @@ All persons listed below can be reached at <cvs_login>@pld-linux.org $Log$ +Revision 1.7 2007/03/17 17:34:54 beorn +- Switch to PLD-style paths (needs verification and some cleanup) + Revision 1.6 2007/03/16 17:34:34 czarny - once again libdir - this time glade file ================================================================ ---- CVS-web: http://cvs.pld-linux.org/SPECS/qemulator.spec?r1=1.6&r2=1.7&f=u _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
