SPECS: python-numpy-cephes.spec - python-numpy -> python-Numeric -...

qboosh qboosh at pld-linux.org
Tue Jul 18 10:25:46 CEST 2006


Author: qboosh                       Date: Tue Jul 18 08:25:46 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- python-numpy -> python-Numeric
- updated install basing on Makefile

---- Files affected:
SPECS:
   python-numpy-cephes.spec (1.25 -> 1.26) 

---- Diffs:

================================================================
Index: SPECS/python-numpy-cephes.spec
diff -u SPECS/python-numpy-cephes.spec:1.25 SPECS/python-numpy-cephes.spec:1.26
--- SPECS/python-numpy-cephes.spec:1.25	Sat Mar 12 13:32:37 2005
+++ SPECS/python-numpy-cephes.spec	Tue Jul 18 10:25:40 2006
@@ -11,9 +11,9 @@
 Source0:	http://pylab.sourceforge.net/packages/%{mname}-%{version}.tar.gz
 # Source0-md5:	55de90ee4f2d48e8da6054d0a5f4dd74
 URL:		http://pylab.sourceforge.net/
+BuildRequires:	python-Numeric-devel >= 1.3
 BuildRequires:	python-devel >= 1.5
-BuildRequires:	python-numpy-devel >= 1.3
-Requires:	python-numpy >= 1.3
+Requires:	python-Numeric >= 1.3
 %pyrequires_eq	python
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -34,13 +34,19 @@
 %setup -q -n %{mname}-%{version}
 
 %build
-%{__make} OPT="%{rpmcflags}" \
+%{__make} \
+	OPT="%{rpmcflags}" \
 	INCLUDES="-I%{py_incdir} -I%{py_incdir}/Numeric"
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{py_sitedir}/NumPy
-install *.so $RPM_BUILD_ROOT%{py_sitedir}/NumPy
+install -d $RPM_BUILD_ROOT%{py_sitedir}/SpecialFuncs
+install *.so $RPM_BUILD_ROOT%{py_sitedir}/SpecialFuncs
+install SpecialFuncs.py $RPM_BUILD_ROOT%{py_sitedir}/SpecialFuncs
+
+%py_comp %{py_sitedir}/SpecialFuncs
+%py_ocomp %{py_sitedir}/SpecialFuncs
+%py_postclean
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -48,7 +54,9 @@
 %files
 %defattr(644,root,root,755)
 %doc docs/included_functions.html docs/cephes.txt README
-%{py_sitedir}/NumPy/cephesmodule.so
+%dir %{py_sitedir}/SpecialFuncs
+%{py_sitedir}/SpecialFuncs/SpecialFuncs.py[co]
+%attr(755,root,root) %{py_sitedir}/SpecialFuncs/cephesmodule.so
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -56,6 +64,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.26  2006/07/18 08:25:40  qboosh
+- python-numpy -> python-Numeric
+- updated install basing on Makefile
+
 Revision 1.25  2005/03/12 12:32:37  troll
 - mass commit: remove obsolete BR: rpm-pythonprov
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/python-numpy-cephes.spec?r1=1.25&r2=1.26&f=u



More information about the pld-cvs-commit mailing list