]> git.pld-linux.org Git - packages/R-cran-effects.git/blame - R-cran-effects.spec
- tabs in preamble
[packages/R-cran-effects.git] / R-cran-effects.spec
CommitLineData
7e0a21b2 1%define fversion %(echo %{version} |tr r -)
2%define modulename effects
3Summary: Effect Displays for Linear and Generalized Linear Models
470eaf45 4Summary(pl.UTF-8): Wyświetlanie efektów dla liniowych i uogólnionych modeli liniowych
7e0a21b2 5Name: R-cran-%{modulename}
6Version: 1.0r5
37cb7cd6 7Release: 2
0ae80b16 8License: GPL v2+
7e0a21b2 9Group: Applications/Math
10Source0: ftp://stat.ethz.ch/R-CRAN/src/contrib/%{modulename}_%{fversion}.tar.gz
11# Source0-md5: 79390a9807537b24e92956a0614c4ac7
12URL: http://socserv.socsci.mcmaster.ca/jfox/
37cb7cd6
JR
13BuildRequires: R-base >= 2.4.0
14Requires(post,postun): R-base >= 2.4.0
7e0a21b2 15Requires(post,postun): perl-base
16Requires(post,postun): textutils
17Requires: R-cran-grid
18Requires: R-cran-lattice
19BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21%description
22Graphical and tabular effect displays, e.g., of interactions, for
23linear and generalised linear models.
24
7ce85e1a
JR
25%description -l pl.UTF-8
26Graficzne i tablicowe wyświetlanie efektów, np. interakcji, dla
27liniowych i uogólnionych modeli liniowych.
7e0a21b2 28
29%prep
30%setup -q -c
31
32%build
33R CMD build %{modulename}
34
35%install
36rm -rf $RPM_BUILD_ROOT
37R CMD INSTALL %{modulename} --library=$RPM_BUILD_ROOT%{_libdir}/R/library/
38
39%clean
40rm -rf $RPM_BUILD_ROOT
41
42%post
43(cd %{_libdir}/R/library; umask 022; cat */CONTENTS > ../doc/html/search/index.txt
37cb7cd6 44 R_HOME=%{_libdir}/R ../bin/Rcmd perl ../share/perl/build-help.pl --index)
7e0a21b2 45
46%postun
47if [ -f %{_libdir}/R/bin/Rcmd ];then
48 (cd %{_libdir}/R/library; umask 022; cat */CONTENTS > ../doc/html/search/index.txt
37cb7cd6 49 R_HOME=%{_libdir}/R ../bin/Rcmd perl ../share/perl/build-help.pl --index)
7e0a21b2 50fi
51
52%files
53%defattr(644,root,root,755)
54%doc %{modulename}/DESCRIPTION
55%{_libdir}/R/library/%{modulename}
This page took 0.055201 seconds and 4 git commands to generate.