SPECS: python-gtksourceview2.spec - more BRs, docs, cleanup

qboosh qboosh at pld-linux.org
Sun Jul 8 20:08:03 CEST 2007


Author: qboosh                       Date: Sun Jul  8 18:08:03 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- more BRs, docs, cleanup

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

---- Diffs:

================================================================
Index: SPECS/python-gtksourceview2.spec
diff -u SPECS/python-gtksourceview2.spec:1.2 SPECS/python-gtksourceview2.spec:1.3
--- SPECS/python-gtksourceview2.spec:1.2	Sun Jul  8 19:31:49 2007
+++ SPECS/python-gtksourceview2.spec	Sun Jul  8 20:07:58 2007
@@ -8,20 +8,21 @@
 Name:		python-gtksourceview2
 Version:	1.90.1
 Release:	1
-License:	GPL v2/LGPL v2.1 (see COPYING)
+License:	LGPL
 Group:		Libraries/Python
 Source0:	http://ftp.gnome.org/pub/gnome/sources/pygtksourceview/1.90/%{module}-%{version}.tar.bz2
 # Source0-md5:	dcace16cfe05f7436c1c6c7f9b04f6fb
 BuildRequires:	autoconf >= 2.52
-BuildRequires:	automake
-BuildRequires:	bug-buddy >= 2.16.0
+BuildRequires:	automake >= 1:1.7
 BuildRequires:	gtk+2-devel >= 2:2.10.9
 BuildRequires:	gtksourceview2-devel >= 1.90.1
 BuildRequires:	libtool
+BuildRequires:	libxslt-progs
 BuildRequires:	pkgconfig
 BuildRequires:	python-devel >= 1:2.3.2
-BuildRequires:	python-gnome-devel >= %{gnome_python_req}
-BuildRequires:	python-pycairo-devel
+# for style.css
+BuildRequires:	python-pygobject-apidocs >= 2.11.3
+BuildRequires:	python-pygobject-devel >= 2.11.3
 BuildRequires:	python-pygtk-devel >= %{pygtk_req}
 BuildRequires:	sed >= 4.0
 %pyrequires_eq	python-modules
@@ -40,6 +41,7 @@
 Summary(pl.UTF-8):	Pliki programistyczne wiązań Pythona do biblioteki gtksourceview2
 Group:		Development/Languages/Python
 Requires:	%{name} = %{version}-%{release}
+Requires:	gtksourceview2-devel >= 1.90.1
 Requires:	python-pygtk-devel >= %{pygtk_req}
 
 %description devel
@@ -75,26 +77,25 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_datadir}/doc
 
 %{__make} install \
-	DESTDIR=$RPM_BUILD_ROOT
+	DESTDIR=$RPM_BUILD_ROOT \
+	HTMLdir=%{_gtkdocdir}/pygtksourceview2
 
-mv $RPM_BUILD_ROOT%{_datadir}/{gtk-doc,doc}
-
-rm -f $RPM_BUILD_ROOT%{py_sitedir}/gtk-2.0/{{*.la,*.py},*/{*.la,*.py}}
+rm -f $RPM_BUILD_ROOT%{py_sitedir}/*.la
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
+%doc AUTHORS ChangeLog NEWS README
 %attr(755,root,root) %{py_sitedir}/gtksourceview2module.so
 
 %files devel
 %defattr(644,root,root,755)
 %{pydefsdir}/gtksourceview2.defs
-%{_pkgconfigdir}/*.pc
+%{_pkgconfigdir}/pygtksourceview-2.0.pc
 
 %files apidocs
 %defattr(644,root,root,755)
@@ -106,6 +107,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.3  2007/07/08 18:07:58  qboosh
+- more BRs, docs, cleanup
+
 Revision 1.2  2007/07/08 17:31:49  qboosh
 - pl
 - added -devel and -apidocs
================================================================

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



More information about the pld-cvs-commit mailing list