SPECS: pida.spec - packaging fixes

glen glen at pld-linux.org
Sun Jan 6 21:11:57 CET 2008


Author: glen                         Date: Sun Jan  6 20:11:57 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- packaging fixes

---- Files affected:
SPECS:
   pida.spec (1.13 -> 1.14) 

---- Diffs:

================================================================
Index: SPECS/pida.spec
diff -u SPECS/pida.spec:1.13 SPECS/pida.spec:1.14
--- SPECS/pida.spec:1.13	Sun Jul 29 15:43:04 2007
+++ SPECS/pida.spec	Sun Jan  6 21:11:51 2008
@@ -1,8 +1,9 @@
 # $Revision$, $Date$
 # TODO:
 # - investigate the documentation format in doc
-# - package only py[co] files
 # - verify if such a big version jump actually works
+# - move .po files to glibc dir and test if it works
+# - moo_stub is just sample? kill it and can make package noarch.
 #
 %define		realname PIDA
 #
@@ -10,7 +11,7 @@
 Summary(pl.UTF-8):	Szkielet do programowania zintegrowanego
 Name:		pida
 Version:	0.5.1
-Release:	0.1
+Release:	1
 License:	GPL
 Group:		Development/Tools
 Source0:	http://pida.googlecode.com/files/%{realname}-%{version}.tar.gz
@@ -23,8 +24,8 @@
 BuildRequires:	rpm-pythonprov
 Requires:	python-gnome-desktop-gtksourceview
 Requires:	python-gnome-gconf
-Requires:	python-vte
 Requires:	python-kiwi
+Requires:	python-vte
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -62,11 +63,12 @@
 
 python setup.py install \
 	--install-data=%{_datadir}/%{name} \
-        --root=$RPM_BUILD_ROOT \
-        --optimize=2
+	--root=$RPM_BUILD_ROOT \
+	--optimize=2
 
 cp $RPM_BUILD_ROOT%{py_sitedir}/%{name}/resources/pixmaps/pida-icon.png $RPM_BUILD_ROOT%{_pixmapsdir}
 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
+%py_postclean
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -74,8 +76,143 @@
 %files
 %defattr(644,root,root,755)
 %doc AUTHORS README
-%attr(755,root,root) %{_bindir}/*
-%{py_sitedir}/*
+%attr(755,root,root) %{_bindir}/pida
+%attr(755,root,root) %{_bindir}/pida-remote
+
+# see todo at top of the spec
+%lang(fr) %{py_sitedir}/pida/resources/locale/fr_FR/LC_MESSAGES/pida.po
+%lang(fr) %{py_sitedir}/pida/services/appcontroller/locale/fr_FR/LC_MESSAGES/appcontroller.po
+%lang(fr) %{py_sitedir}/pida/services/buffer/locale/fr_FR/LC_MESSAGES/buffer.po
+%lang(fr) %{py_sitedir}/pida/services/bugreport/locale/fr_FR/LC_MESSAGES/bugreport.po
+%lang(fr) %{py_sitedir}/pida/services/commander/locale/fr_FR/LC_MESSAGES/commander.po
+%lang(fr) %{py_sitedir}/pida/services/editor/locale/fr_FR/LC_MESSAGES/editor.po
+%lang(fr) %{py_sitedir}/pida/services/filemanager/locale/fr_FR/LC_MESSAGES/filemanager.po
+%lang(fr) %{py_sitedir}/pida/services/grepper/locale/fr_FR/LC_MESSAGES/grepper.po
+%lang(fr) %{py_sitedir}/pida/services/help/locale/fr_FR/LC_MESSAGES/help.po
+%lang(fr) %{py_sitedir}/pida/services/manhole/locale/fr_FR/LC_MESSAGES/manhole.po
+%lang(fr) %{py_sitedir}/pida/services/notify/locale/fr_FR/LC_MESSAGES/notify.po
+%lang(fr) %{py_sitedir}/pida/services/openwith/locale/fr_FR/LC_MESSAGES/openwith.po
+%lang(fr) %{py_sitedir}/pida/services/optionsmanager/locale/fr_FR/LC_MESSAGES/optionsmanager.po
+%lang(fr) %{py_sitedir}/pida/services/plugins/locale/fr_FR/LC_MESSAGES/plugins.po
+%lang(fr) %{py_sitedir}/pida/services/project/locale/fr_FR/LC_MESSAGES/project.po
+%lang(fr) %{py_sitedir}/pida/services/sessions/locale/fr_FR/LC_MESSAGES/sessions.po
+%lang(fr) %{py_sitedir}/pida/services/shortcuts/locale/fr_FR/LC_MESSAGES/shortcuts.po
+%lang(fr) %{py_sitedir}/pida/services/versioncontrol/locale/fr_FR/LC_MESSAGES/versioncontrol.po
+%lang(fr) %{py_sitedir}/pida/services/webbrowser/locale/fr_FR/LC_MESSAGES/webbrowser.po
+%lang(fr) %{py_sitedir}/pida/services/window/locale/fr_FR/LC_MESSAGES/window.po
+
+%{py_sitedir}/*-py2.5.egg-info
+%attr(755,root,root) %{py_sitedir}/moo_stub.so
+%{py_sitedir}/pida/*.py[co]
+
+%{py_sitedir}/pida/core
+%{py_sitedir}/pida/editors
+%dir %{py_sitedir}/pida/resources
+%{py_sitedir}/pida/resources/glade
+%{py_sitedir}/pida/resources/pixmaps
+%{py_sitedir}/pida/resources/uidef
+%dir %{py_sitedir}/pida/services
+%dir %{py_sitedir}/pida/services/appcontroller
+%{py_sitedir}/pida/services/appcontroller/*.py[co]
+%{py_sitedir}/pida/services/appcontroller/service.pida
+%{py_sitedir}/pida/services/appcontroller/uidef
+%dir %{py_sitedir}/pida/services/buffer
+%{py_sitedir}/pida/services/buffer/glade
+%{py_sitedir}/pida/services/buffer/*.py[co]
+%{py_sitedir}/pida/services/buffer/service.pida
+%{py_sitedir}/pida/services/buffer/uidef/buffer-file-menu.xml
+%{py_sitedir}/pida/services/buffer/uidef/buffer.xml
+%dir %{py_sitedir}/pida/services/bugreport
+%{py_sitedir}/pida/services/bugreport/glade
+%{py_sitedir}/pida/services/bugreport/*.py[co]
+%{py_sitedir}/pida/services/bugreport/service.pida
+%{py_sitedir}/pida/services/bugreport/uidef
+%dir %{py_sitedir}/pida/services/commander
+%{py_sitedir}/pida/services/commander/*.py[co]
+%{py_sitedir}/pida/services/commander/service.pida
+%{py_sitedir}/pida/services/commander/uidef
+%dir %{py_sitedir}/pida/services/contexts
+%{py_sitedir}/pida/services/contexts/*.py[co]
+%{py_sitedir}/pida/services/contexts/service.pida
+%{py_sitedir}/pida/services/contexts/uidef
+%dir %{py_sitedir}/pida/services/editor
+%{py_sitedir}/pida/services/editor/*.py[co]
+%{py_sitedir}/pida/services/editor/service.pida
+%dir %{py_sitedir}/pida/services/filemanager
+%{py_sitedir}/pida/services/filemanager/*.py[co]
+%{py_sitedir}/pida/services/filemanager/service.pida
+%{py_sitedir}/pida/services/filemanager/uidef
+%dir %{py_sitedir}/pida/services/filewatcher
+%{py_sitedir}/pida/services/filewatcher/*.py[co]
+%{py_sitedir}/pida/services/filewatcher/service.pida
+%dir %{py_sitedir}/pida/services/grepper
+%{py_sitedir}/pida/services/grepper/glade
+%{py_sitedir}/pida/services/grepper/*.py[co]
+%{py_sitedir}/pida/services/grepper/service.pida
+%{py_sitedir}/pida/services/grepper/uidef
+%dir %{py_sitedir}/pida/services/help
+%{py_sitedir}/pida/services/help/*.py[co]
+%{py_sitedir}/pida/services/help/service.pida
+%{py_sitedir}/pida/services/help/uidef
+%dir %{py_sitedir}/pida/services/manhole
+%{py_sitedir}/pida/services/manhole/*.py[co]
+%{py_sitedir}/pida/services/manhole/service.pida
+%{py_sitedir}/pida/services/manhole/uidef
+%dir %{py_sitedir}/pida/services/notify
+%{py_sitedir}/pida/services/notify/*.py[co]
+%{py_sitedir}/pida/services/notify/service.pida
+%{py_sitedir}/pida/services/notify/uidef
+%dir %{py_sitedir}/pida/services/openwith
+%{py_sitedir}/pida/services/openwith/glade
+%{py_sitedir}/pida/services/openwith/*.py[co]
+%{py_sitedir}/pida/services/openwith/service.pida
+%{py_sitedir}/pida/services/openwith/uidef
+%dir %{py_sitedir}/pida/services/optionsmanager
+%{py_sitedir}/pida/services/optionsmanager/glade
+%{py_sitedir}/pida/services/optionsmanager/*.py[co]
+%{py_sitedir}/pida/services/optionsmanager/service.pida
+%{py_sitedir}/pida/services/optionsmanager/uidef
+%dir %{py_sitedir}/pida/services/plugins
+%{py_sitedir}/pida/services/plugins/glade
+%{py_sitedir}/pida/services/plugins/*.py[co]
+%{py_sitedir}/pida/services/plugins/service.pida
+%{py_sitedir}/pida/services/plugins/uidef
+%dir %{py_sitedir}/pida/services/project
+%{py_sitedir}/pida/services/project/glade
+%{py_sitedir}/pida/services/project/*.py[co]
+%{py_sitedir}/pida/services/project/service.pida
+%{py_sitedir}/pida/services/project/uidef
+%{py_sitedir}/pida/services/*.py[co]
+%dir %{py_sitedir}/pida/services/rpc
+%{py_sitedir}/pida/services/rpc/*.py[co]
+%{py_sitedir}/pida/services/rpc/service.pida
+%dir %{py_sitedir}/pida/services/sessions
+%{py_sitedir}/pida/services/sessions/*.py[co]
+%{py_sitedir}/pida/services/sessions/service.pida
+%{py_sitedir}/pida/services/sessions/uidef
+%dir %{py_sitedir}/pida/services/shortcuts
+%{py_sitedir}/pida/services/shortcuts/*.py[co]
+%{py_sitedir}/pida/services/shortcuts/service.pida
+%{py_sitedir}/pida/services/shortcuts/uidef
+%dir %{py_sitedir}/pida/services/statusbar
+%{py_sitedir}/pida/services/statusbar/*.py[co]
+%{py_sitedir}/pida/services/statusbar/service.pida
+%dir %{py_sitedir}/pida/services/versioncontrol
+%{py_sitedir}/pida/services/versioncontrol/glade
+%{py_sitedir}/pida/services/versioncontrol/*.py[co]
+%{py_sitedir}/pida/services/versioncontrol/service.pida
+%{py_sitedir}/pida/services/versioncontrol/uidef
+%dir %{py_sitedir}/pida/services/webbrowser
+%{py_sitedir}/pida/services/webbrowser/*.py[co]
+%{py_sitedir}/pida/services/webbrowser/service.pida
+%{py_sitedir}/pida/services/webbrowser/uidef
+%dir %{py_sitedir}/pida/services/window
+%{py_sitedir}/pida/services/window/*.py[co]
+%{py_sitedir}/pida/services/window/service.pida
+%{py_sitedir}/pida/services/window/uidef
+%{py_sitedir}/pida/ui
+%{py_sitedir}/pida/utils
+
 %{_pixmapsdir}/*.png
 %{_desktopdir}/*.desktop
 
@@ -85,6 +222,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.14  2008-01-06 20:11:51  glen
+- packaging fixes
+
 Revision 1.13  2007-07-29 13:43:04  twittner
 - up to 0.5.1
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/pida.spec?r1=1.13&r2=1.14&f=u



More information about the pld-cvs-commit mailing list