SPECS: python-gtksourceview2.spec - pl - added -devel and -apidocs

qboosh qboosh at pld-linux.org
Sun Jul 8 19:31:54 CEST 2007


Author: qboosh                       Date: Sun Jul  8 17:31:54 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- pl
- added -devel and -apidocs

---- Files affected:
SPECS:
   python-gtksourceview2.spec (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SPECS/python-gtksourceview2.spec
diff -u SPECS/python-gtksourceview2.spec:1.1 SPECS/python-gtksourceview2.spec:1.2
--- SPECS/python-gtksourceview2.spec:1.1	Mon Jun 25 17:07:02 2007
+++ SPECS/python-gtksourceview2.spec	Sun Jul  8 19:31:49 2007
@@ -23,7 +23,7 @@
 BuildRequires:	python-gnome-devel >= %{gnome_python_req}
 BuildRequires:	python-pycairo-devel
 BuildRequires:	python-pygtk-devel >= %{pygtk_req}
-BuildRequires:	sed
+BuildRequires:	sed >= 4.0
 %pyrequires_eq	python-modules
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -35,6 +35,31 @@
 %description -l pl.UTF-8
 Wiązania Pythona do biblioteki gtksourceview2.
 
+%package devel
+Summary:	gtksourceview2 bindings for Python - development files
+Summary(pl.UTF-8):	Pliki programistyczne wiązań Pythona do biblioteki gtksourceview2
+Group:		Development/Languages/Python
+Requires:	%{name} = %{version}-%{release}
+Requires:	python-pygtk-devel >= %{pygtk_req}
+
+%description devel
+gtksourceview2 bindings for Python - development files.
+
+%description devel -l pl.UTF-8
+Pliki programistyczne wiązań Pythona do biblioteki gtksourceview2.
+
+%package apidocs
+Summary:	pygtksourceview2 API documentation
+Summary(pl.UTF-8):	Dokumentacja API pygtksourceview2
+Group:		Documentation
+Requires:	gtk-doc-common
+
+%description apidocs
+pygtksourceview2 API documentation.
+
+%description apidocs -l pl.UTF-8
+Dokumentacja API pygtksourceview2.
+
 %prep
 %setup -q -n %{module}-%{version}
 
@@ -50,7 +75,6 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-
 install -d $RPM_BUILD_ROOT%{_datadir}/doc
 
 %{__make} install \
@@ -66,16 +90,25 @@
 %files
 %defattr(644,root,root,755)
 %attr(755,root,root) %{py_sitedir}/gtksourceview2module.so
-%{_gtkdocdir}/pygtksourceview2
-%{_datadir}/pygtk/*/defs/gtksourceview2.defs
+
+%files devel
+%defattr(644,root,root,755)
+%{pydefsdir}/gtksourceview2.defs
 %{_pkgconfigdir}/*.pc
 
+%files apidocs
+%defattr(644,root,root,755)
+%{_gtkdocdir}/pygtksourceview2
+
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
 * %{date} PLD Team <feedback at pld-linux.org>
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2007/07/08 17:31:49  qboosh
+- pl
+- added -devel and -apidocs
+
 Revision 1.1  2007/06/25 15:07:02  patrys
 - initial PLD release
-
================================================================

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



More information about the pld-cvs-commit mailing list