rpms/rpy/FC-3 rpy.spec,1.4,1.5

José Abílio Oliveira Matos (jamatos) fedora-extras-commits at redhat.com
Wed Apr 26 10:57:38 UTC 2006


Author: jamatos

Update of /cvs/extras/rpms/rpy/FC-3
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv27390

Modified Files:
	rpy.spec 
Log Message:
* Wed Apr 26 2006 José Matos <jamatos at fc.up.pt> - 0.4.6-8
- Rebuild for R-2.3.0



Index: rpy.spec
===================================================================
RCS file: /cvs/extras/rpms/rpy/FC-3/rpy.spec,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- rpy.spec	3 Jan 2006 23:22:34 -0000	1.4
+++ rpy.spec	26 Apr 2006 10:57:38 -0000	1.5
@@ -3,15 +3,20 @@
 Name: 		rpy
 Summary: 	Python interface to the R language
 Version:	0.4.6
-Release:	4%{?dist}
+Release:	8%{?dist}
 Url:		http://rpy.sourceforge.net
 Source0:	http://dl.sf.net/%{name}/%{name}-%{version}.tar.gz
+Patch1:         rpy-install-info.patch
 License:	GPL
 Group:		Development/Libraries
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
-BuildRequires:	R, python-numeric, python-devel
-Requires:	R, python-numeric
+BuildRequires:	R, python-numeric, python-devel, texinfo
+
+Requires:	python-numeric
+Requires:	R = 2.3.0
+Requires(post): /sbin/install-info
+Requires(preun): /sbin/install-info
 
 %description
 RPy provides a robust Python interface to the R
@@ -21,36 +26,67 @@
 
 %prep
 %setup
+%patch1 -p1 -b .install-info
 
 
 %build
 env CFLAGS="$RPM_OPT_FLAGS" python setup.py build
-
+cd doc
+makeinfo --html manual.texi
+makeinfo --html manual.texi
+mv rpy manual
+make pdf
+make info
 
 %install
 rm -rf $RPM_BUILD_ROOT
 python setup.py install -O1 --skip-build --root=$RPM_BUILD_ROOT
-
+cd doc
+install -d $RPM_BUILD_ROOT/%{_infodir}
+install rpy.info $RPM_BUILD_ROOT/%{_infodir}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post
+/sbin/install-info %{_infodir}/%{name}.info %{_infodir}/dir || :
+
+%preun
+if [ $1 = 0 ]; then
+    /sbin/install-info --delete %{_infodir}/%{name}.info %{_infodir}/dir || :
+fi
+
 
 %files
 %defattr(-,root,root)
-%doc COPYING NEWS README examples/ doc/
+%doc COPYING NEWS README examples/
+%doc doc/manual.pdf doc/manual/
+%{_infodir}/rpy.info*
 %{python_sitearch}/*
 
 
 %changelog
-* Tue Jan  3 2006 Jose' Matos <jamatos at fc.up.pt> - 0.4.6-4
+* Wed Apr 26 2006 José Matos <jamatos at fc.up.pt> - 0.4.6-8
+- Rebuild for R-2.3.0
+
+* Fri Feb 17 2006 Alex Lancaster <alexl at users.sourceforge.net> - 0.4.6-7
+- Build info docs (bz#169002).
+- Build pdf and html documentation, clean doc directory. (jamatos)
+
+* Thu Feb 16 2006 José Matos <jamatos at fc.up.pt> - 0.4.6-6
+- Use a fixed value for R version.
+
+* Thu Feb 16 2006 José Matos <jamatos at fc.up.pt> - 0.4.6-5
+- Set explicit dependency on exact version of R used to build the package. (bz#177078)
+
+* Tue Jan  3 2006 José Matos <jamatos at fc.up.pt> - 0.4.6-4
 - Update for R-2.2.1
 
-* Tue Oct 11 2005 Jose' Matos <jamatos at fc.up.pt> - 0.4.6-3
+* Tue Oct 11 2005 José Matos <jamatos at fc.up.pt> - 0.4.6-3
 - Another try to deal with make tag.
 
-* Mon Oct 10 2005 Jose' Matos <jamatos at fc.up.pt> - 0.4.6-2
+* Mon Oct 10 2005 José Matos <jamatos at fc.up.pt> - 0.4.6-2
 - Rebuild for R-2.2.0
 
-* Thu Sep 15 2005 Jose Matos <jamatos at fc.up.pt> - 0.4.6-1
+* Thu Sep 15 2005 José Matos <jamatos at fc.up.pt> - 0.4.6-1
 - Initial package for Fedora Extras




More information about the fedora-extras-commits mailing list