R-BufferedMatrix/R-BufferedMatrix.spec

153 lines
4.9 KiB
RPMSpec
Raw Normal View History

2009-04-28 18:02:36 +00:00
%global packname BufferedMatrix
2009-11-21 11:17:51 +00:00
%global bioc 2.5
%global Rvers 2.10.0
2007-07-17 14:40:00 +00:00
Name: R-%{packname}
2009-11-21 11:17:51 +00:00
Version: 1.10.0
Release: 1%{?dist}
2008-01-08 01:22:51 +00:00
Summary: A matrix data storage object method from bioconductor
2007-07-17 14:40:00 +00:00
Summary(fr): Stockage des données d'un matrice dans un fichier temporaire
Group: Applications/Engineering
2008-01-08 01:22:51 +00:00
License: LGPLv2+
2009-03-21 18:43:26 +00:00
URL: http://bioconductor.org/packages/release/bioc/html/BufferedMatrix.html
Source0: http://bioconductor.org/packages/release/bioc/src/contrib/%{packname}_%{version}.tar.gz
2007-07-17 14:40:00 +00:00
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
2009-11-21 11:17:51 +00:00
BuildRequires: R-devel >= %{Rvers} tetex-latex
Requires: R >= %{Rvers}
Requires(post): R
2007-07-17 14:40:00 +00:00
Requires(postun): R
%package devel
2009-11-21 11:17:51 +00:00
Summary: Development files for %{name}
2007-07-17 14:40:00 +00:00
Group: Development/Libraries
Requires: %{name} = %{version}
%description
A tabular style data object where most data is stored outside main memory.
A buffer is used to speed up access to data.
2008-01-08 01:22:51 +00:00
This library is part of the bioconductor (bioconductor.org) project.
2007-07-17 14:40:00 +00:00
%description -l fr
Une table de données dans laquelle la plus part des données sont stocké,
en dehors de la mémoire principale. Une mémoire tampon est utilisé pour
accélérer l'accès aux données.
%description devel
The %{name}-devel package contains Header and libraries files for
developing applications that use %{name}
%prep
%setup -c -q -n %{packname}
%build
%install
2009-03-21 18:43:26 +00:00
rm -rf %{buildroot}i
2007-07-17 14:40:00 +00:00
sed -i -e 's/\r$//' %{packname}/inst/doc/BufferedMatrix.Rnw
mkdir -p %{buildroot}%{_libdir}/R/library
2009-03-21 18:43:26 +00:00
%{_bindir}/R CMD INSTALL -l $RPM_BUILD_ROOT%{_libdir}/R/library %{packname}
2007-07-17 14:40:00 +00:00
2009-03-21 18:43:26 +00:00
# Clean up in advance of check
2007-07-17 14:40:00 +00:00
test -d %{packname}/src && (cd %{packname}/src; rm -f *.o *.so)
rm -rf %{buildroot}%{_libdir}/R/library/R.css
2009-03-21 18:43:26 +00:00
## Change the header of place for the -devel --> Removed
## see: https://www.redhat.com/archives/fedora-r-devel-list/2009-March/msg00001.html
2009-04-28 18:02:36 +00:00
2009-03-21 18:43:26 +00:00
#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/
2007-07-17 14:40:00 +00:00
%check
%{_bindir}/R CMD check %{packname}
%clean
rm -rf %{buildroot}
%files
%defattr(-, root, root, -)
%dir %{_libdir}/R/library/%{packname}
%{_libdir}/R/library/%{packname}/INDEX
%{_libdir}/R/library/%{packname}/Meta/
%{_libdir}/R/library/%{packname}/R/
%{_libdir}/R/library/%{packname}/help/
%{_libdir}/R/library/%{packname}/libs/
2008-05-02 08:35:52 +00:00
%{_libdir}/R/library/%{packname}/NAMESPACE
2007-07-17 14:40:00 +00:00
%doc %{_libdir}/R/library/%{packname}/doc
%doc %{_libdir}/R/library/%{packname}/DESCRIPTION
%doc %{_libdir}/R/library/%{packname}/html
%files devel
%defattr(-,root,root,-)
2009-03-22 09:52:42 +00:00
%{_libdir}/R/library/%{packname}/include/
2007-07-17 14:40:00 +00:00
%changelog
2009-11-21 11:17:51 +00:00
* Sat Nov 21 2009 pingou <pingou@pingoured.fr> 1.10.0-1
- Update to 1.10.0
- Remove %%post and %%postun
- Adapt %%files to R-2.10.0
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
2009-04-28 18:02:36 +00:00
* Tue Apr 28 2009 pingou <pingou@pingoured.fr> 1.8.0-1
- Update to Bioconductor 2.4 and R-2.9.0
2009-03-22 09:52:42 +00:00
* Sun Mar 22 2009 pingou <pingou@pingoured.fr> - 1.6.0-2
- -devel should contain only the folder include !
2009-03-21 18:43:26 +00:00
* 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
2008-12-01 10:01:42 +00:00
* Mon Dec 01 2008 Pingou <pingoufc4@yahoo.fr> 1.4.0-2
- Change own directory -- #473617
2008-05-02 08:35:52 +00:00
* Fri May 02 2008 Pingou <pingoufc4@yahoo.fr> 1.4.0-1
- Update to bioconductor 2.2
2008-02-19 19:30:06 +00:00
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.2.0-5
- Autorebuild for GCC 4.3
2008-02-09 20:02:45 +00:00
* Sat Feb 09 2008 Pingou <pingoufc4@yahoo.fr> 1.2.0-4
- Typo error on the changelog
* Sat Feb 09 2008 Pingou <pingoufc4@yahoo.fr> 1.2.0-3
2008-02-09 19:59:10 +00:00
- Change the URL
2008-01-08 01:22:51 +00:00
* Tue Jan 08 2008 Pingou <pingoufc4@yahoo.fr> 1.2.0-2
- Change on the BR
2007-11-27 07:10:29 +00:00
* Tue Nov 27 2007 Pingou <pingoufc4@yahoo.fr> 1.2.0-1
- Update to version 1.2.0
2007-08-29 05:24:22 +00:00
* Wed Aug 29 2007 Fedora Release Engineering <rel-eng at fedoraproject dot org> - 1.0.1-6
- Rebuild for selinux ppc32 issue.
2007-07-17 14:40:00 +00:00
* Wed Jul 11 2007 Pingou <pingoufc4@yahoo.fr> 1.0.1-5
- Change in the files section to fit the guidelines
2007-11-27 07:10:29 +00:00
2007-07-17 14:40:00 +00:00
* Wed Jul 11 2007 Pingou <pingoufc4@yahoo.fr> 1.0.1-4
- Change in the spec to remove the %%{__**} form in the macro
2007-11-27 07:10:29 +00:00
2007-07-17 14:40:00 +00:00
* Tue Jul 10 2007 Pingou <pingoufc4@yahoo.fr> 1.0.1-3
- Change in post and postun to fit the packaging guidelines
- Change in the prep section to fit the guidelines
2007-11-27 07:10:29 +00:00
2007-07-17 14:40:00 +00:00
* Thu Jul 05 2007 Pingou <pingoufc4@yahoo.fr> 1.0.1-2
- Fix install include
2007-11-27 07:10:29 +00:00
2007-07-17 14:40:00 +00:00
* Mon Jul 02 2007 Pingou <pingoufc4@yahoo.fr> 1.0.1-1
- initial package for Fedora