diff --git a/.cvsignore b/.cvsignore index e69de29..d6e6cb7 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +wavethresh_2.2-8.tar.gz diff --git a/R-wavethresh.spec b/R-wavethresh.spec new file mode 100644 index 0000000..e2ccde9 --- /dev/null +++ b/R-wavethresh.spec @@ -0,0 +1,56 @@ +%define packrel 8 +%define packname wavethresh + +Summary: R module, Software to perform wavelet statistics and transforms +Name: R-%{packname} +Version: 2.2 +Release: 2%{?dist} +License: GPL +Group: Applications/Engineering +Source0: ftp://cran.r-project.org/pub/R/contrib/main/%{packname}_%{version}-%{packrel}.tar.gz +URL: http://cran.r-project.org/contrib/main/Descriptions/wavethresh.html + +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Requires: R >= 1.4 +BuildRequires: R >= 1.4, tetex-latex + + +%description +Software to perform 1-d and 2-d wavelet statistics and transforms + +%prep +%setup -q -n %{packname} + +%build + +%install +%{__rm} -rf %{buildroot} + +cd ..; R CMD INSTALL %{packname} -l %{buildroot}%{_libdir}/R/library +%{__rm} -rf %{buildroot}%{_libdir}/R/library/R.css + +%check +cd ..;%{_bindir}/R CMD check %{packname} + +%clean +%{__rm} -rf %{buildroot} + +%post +%{__cat} %{_libdir}/R/library/*/CONTENTS > %{_libdir}/R/doc/html/search/index.txt + +%postun +%{__cat} %{_libdir}/R/library/*/CONTENTS > %{_libdir}/R/doc/html/search/index.txt + +%files +%defattr(-, root, root, -) +%{_libdir}/R/library/%{packname} +%doc DESCRIPTION + +%changelog +* Wed Mar 8 2006 Jose' Matos - 2.2-2 +- Rename License to simply GPL, added DESCRIPTION to %%doc + +* Fri Mar 03 2006 José Matos 2.2-1 +- Initial package creation + diff --git a/sources b/sources index e69de29..0d67fd1 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +13049af3067f3dbd1abd689996c8a7cb wavethresh_2.2-8.tar.gz