From 7e0a21b26f984e7441951aa04529aa66d5384477 Mon Sep 17 00:00:00 2001 From: undefine Date: Wed, 17 Nov 2004 00:42:55 +0000 Subject: [PATCH] - initital Changed files: R-cran-effects.spec -> 1.1 --- R-cran-effects.spec | 55 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 R-cran-effects.spec diff --git a/R-cran-effects.spec b/R-cran-effects.spec new file mode 100644 index 0000000..f57866f --- /dev/null +++ b/R-cran-effects.spec @@ -0,0 +1,55 @@ +%define fversion %(echo %{version} |tr r -) +%define modulename effects +Summary: Effect Displays for Linear and Generalized Linear Models +Summary(pl): Efekty wy¶wietlania dla liniowych i ogólnych liniowych modelów +Name: R-cran-%{modulename} +Version: 1.0r5 +Release: 1 +License: GPL version 2 or newer +Group: Applications/Math +Source0: ftp://stat.ethz.ch/R-CRAN/src/contrib/%{modulename}_%{fversion}.tar.gz +# Source0-md5: 79390a9807537b24e92956a0614c4ac7 +URL: http://socserv.socsci.mcmaster.ca/jfox/ +BuildRequires: R-base >= 2.0.0 +Requires(post,postun): R-base >= 2.0.0 +Requires(post,postun): perl-base +Requires(post,postun): textutils +Requires: R-cran-grid +Requires: R-cran-lattice +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +Graphical and tabular effect displays, e.g., of interactions, for +linear and generalised linear models. + +%description +Graficzne i tablicowe efekty wy¶wietlania, to jest interakcji, do +liniowych i ogólnych modelów liniowych. + +%prep +%setup -q -c + +%build +R CMD build %{modulename} + +%install +rm -rf $RPM_BUILD_ROOT +R CMD INSTALL %{modulename} --library=$RPM_BUILD_ROOT%{_libdir}/R/library/ + +%clean +rm -rf $RPM_BUILD_ROOT + +%post +(cd %{_libdir}/R/library; umask 022; cat */CONTENTS > ../doc/html/search/index.txt + R_HOME=%{_libdir}/R ../bin/Rcmd perl ../share/perl/build-help.pl --htmllist) + +%postun +if [ -f %{_libdir}/R/bin/Rcmd ];then + (cd %{_libdir}/R/library; umask 022; cat */CONTENTS > ../doc/html/search/index.txt + R_HOME=%{_libdir}/R ../bin/Rcmd perl ../share/perl/build-help.pl --htmllist) +fi + +%files +%defattr(644,root,root,755) +%doc %{modulename}/DESCRIPTION +%{_libdir}/R/library/%{modulename} -- 2.43.0