fix library handling
This commit is contained in:
parent
6479573a06
commit
804dc02865
13
R.spec
13
R.spec
|
@ -1,6 +1,6 @@
|
||||||
Name: R
|
Name: R
|
||||||
Version: 2.1.0
|
Version: 2.1.0
|
||||||
Release: 1
|
Release: 2
|
||||||
Summary: A language for data analysis and graphics
|
Summary: A language for data analysis and graphics
|
||||||
URL: http://www.r-project.org
|
URL: http://www.r-project.org
|
||||||
Source0: ftp://cran.r-project.org/pub/R/src/base/R-2/R-%{version}.tar.gz
|
Source0: ftp://cran.r-project.org/pub/R/src/base/R-2/R-%{version}.tar.gz
|
||||||
|
@ -146,12 +146,16 @@ rm -f ${RPM_BUILD_ROOT}%{_libdir}/R/doc/html/search/index.txt
|
||||||
(cd %{buildroot}%{_libdir}/R;
|
(cd %{buildroot}%{_libdir}/R;
|
||||||
rm -f AUTHORS COPYING COPYING.LIB COPYRIGHTS FAQ NEWS ONEWS RESOURCES THANKS)
|
rm -f AUTHORS COPYING COPYING.LIB COPYRIGHTS FAQ NEWS ONEWS RESOURCES THANKS)
|
||||||
|
|
||||||
|
mkdir -p $RPM_BUILD_ROOT/etc/ld.so.conf.d
|
||||||
|
echo "%{_libdir}/R/lib" > $RPM_BUILD_ROOT/etc/ld.so.conf.d/%{name}-%{_arch}.conf
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
%{_bindir}/R
|
%{_bindir}/R
|
||||||
%{_libdir}/R
|
%{_libdir}/R
|
||||||
%{_infodir}/R-*.info*
|
%{_infodir}/R-*.info*
|
||||||
%{_mandir}/man1/*
|
%{_mandir}/man1/*
|
||||||
|
/etc/ld.so.conf.d/*
|
||||||
%doc AUTHORS CAPABILITIES COPYING COPYING.LIB COPYRIGHTS FAQ NEWS
|
%doc AUTHORS CAPABILITIES COPYING COPYING.LIB COPYRIGHTS FAQ NEWS
|
||||||
%doc ONEWS README RESOURCES THANKS VERSION Y2K
|
%doc ONEWS README RESOURCES THANKS VERSION Y2K
|
||||||
%doc doc/manual/R-admin.pdf
|
%doc doc/manual/R-admin.pdf
|
||||||
|
@ -185,6 +189,10 @@ for doc in admin exts FAQ intro lang; do
|
||||||
/sbin/install-info ${file} %{_infodir}/dir 2>/dev/null
|
/sbin/install-info ${file} %{_infodir}/dir 2>/dev/null
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
/sbin/ldconfig
|
||||||
|
|
||||||
|
%postun
|
||||||
|
/sbin/ldconfig
|
||||||
|
|
||||||
# Update package indices
|
# Update package indices
|
||||||
%{_bindir}/R CMD perl %{_libdir}/R/share/perl/build-help.pl --htmllists > /dev/null 2>/dev/null
|
%{_bindir}/R CMD perl %{_libdir}/R/share/perl/build-help.pl --htmllists > /dev/null 2>/dev/null
|
||||||
|
@ -212,6 +220,9 @@ fi
|
||||||
/sbin/ldconfig
|
/sbin/ldconfig
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Apr 18 2005 Tom "spot" Callaway <tcallawa@redhat.com> 2.1.0-2
|
||||||
|
- fix library handling
|
||||||
|
|
||||||
* Mon Apr 18 2005 Tom "spot" Callaway <tcallawa@redhat.com> 2.1.0-1
|
* Mon Apr 18 2005 Tom "spot" Callaway <tcallawa@redhat.com> 2.1.0-1
|
||||||
- 2.1.0, fc3 package
|
- 2.1.0, fc3 package
|
||||||
- The GNOME GUI is unbundled, now provided as a package on CRAN
|
- The GNOME GUI is unbundled, now provided as a package on CRAN
|
||||||
|
|
Loading…
Reference in New Issue