SPECS (AC-branch): acroread.spec - 8.1.3 for Ac. openldap version fixed to 2.3

marcus marcus at pld-linux.org
Fri Nov 14 21:54:07 CET 2008


Author: marcus                       Date: Fri Nov 14 20:54:07 2008 GMT
Module: SPECS                         Tag: AC-branch
---- Log message:
- 8.1.3 for Ac. openldap version fixed to 2.3

---- Files affected:
SPECS:
   acroread.spec (1.71.2.3 -> 1.71.2.3.2.1) 

---- Diffs:

================================================================
Index: SPECS/acroread.spec
diff -u SPECS/acroread.spec:1.71.2.3 SPECS/acroread.spec:1.71.2.3.2.1
--- SPECS/acroread.spec:1.71.2.3	Sat Apr 21 08:30:43 2007
+++ SPECS/acroread.spec	Fri Nov 14 21:54:02 2008
@@ -5,16 +5,16 @@
 #
 %define		base_name	acroread
 Summary:	Adobe Acrobat Reader
-Summary(pl):	Adobe Acrobat Reader - czytnik plików PDF
-Summary(ru):	ðÒÏÇÒÁÍÍÁ ÄÌÑ ÞÔÅÎÉÑ ÄÏËÕÍÅÎÔÏ× × ÆÏÒÍÁÔÅ PDF ÏÔ Adobe
-Summary(uk):	ðÒÏÇÒÁÍÁ ÄÌÑ ÞÉÔÁÎÎÑ ÄÏËÕÍÅÎÔ¦× Õ ÆÏÒÍÁÔ¦ PDF ×¦Ä Adobe
+Summary(pl.UTF-8):	Adobe Acrobat Reader - czytnik plików PDF
+Summary(ru.UTF-8):	Программа для чтения документов в формате PDF от Adobe
+Summary(uk.UTF-8):	Програма для читання документів у форматі PDF від Adobe
 %if %{with license_agreement}
 Name:		%{base_name}
 %else
 Name:		%{base_name}-installer
 %endif
 %define	_rel	1
-Version:	7.0.9
+Version:	8.1.3
 Release:	%{_rel}%{?with_license_agreement:wla}
 Epoch:		1
 License:	distribution restricted (http://www.adobe.com/products/acrobat/distribute.html)
@@ -23,72 +23,67 @@
 # - distribution on CD requires signing Distribution Agreement (see URL above)
 Group:		X11/Applications/Graphics
 %if %{with license_agreement}
-Source0:	http://ardownload.adobe.com/pub/adobe/reader/unix/7x/%{version}/enu/AdobeReader_enu-%{version}-1.i386.tar.gz
-# NoSource0-md5:	a8e79a1af58f90640cf9e7e1532a5745
+Source0:	http://ardownload.adobe.com/pub/adobe/reader/unix/8.x/8.1.3/enu/AdobeReader_enu-%{version}-1.i486.tar.bz2
+# NoSource0-md5:	c85096f401772f435866a66ec06352f1
+NoSource:	0
 %else
-Source0:	license-installer.sh
+Source1:	license-installer.sh
 %endif
-# please update @COPYSOURCES@ below if you add more Sources.
-Source1:	%{base_name}.desktop
-Source2:	%{base_name}.png
-Patch0:		%{base_name}-expr.patch
-Patch1:		%{base_name}-scim.patch
-Patch2:		%{base_name}-gtk.patch
+# please update @COPYSOURCES@ below if you add more Sources or Patches.
+Source2:	%{base_name}.desktop
+Source3:	%{base_name}.png
 URL:		http://www.adobe.com/products/acrobat/
 %if %{with license_agreement}
-BuildRequires:	rpmbuild(macros) >= 1.236
+BuildRequires:	rpmbuild(macros) >= 1.357
+Requires:	openldap-libs < 2.4
 Requires:	openldap-libs >= 2.3
 %else
 Requires:	rpm-build-tools
 %endif
 ExclusiveArch:	%{ix86}
+ExcludeArch:	i386
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define		_plugindir	%{_libdir}/browser-plugins
-
-# TODO: galeon and skipstone, konqueror, opera.
-# use macro, otherwise extra LF inserted along with the ifarch
-%define	browsers mozilla, mozilla-firefox, seamonkey
-
 %define		platform	intellinux
 %define		tar0		ILINXR.TAR
 %define		tar1		COMMON.TAR
 
 %define		_noautostrip	.*\.api
-%define		_noautoreq	'^lib.*\.so$' '^lib.*\(VERSION\)$'
+%define		_noautoprov	libcrypto\.so.* libssl\.so.* libcurl\.so.* libicu.* libstdc++\.so.* libgcc_s\.so.*
+%define		_noautoreq	%{_noautoprov} '^lib.*\.so$' '^lib.*\(VERSION\)$'
 
 %description
 Adobe(R) Reader(R) is free software that lets you view and print PDF
 files (Portable Document Format) on a variety of hardware and
 operating system platforms.
 
-%description -l pl
-Adobe(R) Reader(R) jest darmowym oprogramowaniem umo¿liwiaj±cym
-ogl±danie oraz drukowanie plików PDF (Portable Document Format) na
-ró¿nych platformach sprzêtowych oraz ró¿nych systemach operacyjnych.
-
-%description -l ru
-ðÒÏÇÒÁÍÍÁ ÄÌÑ ÞÔÅÎÉÑ ÄÏËÕÍÅÎÔÏ× × ÆÏÒÍÁÔÅ Portable Document Format
-(PDF), ÓÇÅÎÅÒÉÒÏ×ÁÎÎÙÈ Adobe Acrobat'ÏÍ.
-
-%description -l uk
-ðÒÏÇÒÁÍÁ ÄÌÑ ÞÉÔÁÎÎÑ ÄÏËÕÍÅÎÔ¦× Õ ÆÏÒÍÁÔ¦ Portable Document Format
-(PDF), ÚÇÅÎÅÒÏ×ÁÎÉÈ Adobe Acrobat'ÏÍ.
+%description -l pl.UTF-8
+Adobe(R) Reader(R) jest darmowym oprogramowaniem umożliwiającym
+oglądanie oraz drukowanie plików PDF (Portable Document Format) na
+różnych platformach sprzętowych oraz różnych systemach operacyjnych.
+
+%description -l ru.UTF-8
+Программа для чтения документов в формате Portable Document Format
+(PDF), сгенерированных Adobe Acrobat'ом.
+
+%description -l uk.UTF-8
+Програма для читання документів у форматі Portable Document Format
+(PDF), згенерованих Adobe Acrobat'ом.
 
 %package -n browser-plugin-%{name}
 Summary:	PDF plugin for Mozilla compatible browsers
-Summary(pl):	Wtyczka PDF dla przegl±darek zgodnych Mozilla
+Summary(pl.UTF-8):	Wtyczka PDF dla przeglÄ…darek zgodnych Mozilla
 Group:		X11/Applications
 Requires:	%{base_name} = %{epoch}:%{version}-%{release}
-Requires:	browser-plugins(%{_target_base_arch})
+Requires:	browser-plugins >= 2.0
 Obsoletes:	acroread-plugin
 Obsoletes:	mozilla-plugin-acroread
 
 %description -n browser-plugin-%{name}
 A Mozilla plugin for displaying PDF (Portable Document Format) files.
 
-%description -n browser-plugin-%{name} -l pl
-Wtyczka Mozilli do wy¶wietlania plików PDF (Portable Document Format).
+%description -n browser-plugin-%{name} -l pl.UTF-8
+Wtyczka Mozilli do wyświetlania plików PDF (Portable Document Format).
 
 %prep
 %if %{with license_agreement}
@@ -96,9 +91,6 @@
 cd AdobeReader
 tar xf %{tar0}
 tar xf %{tar1}
-%patch0 -p1
-%patch1 -p1
-%patch2 -p1
 %endif
 
 %install
@@ -113,35 +105,32 @@
 	s- at RELEASE@-%{release}-g
 	s, at SPECFILE@,%{_datadir}/%{base_name}/%{base_name}.spec,g
 	s, at DATADIR@,%{_datadir}/%{base_name},g
-	s/@COPYSOURCES@/%{base_name}{.desktop,.png,-{expr,scim,gtk}.patch}/g
-' %{SOURCE0} > $RPM_BUILD_ROOT%{_bindir}/%{base_name}.install
+	s/@COPYSOURCES@/%{base_name}{.desktop,.png}/g
+' %{SOURCE1} > $RPM_BUILD_ROOT%{_bindir}/%{base_name}.install
 
 install %{_specdir}/%{base_name}.spec $RPM_BUILD_ROOT%{_datadir}/%{base_name}
-install %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/%{base_name}
 install %{SOURCE2} $RPM_BUILD_ROOT%{_datadir}/%{base_name}
-install %{PATCH0} $RPM_BUILD_ROOT%{_datadir}/%{base_name}
-install %{PATCH1} $RPM_BUILD_ROOT%{_datadir}/%{base_name}
-install %{PATCH2} $RPM_BUILD_ROOT%{_datadir}/%{base_name}
+install %{SOURCE3} $RPM_BUILD_ROOT%{_datadir}/%{base_name}
 
 %else
-install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir}/%{base_name},%{_plugindir}} \
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir}/%{base_name},%{_browserpluginsdir}} \
 	$RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
 
-cd AdobeReader
+# note: there're also AdobeReader/Adobe/Help{,Viewer}
+cd AdobeReader/Adobe/Reader8
 cp -a Reader Resource $RPM_BUILD_ROOT%{_libdir}/%{base_name}
 awk -v INSTDIR=%{_libdir}/%{base_name}/Reader \
 	'/^install_dir=/ {print "install_dir="INSTDIR; next} \
 	{print}' \
 	bin/%{base_name} > $RPM_BUILD_ROOT%{_bindir}/%{base_name}
-install Browser/%{platform}/* $RPM_BUILD_ROOT%{_plugindir}
-install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
-install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
+install Browser/%{platform}/* $RPM_BUILD_ROOT%{_browserpluginsdir}
+install %{SOURCE2} $RPM_BUILD_ROOT%{_desktopdir}
+install %{SOURCE3} $RPM_BUILD_ROOT%{_pixmapsdir}
 
 rm -rf $RPM_BUILD_ROOT%{_libdir}/%{base_name}/Reader/Patch
 
-ln -sf /usr/lib/liblber-2.3.so.0 $RPM_BUILD_ROOT%{_libdir}/%{base_name}/Reader/%{platform}/lib/liblber.so
+ln -sf /usr/lib/libldap-2.3.so.0 $RPM_BUILD_ROOT%{_libdir}/%{base_name}/Reader/%{platform}/lib/liblber.so
 ln -sf /usr/lib/libldap-2.3.so.0 $RPM_BUILD_ROOT%{_libdir}/%{base_name}/Reader/%{platform}/lib/libldap.so
-ln -sf /usr/share/ssl/ca-bundle.crt $RPM_BUILD_ROOT%{_libdir}/%{base_name}/Reader/Cert/curl-ca-bundle.crt
 
 chmod a-x $RPM_BUILD_ROOT%{_libdir}/%{base_name}/Reader/%{platform}/lib/*.so.*
 %endif
@@ -152,44 +141,16 @@
 %if %{without license_agreement}
 %post
 %{_bindir}/%{base_name}.install
+%endif
 
-%else
-
-%triggerin -n browser-plugin-%{name} -- mozilla-firefox
-%nsplugin_install -d %{_libdir}/mozilla-firefox/plugins nppdf.so
-
-%triggerun -n browser-plugin-%{name} -- mozilla-firefox
-%nsplugin_uninstall -d %{_libdir}/mozilla-firefox/plugins nppdf.so
-
-%triggerin -n browser-plugin-%{name} -- mozilla
-%nsplugin_install -d %{_libdir}/mozilla/plugins nppdf.so
-
-%triggerun -n browser-plugin-%{name} -- mozilla
-%nsplugin_uninstall -d %{_libdir}/mozilla/plugins nppdf.so
-
-%triggerin -n browser-plugin-%{name} -- seamonkey
-%nsplugin_install -d %{_libdir}/seamonkey/plugins nppdf.so
-
-%triggerun -n browser-plugin-%{name} -- seamonkey
-%nsplugin_uninstall -d %{_libdir}/seamonkey/plugins nppdf.so
-
-# % triggerin -n browser-plugin-%{name} -- konqueror
-# % nsplugin_install -d %{_libdir}/kde3/plugins/konqueror nppdf.so
-
-# % triggerun -n browser-plugin-%{name} -- konqueror
-# % nsplugin_uninstall -d %{_libdir}/kde3/plugins/konqueror nppdf.so
-
-# % triggerin -n browser-plugin-%{name} -- opera
-# % nsplugin_install -d %{_libdir}/opera/plugins nppdf.so
-
-# % triggerun -n browser-plugin-%{name} -- opera
-# % nsplugin_uninstall -d %{_libdir}/opera/plugins nppdf.so
-
-# as rpm removes the old obsoleted package files after the triggers
-# above are ran, add another trigger to make the links there.
-%triggerpostun -n browser-plugin-%{name} -- mozilla-plugin-acroread, acroread-plugin
-%nsplugin_install -f -d %{_libdir}/mozilla/plugins nppdf.so
+%if %{with license_agreement}
+%post -n browser-plugin-%{name}
+%update_browser_plugins
 
+%postun -n browser-plugin-%{name}
+if [ "$1" = 0 ]; then
+	%update_browser_plugins
+fi
 %endif
 
 %files
@@ -198,37 +159,43 @@
 %attr(755,root,root) %{_bindir}/%{base_name}.install
 %{_datadir}/%{base_name}
 %else
-%doc AdobeReader/{LICREAD.TXT,ReadMe.htm}
+%doc AdobeReader/ReadMe.htm
 %attr(755,root,root) %{_bindir}/*
 %dir %{_libdir}/%{base_name}
 %{_libdir}/%{base_name}/Resource
 %dir %{_libdir}/%{base_name}/Reader
 %{_libdir}/%{base_name}/Reader/help
 %{_libdir}/%{base_name}/Reader/AcroVersion
+%{_libdir}/%{base_name}/Reader/BeyondReader
 %{_libdir}/%{base_name}/Reader/Cert
 %{_libdir}/%{base_name}/Reader/GlobalPrefs
 %{_libdir}/%{base_name}/Reader/HowTo
-%{_libdir}/%{base_name}/Reader/Legal
+%{_libdir}/%{base_name}/Reader/IDTemplates
 %{_libdir}/%{base_name}/Reader/JavaScripts
-%{_libdir}/%{base_name}/Reader/Messages
-%{_libdir}/%{base_name}/Reader/WebSearch
+%{_libdir}/%{base_name}/Reader/Legal
+%{_libdir}/%{base_name}/Reader/Tracker
+%{_libdir}/%{base_name}/Reader/PDFSigQFormalRep.pdf
+%{_libdir}/%{base_name}/Reader/pmd.cer
+%{_libdir}/%{base_name}/Reader/%{platform}/mozilla
 %dir %{_libdir}/%{base_name}/Reader/%{platform}
 %dir %{_libdir}/%{base_name}/Reader/%{platform}/plug_ins
+%dir %{_libdir}/%{base_name}/Reader/%{platform}/plug_ins/Multimedia
 %dir %{_libdir}/%{base_name}/Reader/%{platform}/plug_ins3d
 %attr(755,root,root) %{_libdir}/%{base_name}/Reader/%{platform}/SPPlugins
 %attr(755,root,root) %{_libdir}/%{base_name}/Reader/%{platform}/bin
 %attr(755,root,root) %{_libdir}/%{base_name}/Reader/%{platform}/lib
 %attr(755,root,root) %{_libdir}/%{base_name}/Reader/%{platform}/plug_ins/*.api
 %attr(755,root,root) %{_libdir}/%{base_name}/Reader/%{platform}/plug_ins3d/*.x3d
+%attr(755,root,root) %{_libdir}/%{base_name}/Reader/%{platform}/plug_ins/Multimedia/MPP
 %{_libdir}/%{base_name}/Reader/%{platform}/plug_ins/AcroForm
 %{_libdir}/%{base_name}/Reader/%{platform}/plug_ins/Annotations
-%{_libdir}/%{base_name}/Reader/%{platform}/res
+%{_libdir}/%{base_name}/Reader/%{platform}/plug_ins3d/prc
 %{_desktopdir}/acroread.desktop
 %{_pixmapsdir}/*
 
 %files -n browser-plugin-%{name}
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_plugindir}/*
+%attr(755,root,root) %{_browserpluginsdir}/*
 %endif
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -237,16 +204,69 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
-Revision 1.71.2.3  2007/04/21 06:30:43  ankry
+Revision 1.71.2.3.2.1  2008/11/14 20:54:02  marcus
+- 8.1.3 for Ac. openldap version fixed to 2.3
+
+Revision 1.89  2008/11/11 20:14:59  blues
+- 8.1.3
+- fixes: CVE-2008-2549, CVE-2008-2992, CVE-2008-4812, CVE-2008-4813, CVE-2008-4814, CVE-2008-4815, CVE-2008-4816, CVE-2008-4817
+
+Revision 1.88  2008/08/12 13:34:51  draenog
+- up to 8.1.2 Security Update 1 (fixes CVE-2008-2641, CVE-2008-0883)
+- correct CVE in log for rev. 1.86
+
+Revision 1.87  2008/08/11 06:24:52  paszczus
+- added info about CVE
+
+Revision 1.86  2008-02-10 11:40:32  arekm
+- up to 8.1.2 (security fixes; CVE-2008-0667, CVE-2007-5666, CVE-2007-5659,
+  CVE-2007-5663, CVE-2008-0726, CVE-2008-0655)
+
+Revision 1.85  2008-01-29 10:00:04  hawk
+- renumbered sources so builder script isn't confused by source0 md5
+
+Revision 1.84  2008-01-28 17:45:54  hawk
+- browser-plugins v2
+- proper %post/%postun for plugin subpackage
+- release 2
+
+Revision 1.83  2007-11-05 22:06:55  qboosh
+- updated symlinks for openldap 2.4.x
+- hide private copies of old system libraries from rpm Provides
+
+Revision 1.82  2007/11/05 21:36:35  qboosh
+- NoSource: 0 to stop builder from cvs uping Source0 (and thus sending whole AdobeReader to CVS server)
+
+Revision 1.81  2007/09/19 14:08:08  blues
+- the binary is for i486 at least...
+
+Revision 1.80  2007/09/17 18:45:34  gotar
+- updated COPYSOURCES,
+- packaged mozilla/prefs.js, no more LICREAD.TXT documentation
+
+Revision 1.79  2007/09/17 18:27:34  gotar
+- upgraded to 8.1.1
+
+Revision 1.78  2007/04/21 09:25:31  ankry
 - typo
 
-Revision 1.71.2.2  2007/04/20 13:28:01  ankry
-- proper patches handling (hopefully), rel. 1 again
+Revision 1.77  2007/04/20 13:29:25  ankry
+- proper patches handling (hopefully)
+
+Revision 1.76  2007/04/20 10:47:25  ankry
+- package patches into -installer for without license_agreement
+
+Revision 1.75  2007/04/19 16:36:06  beorn
+- Reverted last change
+
+Revision 1.74  2007/04/19 14:58:30  beorn
+- Removed non-existent patches
+
+Revision 1.73  2007/02/12 21:23:46  glen
+- tabs in preamble
 
-Revision 1.71.2.1  2007/04/20 13:23:33  ankry
-- package pathes into -installer for without license_agreement
-   license-installer.sh need to be fixed to handle them properly
-- rel. 0.1
+Revision 1.72  2007/02/12 00:48:35  baggins
+- converted to UTF-8
 
 Revision 1.71  2007/01/23 19:37:31  qboosh
 - use NoSource-md5
@@ -419,7 +439,7 @@
 - description fixes
 
 Revision 1.25  2003/08/06 16:04:32  kloczek
-- mo¿e wrescie kto¶ wykasuje to konto ?
+- może wrescie ktoś wykasuje to konto ?
 
 Revision 1.24  2003/07/10 14:14:29  qboosh
 - generally NOT distributable
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/acroread.spec?r1=1.71.2.3&r2=1.71.2.3.2.1&f=u



More information about the pld-cvs-commit mailing list