]> git.pld-linux.org Git - packages/R-cran-Formula.git/blame - R-cran-Formula.spec
- drop non-working post scriptlets
[packages/R-cran-Formula.git] / R-cran-Formula.spec
CommitLineData
e1545ba5
JR
1%define fversion %(echo %{version} |tr r -)
2%define modulename Formula
3Summary: Extended Model Formulas
4Name: R-cran-%{modulename}
5Version: 1.1r1
c3309604 6Release: 2
e1545ba5
JR
7License: GPL v2+
8Group: Applications/Math
9Source0: ftp://stat.ethz.ch/R-CRAN/src/contrib/%{modulename}_%{fversion}.tar.gz
10# Source0-md5: bf47f043979dc1587c442aca1d8ad4fa
11URL: http://socserv.socsci.mcmaster.ca/jfox/
12BuildRequires: R >= 2.8.1
13BuildRequires: texlive-tex-thumbpdf
14Requires(post,postun): R >= 2.8.1
15Requires(post,postun): perl-base
16Requires(post,postun): textutils
17Requires: R
18BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20%description
21Infrastructure for extended formulas with multiple parts on
22the right-hand side and/or multiple responses on the left-hand side.
23
24%prep
25%setup -q -c
26
27%build
28R CMD build %{modulename}
29
30%install
31rm -rf $RPM_BUILD_ROOT
32install -d $RPM_BUILD_ROOT%{_libdir}/R/library/
33R CMD INSTALL %{modulename} --library=$RPM_BUILD_ROOT%{_libdir}/R/library/
34
35%clean
36rm -rf $RPM_BUILD_ROOT
37
e1545ba5
JR
38%files
39%defattr(644,root,root,755)
40%doc %{modulename}/DESCRIPTION
41%{_libdir}/R/library/%{modulename}
This page took 0.084772 seconds and 4 git commands to generate.