new version from bioc 2.3
This commit is contained in:
parent
d56f85e355
commit
efc1cd3461
@ -1,16 +1,16 @@
|
||||
%define packname BufferedMatrix
|
||||
%define bioc 2.2
|
||||
%define bioc 2.3
|
||||
|
||||
Name: R-%{packname}
|
||||
Version: 1.4.0
|
||||
Version: 1.6.0
|
||||
Release: 1%{?dist}
|
||||
Summary: A matrix data storage object method from bioconductor
|
||||
Summary(fr): Stockage des données d'un matrice dans un fichier temporaire
|
||||
|
||||
Group: Applications/Engineering
|
||||
License: LGPLv2+
|
||||
URL: http://bioconductor.org/packages/2.2/bioc/html/BufferedMatrix.html
|
||||
Source0: http://bioconductor.org/packages/%{bioc}/bioc/src/contrib/%{packname}_%{version}.tar.gz
|
||||
URL: http://bioconductor.org/packages/release/bioc/html/BufferedMatrix.html
|
||||
Source0: http://bioconductor.org/packages/release/bioc/src/contrib/%{packname}_%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
BuildRequires: R-devel tetex-latex
|
||||
@ -43,20 +43,22 @@ developing applications that use %{name}
|
||||
%build
|
||||
|
||||
%install
|
||||
rm -rf %{buildroot}
|
||||
rm -rf %{buildroot}i
|
||||
sed -i -e 's/\r$//' %{packname}/inst/doc/BufferedMatrix.Rnw
|
||||
|
||||
mkdir -p $RPM_BUILD_ROOT%{_datadir}/R/library/%{packname}/include/
|
||||
install -D %{packname}/inst/include/* $RPM_BUILD_ROOT%{_datadir}/R/library/%{packname}/include/
|
||||
chmod -x $RPM_BUILD_ROOT%{_datadir}/R/library/%{packname}/include/*
|
||||
|
||||
mkdir -p %{buildroot}%{_libdir}/R/library
|
||||
R CMD INSTALL %{packname} -l %{buildroot}%{_libdir}/R/library
|
||||
%{_bindir}/R CMD INSTALL -l $RPM_BUILD_ROOT%{_libdir}/R/library %{packname}
|
||||
|
||||
# Clean up in advance of check
|
||||
test -d %{packname}/src && (cd %{packname}/src; rm -f *.o *.so)
|
||||
rm -rf %{buildroot}%{_libdir}/R/library/R.css
|
||||
|
||||
rm -rf %{buildroot}%{_libdir}/R/library/%{packname}/include/
|
||||
## Change the header of place for the -devel --> Removed
|
||||
## see: https://www.redhat.com/archives/fedora-r-devel-list/2009-March/msg00001.html
|
||||
#mkdir -p $RPM_BUILD_ROOT%{_datadir}/R/library/%{packname}/include/
|
||||
#install -D %{packname}/inst/include/* $RPM_BUILD_ROOT%{_datadir}/R/library/%{packname}/include/
|
||||
#chmod -x $RPM_BUILD_ROOT%{_datadir}/R/library/%{packname}/include/*
|
||||
#rm -rf %{buildroot}%{_libdir}/R/library/%{packname}/include/
|
||||
|
||||
%check
|
||||
%{_bindir}/R CMD check %{packname}
|
||||
@ -89,10 +91,20 @@ rm -rf %{buildroot}
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root,-)
|
||||
%{_datadir}/R/library/%{packname}/include/
|
||||
%{_libdir}/R/library/%{packname}/
|
||||
|
||||
|
||||
%changelog
|
||||
* Sat Mar 21 2009 pingou <pingou@pingoured.fr> - 1.6.0-1
|
||||
- Update to Biocondutor 2.3
|
||||
- Put back the headers to libdir instead of moving them to datadir
|
||||
|
||||
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.0-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
||||
|
||||
* Mon Dec 01 2008 Pingou <pingoufc4@yahoo.fr> 1.4.0-2
|
||||
- Change own directory -- #473617
|
||||
|
||||
* Fri May 02 2008 Pingou <pingoufc4@yahoo.fr> 1.4.0-1
|
||||
- Update to bioconductor 2.2
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user