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