rpms/pygsl/devel pygsl.spec,1.11,1.12

José Abílio Oliveira Matos (jamatos) fedora-extras-commits at redhat.com
Wed Aug 29 11:06:44 UTC 2007


Author: jamatos

Update of /cvs/pkgs/rpms/pygsl/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv9317

Modified Files:
	pygsl.spec 
Log Message:
* Wed Aug 29 2007 José Matos <jamatos[AT]fc.up.pt> - 0.9.1-4
- Remove docs from documentation as it not carried anymore, add a devel subpackage.



Index: pygsl.spec
===================================================================
RCS file: /cvs/pkgs/rpms/pygsl/devel/pygsl.spec,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- pygsl.spec	29 Aug 2007 10:18:39 -0000	1.11
+++ pygsl.spec	29 Aug 2007 11:06:11 -0000	1.12
@@ -1,9 +1,11 @@
 %{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
+%define pyver %(%{__python} -c "import sys ; print sys.version[:3]")
+%define py_incdir %{_includedir}/python%{pyver}
 
 Summary:       GNU Scientific Library Interface for python
 Name:          pygsl
 Version:       0.9.1
-Release:       3%{?dist}
+Release:       4%{?dist}
 License:       GPLv2
 Group:         Development/Libraries
 
@@ -20,6 +22,16 @@
 %description
 This project provides a python interface for the GNU scientific library (gsl)
 
+%package devel
+Summary:       Development files for python-imaging
+Group:         Development/Libraries
+Requires:      %{name} = %{version}-%{release}
+Requires:      python-devel
+Requires:      gsl.devel
+
+%description devel
+Development files for pygsl
+
 %prep
 %setup
 
@@ -35,12 +47,20 @@
 rm -rf $RPM_BUILD_ROOT
 
 %files
-%defattr(-,root,root)
-%doc COPYING ChangeLog README CREDITS doc/ examples/
+%defattr(-,root,root,-)
+%doc COPYING ChangeLog README CREDITS examples/
 %{python_sitearch}/pygsl/
 
+%files devel
+%defattr (-,root,root,-)
+%{py_incdir}/pygsl
+%doc testing tests
+
+
 %changelog
-%changelog
+* Wed Aug 29 2007 José Matos <jamatos[AT]fc.up.pt> - 0.9.1-4
+- Remove docs from documentation as it not carried anymore, add a devel subpackage.
+
 * Wed Aug 29 2007 José Matos <jamatos[AT]fc.up.pt> - 0.9.1-3
 - Corrected the reference to numpy.
 




More information about the fedora-extras-commits mailing list