packages: python-kiwi/python-kiwi.spec - missing dir, unify doc package nam...
glen
glen at pld-linux.org
Sun Jun 6 13:59:00 CEST 2010
Author: glen Date: Sun Jun 6 11:59:00 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- missing dir, unify doc package name; rel 2
---- Files affected:
packages/python-kiwi:
python-kiwi.spec (1.19 -> 1.20)
---- Diffs:
================================================================
Index: packages/python-kiwi/python-kiwi.spec
diff -u packages/python-kiwi/python-kiwi.spec:1.19 packages/python-kiwi/python-kiwi.spec:1.20
--- packages/python-kiwi/python-kiwi.spec:1.19 Mon May 31 14:03:07 2010
+++ packages/python-kiwi/python-kiwi.spec Sun Jun 6 13:58:55 2010
@@ -4,7 +4,7 @@
Summary(pl.UTF-8): Szkielet do budowania GUI w Pythonie
Name: python-%{module}
Version: 1.9.26
-Release: 1
+Release: 2
License: LGPL
Group: Libraries/Python
Source0: http://download.gnome.org/sources/kiwi/1.9/%{module}-%{version}.tar.bz2
@@ -53,11 +53,12 @@
Ten pakiet zawiera dodatkowe pliki koniecznie dla integracji z
edytorem plików glade Gazpacho.
-%package docs
+%package doc
Summary: Documentation related to python-kiwi
Summary(pl.UTF-8): Dokumentacja związana z python-kiwi
Group: Documentation
Requires: %{name} = %{version}-%{release}
+Obsoletes: python-kiwi-docs
%description docs
This package contains documentation that contains APIs and related
@@ -87,11 +88,13 @@
rm -rf $RPM_BUILD_ROOT%{_docdir}
+install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+cp -a examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+
# move gazpacho stuff to proper place
mv $RPM_BUILD_ROOT%{py_scriptdir}/dist-packages/gazpacho $RPM_BUILD_ROOT%{py_sitescriptdir}
-# Remove *.py files. We don't package them.
-find $RPM_BUILD_ROOT%{py_sitescriptdir}/%{module} -type f -name '*.py' -print0 | xargs -0 rm -f
+%py_postclean
%find_lang %{name} --all-name
@@ -103,6 +106,7 @@
%doc AUTHORS ChangeLog NEWS README
%attr(755,root,root) %{_bindir}/kiwi*
%{_datadir}/kiwi
+%dir %{py_sitescriptdir}/kiwi
%{py_sitescriptdir}/kiwi/*.py[co]
%dir %{py_sitescriptdir}/kiwi/db
%{py_sitescriptdir}/kiwi/db/*.py[co]
@@ -124,9 +128,10 @@
%{_datadir}/gazpacho/catalogs
%{_datadir}/gazpacho/resources
-%files docs
+%files doc
%defattr(644,root,root,755)
-%doc doc/* examples
+%doc doc/*
+%{_examplesdir}/%{name}-%{version}
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -134,6 +139,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.20 2010/06/06 11:58:55 glen
+- missing dir, unify doc package name; rel 2
+
Revision 1.19 2010/05/31 12:03:07 lisu
- python version specific egg-info
- more verbose files
@@ -142,7 +150,7 @@
- proper build section
Revision 1.17 2010/05/31 11:49:38 lisu
-- unify %%find_lang macro
+- unify %find_lang macro
- BR: rpmbuild(macros) >= 1.268
Revision 1.16 2010/05/31 11:42:46 lisu
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/python-kiwi/python-kiwi.spec?r1=1.19&r2=1.20&f=u
More information about the pld-cvs-commit
mailing list