rpms/rpy/devel rpy.spec,1.6,1.7
José AbÃlio Oliveira Matos (jamatos)
fedora-extras-commits at redhat.com
Fri Feb 17 11:16:59 UTC 2006
- Previous message: rpms/amarok/devel .cvsignore, 1.18, 1.19 amarok.spec, 1.36, 1.37 sources, 1.18, 1.19
- Next message: rpms/smb4k/devel smb4k-0.6.8-mount.patch, NONE, 1.1 smb4k.spec, 1.4, 1.5 smb4k-0.6.5-buff.patch, 1.1, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: jamatos
Update of /cvs/extras/rpms/rpy/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv26181
Modified Files:
rpy.spec
Log Message:
* 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)
Index: rpy.spec
===================================================================
RCS file: /cvs/extras/rpms/rpy/devel/rpy.spec,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- rpy.spec 17 Feb 2006 00:06:57 -0000 1.6
+++ rpy.spec 17 Feb 2006 11:16:57 -0000 1.7
@@ -3,16 +3,20 @@
Name: rpy
Summary: Python interface to the R language
Version: 0.4.6
-Release: 6%{?dist}
+Release: 7%{?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
+BuildRequires: R, python-numeric, python-devel, texinfo
+
Requires: python-numeric
Requires: R = 2.2.1
+Requires(post): /sbin/install-info
+Requires(preun): /sbin/install-info
%description
RPy provides a robust Python interface to the R
@@ -22,28 +26,50 @@
%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
+* 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.
- Previous message: rpms/amarok/devel .cvsignore, 1.18, 1.19 amarok.spec, 1.36, 1.37 sources, 1.18, 1.19
- Next message: rpms/smb4k/devel smb4k-0.6.8-mount.patch, NONE, 1.1 smb4k.spec, 1.4, 1.5 smb4k-0.6.5-buff.patch, 1.1, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the scm-commits
mailing list