Compare commits
7 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
65c48f74b1 | ||
|
f6a424eb9a | ||
|
e0f142abae | ||
|
89384b8bcf | ||
|
9ffb21625f | ||
|
a201c9550d | ||
|
b088d23a96 |
@ -1 +0,0 @@
|
||||
BufferedMatrix_1.2.0.tar.gz
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
BufferedMatrix_1.4.0.tar.gz
|
21
Makefile
21
Makefile
@ -1,21 +0,0 @@
|
||||
# Makefile for source rpm: R-BufferedMatrix
|
||||
# $Id$
|
||||
NAME := R-BufferedMatrix
|
||||
SPECFILE = $(firstword $(wildcard *.spec))
|
||||
|
||||
define find-makefile-common
|
||||
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
|
||||
endef
|
||||
|
||||
MAKEFILE_COMMON := $(shell $(find-makefile-common))
|
||||
|
||||
ifeq ($(MAKEFILE_COMMON),)
|
||||
# attept a checkout
|
||||
define checkout-makefile-common
|
||||
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
|
||||
endef
|
||||
|
||||
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
|
||||
endif
|
||||
|
||||
include $(MAKEFILE_COMMON)
|
@ -1,16 +1,16 @@
|
||||
|
||||
%define packname BufferedMatrix
|
||||
%global packname BufferedMatrix
|
||||
%global bioc 2.4
|
||||
|
||||
Name: R-%{packname}
|
||||
Version: 1.2.0
|
||||
Release: 5%{?dist}
|
||||
Version: 1.8.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.1/bioc/html/BufferedMatrix.html
|
||||
Source0: http://bioconductor.org/packages/2.1/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,23 @@ 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}
|
||||
@ -80,6 +83,7 @@ rm -rf %{buildroot}
|
||||
%{_libdir}/R/library/%{packname}/R/
|
||||
%{_libdir}/R/library/%{packname}/help/
|
||||
%{_libdir}/R/library/%{packname}/libs/
|
||||
%{_libdir}/R/library/%{packname}/NAMESPACE
|
||||
%doc %{_libdir}/R/library/%{packname}/man/
|
||||
%doc %{_libdir}/R/library/%{packname}/latex/
|
||||
%doc %{_libdir}/R/library/%{packname}/doc
|
||||
@ -88,10 +92,29 @@ rm -rf %{buildroot}
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root,-)
|
||||
%{_datadir}/R/library/%{packname}/include/
|
||||
%{_libdir}/R/library/%{packname}/include/
|
||||
|
||||
|
||||
%changelog
|
||||
* Tue Apr 28 2009 pingou <pingou@pingoured.fr> 1.8.0-1
|
||||
- Update to Bioconductor 2.4 and R-2.9.0
|
||||
|
||||
* Sun Mar 22 2009 pingou <pingou@pingoured.fr> - 1.6.0-2
|
||||
- -devel should contain only the folder include !
|
||||
|
||||
* 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
|
||||
|
||||
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.2.0-5
|
||||
- Autorebuild for GCC 4.3
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user