On Tue, 2005-03-15 at 09:50 -0600, Jason L Tibbitts III wrote: > The scripts are interesting as well. They play around with various > ldap libraries in an interesting way. I guess they want to use the > system ones if available and use theirs otherwise. It seems that > would have been more easily done by using -rpath when they linked the > thing. > > Anyone interested on working out a specfile to turn this into a > proper package? Here's mine. I didn't mess with the ldap libraries in it though. Needs the tarball. You'll find the location in the spec file. Marc.
Summary: Adobe Reader for Linux. An application that reads a PDF document. Name: AdobeReader Version: 7.0.0 Release: 1 Copyright: Commercial ExclusiveArch: i386 Group: Applications/Publishing Source0: ftp://ftp.adobe.com/pub/adobe/reader/unix/7x/7.0/enu/AdbeRdr70_linux_enu.tar.gz Url: http://www.adobe.com BuildRoot: %{_tmppath}/%{name}-root Provides: libACE.so, libACE.so(VERSION), libAGM.so, libAGM.so(VERSION), libBIB.so, libBIB.so(VERSION) Provides: libCoolType.so, libCoolType.so(VERSION), libResAccess.so Obsoletes: acrobat, acroread %description Adobe Reader 7.0.0 can read documents in PDF format. Adobe Reader also allows you to search within PDF files, search for PDF files on the internet and participate in collaborative document reviews. %package plugin Summary: Adobe Reader browser plugin Requires: webclient, AdobeReader Obsoletes: acroread-plugin Group: Applications/Publishing %description plugin Adobe Reader 7.0.0 can read documents in PDF format. Adobe Reader also allows you to search within PDF files, search for PDF files on the internet and participate in collaborative document reviews. This package includes a web-browser plugin. # disable build root strip policy %define __spec_install_post /usr/lib/rpm/brp-compress || : # disable the automatic building of -debuginfo packages on RHL 8++ %define debug_package %{nil} %prep %setup -q -n AdobeReader tar -xvf COMMON.TAR tar -xvf ILINXR.TAR %install rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT/%{_libdir}/acroread \ $RPM_BUILD_ROOT/%{_bindir} \ $RPM_BUILD_ROOT/%{_datadir}/applications \ $RPM_BUILD_ROOT/%{_datadir}/applnk/Applications \ $RPM_BUILD_ROOT/%{_datadir}/pixmaps \ $RPM_BUILD_ROOT/%{_prefix}/lib/mozilla/plugins install -m 755 Browser/intellinux/nppdf.so $RPM_BUILD_ROOT/%{_prefix}/lib/mozilla/plugins/ install -m 0644 Resource/Support/AdobeReader_GNOME.desktop $RPM_BUILD_ROOT/%{_datadir}/applications/AdobeReader.desktop install -m 0644 Resource/Support/AdobeReader_KDE.desktop $RPM_BUILD_ROOT/%{_datadir}/applnk/Applications/AdobeReader.desktop install -m 0644 Resource/Icons/AdobeReader.png $RPM_BUILD_ROOT/%{_datadir}/pixmaps/ chmod 0755 Reader/intellinux/lib/* chmod 0755 Reader/intellinux/bin/* chmod 0755 Reader/intellinux/plug_ins/* cp -pr bin $RPM_BUILD_ROOT/%{_libdir}/acroread/ cp -pr Reader $RPM_BUILD_ROOT/%{_libdir}/acroread/ cp -pr Resource $RPM_BUILD_ROOT/%{_libdir}/acroread/ ln -sf %{_libdir}/acroread/bin/acroread $RPM_BUILD_ROOT/%{_bindir}/acroread %clean rm -rf $RPM_BUILD_ROOT %post plugin if [ "$1" != "0" ]; then for i in /usr/lib/mozilla-* do if [ -d $i/plugins ]; then ln -sf /usr/lib/mozilla/plugins/nppdf.so $i/plugins/ fi done fi %postun plugin if [ "$1" != "0" ]; then for i in /usr/lib/mozilla-* do rm -f $i/plugins/nppdf.so done fi %files %defattr(-, root, root) %doc LICREAD.TXT README %dir %{_libdir}/acroread %{_libdir}/acroread/* %{_bindir}/* %{_datadir}/applications/* %{_datadir}/applnk/Applications/* %{_datadir}/pixmaps/* %files plugin %defattr(-, root, root) %attr(0755,root,root) %{_libdir}/mozilla/plugins/* %changelog * Tue Mar 15 2005 Marc Deslauriers <marcdeslauriers@xxxxxxxxxxxx> 7.0.0-1 - Initial release
Attachment:
signature.asc
Description: This is a digitally signed message part