]> git.pld-linux.org Git - packages/R-cran-fracdiff.git/commitdiff
- initital AC-STABLE auto/ac/R-cran-fracdiff-1_1r1-1
authorundefine <undefine@pld-linux.org>
Tue, 16 Nov 2004 22:50:41 +0000 (22:50 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    R-cran-fracdiff.spec -> 1.1

R-cran-fracdiff.spec [new file with mode: 0644]

diff --git a/R-cran-fracdiff.spec b/R-cran-fracdiff.spec
new file mode 100644 (file)
index 0000000..15b9b43
--- /dev/null
@@ -0,0 +1,49 @@
+%define                fversion        %(echo %{version} |tr r -)
+%define                modulename      fracdiff
+Summary:       Fractionally differenced ARIMA (p,d,q) models
+Summary(pl):   Frakcyjnie ró¿ni±ce modele ARIMA (p,d,q)
+Name:          R-cran-%{modulename}
+Version:       1.1r1
+Release:       1
+License:       GPL version 2 or later
+Group:         Applications/Math
+Source0:       ftp://stat.ethz.ch/R-CRAN/src/contrib/%{modulename}_%{fversion}.tar.gz
+# Source0-md5: e1f624b063789f21c74d85ebaeda60fa
+BuildRequires: R-base >= 2.0.0
+Requires(post,postun): R-base >= 2.0.0
+Requires(post,postun): perl-base
+Requires(post,postun): textutils
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Maximum likelihood estimation of the parameters of a fractionally
+differenced ARIMA(p,d,q) model (Haslett and Raftery, Appl.Statistics,
+1989).
+
+%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,README,ChangeLog}
+%{_libdir}/R/library/%{modulename}
This page took 0.061919 seconds and 4 git commands to generate.