Hello community,

here is the log from the commit of package acroread.1365 for 
openSUSE:12.2:NonFree:Update checked in at 2013-02-25 10:44:22
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:12.2:NonFree:Update/acroread.1365 (Old)
 and      /work/SRC/openSUSE:12.2:NonFree:Update/.acroread.1365.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "acroread.1365", Maintainer is ""

Changes:
--------
New Changes file:

--- /dev/null   2013-02-09 11:18:20.872010756 +0100
+++ 
/work/SRC/openSUSE:12.2:NonFree:Update/.acroread.1365.new/acroread-cmaps.changes
    2013-02-25 10:44:25.000000000 +0100
@@ -0,0 +1,38 @@
+-------------------------------------------------------------------
+Wed Oct  6 22:25:36 UTC 2010 - mrd...@opensuse.org
+
+-bump the release version, no source changes 
+
+-------------------------------------------------------------------
+Mon Oct 19 20:51:14 CEST 2009 - p...@suse.de
+
+- Update fontpacks to 9.x versions
+- Adapt paths for acroread 9.x
+
+-------------------------------------------------------------------
+Tue Jul 15 18:20:18 CEST 2008 - mfab...@suse.de
+
+- bnc#409272: fix locale() tags in .spec file: install
+  acroread-cmaps and fonts only if acroread is already installed.
+
+-------------------------------------------------------------------
+Tue Feb 05 12:08:23 CET 2008 - mfab...@suse.de
+
+- update fontpackages to the final release for 8.1.2.
+  (now a Gothic font for Japanese is included.)
+
+-------------------------------------------------------------------
+Fri Jan 11 18:37:07 CET 2008 - mfab...@suse.de
+
+- use fdupes only for openSUSE >= 10.3.
+
+-------------------------------------------------------------------
+Fri Jan 11 16:18:10 CET 2008 - mfab...@suse.de
+
+- adapt paths for acroread 8.1.2.
+
+-------------------------------------------------------------------
+Fri Oct 12 14:10:51 CEST 2007 - mfab...@suse.de
+
+- new packages with CMaps and fonts for Chinese, Japanese,
+  and Korean.
New Changes file:

--- /dev/null   2013-02-09 11:18:20.872010756 +0100
+++ /work/SRC/openSUSE:12.2:NonFree:Update/.acroread.1365.new/acroread.changes  
2013-02-25 10:44:25.000000000 +0100
@@ -0,0 +1,625 @@
+-------------------------------------------------------------------
+Fri Feb 22 09:06:44 UTC 2013 - b...@suse.com
+
+- Update to 9.5.4 for bnc#803939(swampid#51319).
+  CVE-2013-0640, CVE-2013-0641
+
+-------------------------------------------------------------------
+Mon Jan 14 08:42:58 UTC 2013 - b...@suse.com
+
+- Update to 9.5.3 for bnc#797529(swampid#50707).
+  CVE-2012-1530, CVE-2013-0601, CVE-2013-0602, CVE-2013-0603,
+  CVE-2013-0604, CVE-2013-0605, CVE-2013-0606, CVE-2013-0607,
+  CVE-2013-0608, CVE-2013-0609, CVE-2013-0610, CVE-2013-0611,
+  CVE-2013-0612, CVE-2013-0613, CVE-2013-0614, CVE-2013-0615,
+  CVE-2013-0616, CVE-2013-0617, CVE-2013-0618, CVE-2013-0619,
+  CVE-2013-0620, CVE-2013-0621, CVE-2013-0622, CVE-2013-0623,
+  CVE-2013-0624, CVE-2013-0626, CVE-2013-0627
+- move the browser plugin to a subpackage(bnc#768492, bnc#757393).
+- Update acroread.patch, cause upstream already have some part.
+
+-------------------------------------------------------------------
+Thu Jun 14 21:07:29 UTC 2012 - mrd...@opensuse.org
+
+- Fix build in Factory by removing  -Wl from the suse-do-not-grab
+  server makefile
+
+-------------------------------------------------------------------
+Fri Apr 13 09:10:31 UTC 2012 - b...@suse.com
+
+- Update to 9.5.1 for bnc#756574(swampid#46644).
+  CVE-2012-0774, CVE-2012-0775, CVE-2012-0777
+
+-------------------------------------------------------------------
+Wed Jan 11 09:46:55 UTC 2012 - b...@suse.com
+
+- Update to 9.4.7 for bnc#735275(swampid#44853).
+  CVE-2011-4369
+
+-------------------------------------------------------------------
+Fri Dec  9 11:13:21 UTC 2011 - co...@suse.com
+
+- remove _service file, too fragile
+
+-------------------------------------------------------------------
+Fri Nov 11 10:27:51 UTC 2011 - b...@suse.com
+
+- Update to 9.4.6 for bnc#717724(swampid#44054).
+  CVE-2011-1353, CVE-2011-2431, CVE-2011-2432, CVE-2011-2433,
+  CVE-2011-2434, CVE-2011-2435, CVE-2011-2436, CVE-2011-2437,
+  CVE-2011-2438, CVE-2011-2439, CVE-2011-2440, CVE-2011-2441,
+  CVE-2011-2442
+
+-------------------------------------------------------------------
+Tue Mar  1 10:51:43 UTC 2011 - lnus...@suse.de
+
+- Update to 9.4.2 (bnc#669550).
+  CVE Numbers: CVE-2010-4091, CVE-2011-0562, CVE-2011-0563, CVE-2011-0564,
+  CVE-2011-0565, CVE-2011-0566, CVE-2011-0567, CVE-2011-0568, CVE-2011-0570,
+  CVE-2011-0585, CVE-2011-0586, CVE-2011-0587, CVE-2011-0588, CVE-2011-0589,
+  CVE-2011-0590, CVE-2011-0591, CVE-2011-0592, CVE-2011-0593, CVE-2011-0594,
+  CVE-2011-0595, CVE-2011-0596, CVE-2011-0598, CVE-2011-0599, CVE-2011-0600,
+  CVE-2011-0602, CVE-2011-0603, CVE-2011-0604, CVE-2011-0605, CVE-2011-0606
+- use source service
+
+-------------------------------------------------------------------
+Fri Dec  3 04:14:28 UTC 2010 - b...@novell.com
+
+- Update to 9.4.1 for bnc#651232 (swampid#37028).
+  Fix a memory corruption vulnerability that could potentially
+  lead to code execution (CVE-2010-4091).
+
+-------------------------------------------------------------------
+Wed Oct  6 21:03:50 UTC 2010 - mrd...@opensuse.org
+
+- Update to 9.4 for security fixes bnc#638466 swampid#36257
+- CVE-2010-2883 CVE-2010-2884 CVE-2010-2887 CVE-2010-2888
+- CVE-2010-2889 CVE-2010-2890 CVE-2010-3619 CVE-2010-3620
+- CVE-2010-3621 CVE-2010-3622 CVE-2010-3623 CVE-2010-3624
+- CVE-2010-3625 CVE-2010-3626 CVE-2010-3627 CVE-2010-3628
+- CVE-2010-3629 CVE-2010-3630 CVE-2010-3631 CVE-2010-3632
+- CVE-2010-3658 CVE-2010-3656 CVE-2010-3657
+
+-------------------------------------------------------------------
+Thu Aug 26 08:24:06 UTC 2010 - b...@novell.com
+
+- Update to 9.3.4 for integer overflow(bnc#629134, swampid#35325).
+  CVE-2010-2862, CVE-2010-1240.
+- Dismiss many nasty symlink messages(bnc#627964).
+- Add the manual for acroread(bnc#631267).
+- Fix prints dirname error upon start(bnc#574580).
+
+-------------------------------------------------------------------
+Thu Jul 01 15:03:09 CET 2010 - b...@suse.de
+
+- Update to 9.3.3 for security fixes(bnc#612064, swampid#34217).
+  CVE-2010-1297, CVE-2010-1240, CVE-2010-1285, CVE-2010-1295,
+  CVE-2010-2168, CVE-2010-2201, CVE-2010-2202, CVE-2010-2203,
+  CVE-2010-2204, CVE-2010-2205, CVE-2010-2206, CVE-2010-2207,
+  CVE-2010-2208, CVE-2010-2209, CVE-2010-2210, CVE-2010-2211,
+  CVE-2010-2212.
+
+-------------------------------------------------------------------
+Mon Apr 19 14:59:19 CET 2010 - b...@suse.de
+
+- Update to 9.3.2 for security fixes(bnc#595108, swampid#32589).
+  CVE-2010-0190, CVE-2010-0191, CVE-2010-0192, CVE-2010-0193,
+  CVE-2010-0194, CVE-2010-0195, CVE-2010-0196, CVE-2010-0197,
+  CVE-2010-0198, CVE-2010-0199, CVE-2010-0201, CVE-2010-0202,
+  CVE-2010-0203, CVE-2010-0204, CVE-2010-1241
+
+-------------------------------------------------------------------
+Fri Jan 22 05:07:48 CET 2010 - b...@suse.de
+
+- Update to 9.3 for security fixes(bnc#564742, swampid#29655).
+  CVE-2009-3953, CVE-2009-3954, CVE-2009-3955, CVE-2009-3956,
+  CVE-2009-3957, CVE-2009-3958, CVE-2009-3959, CVE-2009-4324
+
+-------------------------------------------------------------------
+Mon Oct 19 19:15:31 CEST 2009 - p...@suse.de
+
+- Update to 9.2 because of security fixes (bnc#546083)
+
+-------------------------------------------------------------------
+Wed Sep  2 13:29:37 CEST 2009 - p...@suse.de
+
+- Add a Source: entry for the rpmlintrc file.
+
+-------------------------------------------------------------------
+Thu Aug 27 14:46:19 CEST 2009 - p...@suse.de
+
+- Update to 9.1.3
+- Add an rpmlintrc file
+- Don't list acroread.patch as a patch but rather as Source: so
+  that rpmlint won't complain.
+
+-------------------------------------------------------------------
+Tue May 19 03:53:27 CEST 2009 - crrodrig...@suse.de
+
+- VUL-0: acroread: Adobe Reader 'getAnnots()' 
+  Javascript Function Remote Code Execution [bnc#499097] 
+
+-------------------------------------------------------------------
+Wed Mar 25 15:35:49 CET 2009 - crrodrig...@suse.de
+
+- VUL-0: acroread security update [bnc#488619] 
+
+-------------------------------------------------------------------
+Mon Jan 19 16:20:46 CET 2009 - mfab...@suse.de
+
+- bnc#457928: add the workaround to copy the xulrunner-1.9
+  directory to the home directory of the user if libgtkembedmoz.so
+  is not available (see comment#24 of bnc#457928).
+
+-------------------------------------------------------------------
+Mon Jan 19 14:35:32 CET 2009 - mfab...@suse.de
+
+- bnc#467195: require UTF-16.so and ISO8859-1.so in order to
+  get the package glibc-locale-32bit required when acroead is
+  installed on a 64bit system.
+
+-------------------------------------------------------------------
+Thu Dec 11 15:39:15 CET 2008 - hvo...@suse.de
+
+- bnc#457928: temporarily get rid of the libgtkembedmoz.so
+  requirement. xulrunner-181 got dropped
+
+-------------------------------------------------------------------
+Wed Nov 05 12:39:25 CET 2008 - mfab...@suse.de
+
+- bnc#441739, bnc#397839: update to 8.1.3 for security reasons:
+  http://www.adobe.com/support/security/bulletins/apsb08-19.html
+  CVE-2008-2992, CVE-2008-2549, CVE-2008-4812, CVE-2008-4813,
+  CVE-2008-4817, CVE-2008-4816, CVE-2008-4814, CVE-2008-4815
+
+-------------------------------------------------------------------
+Wed Aug 13 17:15:52 CEST 2008 - r...@suse.de
+
+- add exclusivearch 
+
+-------------------------------------------------------------------
+Mon Jul 21 16:04:16 CEST 2008 - mfab...@suse.de
+
+- bnc#404976: security update, CVS-2008-2641.
+- remove hunks to use mktemp from acroread.patch, the problem
+  has been fixed upstream now, mktemp is used if available.
+
+-------------------------------------------------------------------
+Mon Apr 28 18:23:14 CEST 2008 - mfab...@suse.de
+
+- bnc#382739: use more robust code in the startscript to find
+  libgtkembedmoz.so. Only use the value found in ~/.adobe/
+  if it really points to a libgtkembedmoz.so, if not search
+  anew in the system.
+
+-------------------------------------------------------------------
+Wed Apr 23 18:34:42 CEST 2008 - mfab...@suse.de
+
++++ 428 more lines (skipped)
++++ between /dev/null
++++ and 
/work/SRC/openSUSE:12.2:NonFree:Update/.acroread.1365.new/acroread.changes

New:
----
  AdbeRdr9.5.4-1_i486linux_enu.tar.bz2
  FontPack910_chs_i486-linux.tar.bz2
  FontPack910_cht_i486-linux.tar.bz2
  FontPack910_jpn_i486-linux.tar.bz2
  FontPack910_kor_i486-linux.tar.bz2
  acroread-cmaps.changes
  acroread-cmaps.spec
  acroread-rpmlintrc
  acroread.changes
  acroread.desktop
  acroread.patch
  acroread.png
  acroread.spec
  install.patch
  suse-do-not-grab-server.tar.bz2

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ acroread-cmaps.spec ++++++
#
# spec file for package acroread-cmaps
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


Name:           acroread-cmaps
%if %suse_version > 1020
BuildRequires:  fdupes
%endif
Url:            http://www.adobe.com/products/acrobat/readermain.html
Provides:       locale(acroread:ja;ko;zh)
Summary:        CMap files for acroread
License:        NON-OSI-COMPLIANT(royalties)
Group:          Productivity/Publishing/PDF
Source0:        
ftp://ftp.adobe.com/pub/adobe/reader/unix/9.x/9.1/misc/FontPack910_chs_i486-linux.tar.bz2
Source1:        
ftp://ftp.adobe.com/pub/adobe/reader/unix/9.x/9.1/misc/FontPack910_cht_i486-linux.tar.bz2
Source2:        
ftp://ftp.adobe.com/pub/adobe/reader/unix/9.x/9.1/misc/FontPack910_jpn_i486-linux.tar.bz2
Source3:        
ftp://ftp.adobe.com/pub/adobe/reader/unix/9.x/9.1/misc/FontPack910_kor_i486-linux.tar.bz2
#Source4:        
ftp://ftp.adobe.com/pub/adobe/reader/unix/9.x/9.1/misc/FontPack910_xtd_i486-linux.tar.bz2
# this Version is reported when calling "acroread -version"
Version:        9.4.1
Release:        0
BuildArch:      noarch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
NoSource:       0
NoSource:       1
NoSource:       2
NoSource:       3

%description
Character Map files for acroread which are needed for Chinese, Japanese
and Korean.

%package     -n acroread-fonts-zh_CN
Requires:       acroread
Requires:       acroread-cmaps
Provides:       locale(acroread:zh)
Summary:        Simplified Chinese fonts for acroread
Group:          System/I18n/Chinese

%description -n acroread-fonts-zh_CN
Simplified Chinese fonts for acroread

%package     -n acroread-fonts-zh_TW
Requires:       acroread
Requires:       acroread-cmaps
Provides:       locale(acroread:zh)
Summary:        Traditional Chinese fonts for acroread
Group:          System/I18n/Chinese

%description -n acroread-fonts-zh_TW
Traditional Chinese fonts for acroread

%package     -n acroread-fonts-ko
Requires:       acroread
Requires:       acroread-cmaps
Provides:       locale(acroread:ko)
Summary:        Korean fonts for acroread
Group:          System/I18n/Korean

%description -n acroread-fonts-ko
Korean fonts for acroread

%package     -n acroread-fonts-ja
Requires:       acroread
Requires:       acroread-cmaps
Provides:       locale(acroread:ja)
Summary:        Japanese fonts for acroread
Group:          System/I18n/Japanese

%description -n acroread-fonts-ja
Japanese fonts for acroread

%define INSTALL_DIR /usr/lib

%prep
# unpack the Source into a suitable directory
# there is the top-level directory "AdobeReader" in the source archive
%setup -T -c AdobeReader -n AdobeReader -a 0 -a 1 -a 2 -a 3 

%build
# there is nothing to build as this package is a binary-only package

%install
# install the extra font packages:
mkdir -p $RPM_BUILD_ROOT%INSTALL_DIR
for i in CHSKIT/*TAR CHTKIT/*TAR KORKIT/*TAR JPNKIT/*TAR
do
    tar xvf $i -C $RPM_BUILD_ROOT%INSTALL_DIR 
done
# Delete files which are already in the main acroread package:
rm -f 
$RPM_BUILD_ROOT%INSTALL_DIR/Adobe/Reader9/Reader/intellinux/lib/libicudata.so.36.0
rm -f $RPM_BUILD_ROOT%INSTALL_DIR/Adobe/Reader9/Resource/CMap/Identity-H
rm -f $RPM_BUILD_ROOT%INSTALL_DIR/Adobe/Reader9/Resource/CMap/Identity-V
%if %suse_version > 1020
%fdupes $RPM_BUILD_ROOT
%endif

%clean

%files -n acroread-cmaps
%defattr(-,root,root)
%doc CHSKIT/LICREAD.TXT
%dir %INSTALL_DIR/Adobe/
%dir %INSTALL_DIR/Adobe/Reader9/
%dir %INSTALL_DIR/Adobe/Reader9/Resource/
%dir %INSTALL_DIR/Adobe/Reader9/Resource/CMap/
# the Identity* CMaps area already in the main acroread package:
%INSTALL_DIR/Adobe/Reader9/Resource/CMap/[0-9A-HJ-Z]*

%files -n acroread-fonts-zh_CN
%defattr(-,root,root)
%doc CHSKIT/LICREAD.TXT
%dir %INSTALL_DIR/Adobe/
%dir %INSTALL_DIR/Adobe/Reader9/
%dir %INSTALL_DIR/Adobe/Reader9/Resource/
%dir %INSTALL_DIR/Adobe/Reader9/Resource/CIDFont/
%INSTALL_DIR/Adobe/Reader9/Resource/CIDFont/AdobeSongStd*.otf
%INSTALL_DIR/Adobe/Reader9/Resource/CIDFont/AdobeHeitiStd*.otf

%files -n acroread-fonts-zh_TW
%defattr(-,root,root)
%doc CHTKIT/LICREAD.TXT
%dir %INSTALL_DIR/Adobe/
%dir %INSTALL_DIR/Adobe/Reader9/
%dir %INSTALL_DIR/Adobe/Reader9/Resource/
%dir %INSTALL_DIR/Adobe/Reader9/Resource/CIDFont/
%INSTALL_DIR/Adobe/Reader9/Resource/CIDFont/AdobeMingStd*.otf

%files -n acroread-fonts-ko
%defattr(-,root,root)
%doc KORKIT/LICREAD.TXT
%dir %INSTALL_DIR/Adobe/
%dir %INSTALL_DIR/Adobe/Reader9/
%dir %INSTALL_DIR/Adobe/Reader9/Resource/
%dir %INSTALL_DIR/Adobe/Reader9/Resource/CIDFont/
%INSTALL_DIR/Adobe/Reader9/Resource/CIDFont/AdobeMyungjoStd*.otf

%files -n acroread-fonts-ja
%defattr(-,root,root)
%doc JPNKIT/LICREAD.TXT
%dir %INSTALL_DIR/Adobe/
%dir %INSTALL_DIR/Adobe/Reader9/
%dir %INSTALL_DIR/Adobe/Reader9/Resource/
%dir %INSTALL_DIR/Adobe/Reader9/Resource/CIDFont/
%INSTALL_DIR/Adobe/Reader9/Resource/CIDFont/KozMin*.otf

%changelog
++++++ acroread.spec ++++++
#
# spec file for package acroread
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


Name:           acroread
BuildRequires:  ed
BuildRequires:  openldap2-client
BuildRequires:  update-desktop-files
BuildRequires:  xorg-x11-devel
%if %suse_version < 1030
BuildRequires:  libicu
%endif
%if %suse_version > 1020
BuildRequires:  fdupes
BuildRequires:  libcurl4
%endif
Url:            http://www.adobe.com/products/acrobat/readermain.html
Provides:       linux-ar
%if %suse_version < 1030
Requires:       libcrypto.so.0.9.7
Requires:       libcurl.so.3
Requires:       libgcc_s.so.1
Requires:       libicudata.so.34
Requires:       libicui18n.so.34
Requires:       libicuuc.so.34
Requires:       libssl.so.0.9.7
Requires:       libstdc++.so.6
%elseif %suse_version >= 1030
Requires:       libcrypto.so.0.9.8
Requires:       libcurl.so.4
Requires:       libgcc_s.so.1
Requires:       libssl.so.0.9.8
Requires:       libstdc++.so.6
%endif
Requires:       ISO8859-1.so
Requires:       UTF-16.so
Recommends:     acroread-browser-plugin
Summary:        Adobe Reader for PDF Files
License:        NON-OSI-COMPLIANT(royalties)
Group:          Productivity/Publishing/PDF
Source10:       acroread.desktop
Source20:       acroread.png
Source30:       suse-do-not-grab-server.tar.bz2
Source40:       acroread.patch
Source50:       acroread-rpmlintrc
Patch0:         install.patch
# this Version is reported when calling "acroread -version"
Version:        9.5.4
Release:        0
Source0:        
ftp://ftp.adobe.com/pub/adobe/reader/unix/9.x/%{version}/enu/AdbeRdr%{version}-1_i486linux_enu.tar.bz2
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Requires:       coreutils
Requires:       openldap2-client
NoSource:       0
ExclusiveArch:  %ix86

%description
Acroread is a well known PDF viewer.

Adobe Reader is often the only program able to process complicated PDF
files, such as PDF forms. However, there are many bugs where we cannot
do anything about because it is proprietary binary-only software.

Please consider whether it is possible to use free PDF readers like
okular, evince, xpdf, ghostview, ... instead.



Authors:
--------
    Adobe Systems Incorporated

%package browser-plugin
Summary:        Browser plugin of Adobe Reader
Group:          Productivity/Publishing/PDF
Requires:       acroread = %{version}

%description browser-plugin
Adobe Reader browser plugin to view PDF files in the webbrowser


%define my_provides /tmp/my-provides
%define my_requires /tmp/my-requires
%define INSTALL_DIR /usr/lib
%define _use_internal_dependency_generator 0

%prep
# unpack the Source into a suitable directory
# there is the top-level directory "AdobeReader" in the source archive
%setup -n AdobeReader
# apply Patch0 to skip the "OutputLicense" dialog in the INSTALL script
%patch0
# retrieve the gif for desktop
tar -xvf COMMON.TAR Adobe/Reader9/Resource/Icons/128x128/AdobeReader9.png
tar -xvf COMMON.TAR Adobe/Reader9/Resource/Shell/acroread.1.gz

%build
# there is nothing to build as this package is a binary-only package
# but we build a preload library to work around bug #375551:
tar xf %{S:30}
make -C suse-do-not-grab-server

%install
# skip the automated stripping because this damages some functionality
# for example a stripped AcroForm.api can no longer fill in forms
# see bug 28717 for details
export NO_BRP_STRIP_DEBUG="true"
# stuff to be done before the installation
# do the installation
./INSTALL <<EOT
%{buildroot}%INSTALL_DIR
y
EOT
# stuff to be done after the installation
rm -rf %{buildroot}%INSTALL_DIR/Adobe/Reader9/bin/UNINSTALL
# set the correct install_dir in the "acroread" start script
# to be safe to note changes in new versions do a test before
grep -q '^install_dir=' %{buildroot}%INSTALL_DIR/Adobe/Reader9/bin/acroread || 
exit 1
sed -i -e 's:^install_dir=.*$:install_dir="/usr/lib/Adobe/Reader9/Reader":' 
%{buildroot}%INSTALL_DIR/Adobe/Reader9/bin/acroread
# Apply workaround for http://bugzilla.novell.com/show_bug.cgi?id=85416 & 
147966 & 275088:
pushd %{buildroot}%INSTALL_DIR/Adobe/Reader9/bin
    patch -p0 -i %{S:40}
popd
# symlink the executable to a directory which is in the PATH
mkdir -p %{buildroot}/usr/bin
pushd %{buildroot}/usr/bin
   ln -sf ../../%INSTALL_DIR/Adobe/Reader9/bin/acroread acroread
popd
# add a link for the browser plugin so that it can be found automatically
mkdir -p %{buildroot}/usr/lib/browser-plugins
ln -sf %INSTALL_DIR/Adobe/Reader9/Browser/intellinux/nppdf.so 
%{buildroot}/usr/lib/browser-plugins/nppdf.so
# Add links to openldap2 libraries needed to avoid bug: 261555
%if %suse_version > 1030
(cd %{buildroot}%INSTALL_DIR/Adobe/Reader9/Reader/intellinux/lib && ln -sf 
../../../../../../../usr/lib/libldap-2.4.so.? libldap.so)
(cd %{buildroot}%INSTALL_DIR/Adobe/Reader9/Reader/intellinux/lib && ln -sf 
../../../../../../../usr/lib/liblber-2.4.so.? liblber.so)
%else
(cd %{buildroot}%INSTALL_DIR/Adobe/Reader9/Reader/intellinux/lib && ln -sf 
../../../../../../../usr/lib/libldap-2.3.so.? libldap.so)
(cd %{buildroot}%INSTALL_DIR/Adobe/Reader9/Reader/intellinux/lib && ln -sf 
../../../../../../../usr/lib/liblber-2.3.so.? liblber.so)
%endif
for i in Adobe/Reader9/Reader/GlobalPrefs/.config \
         Adobe/Reader9/Resource/Support/AdobeReader.desktop
do
    sed -i -e 's:%{buildroot}::' %{buildroot}%INSTALL_DIR/$i
done
# make the Adobe Reader available in the SUSE menues
%suse_update_desktop_file -i %name Office Viewer
echo "InitialPreference=7" >> %{buildroot}/usr/share/applications/%name.desktop
# install preload library to work around bug #375551:
install -m 755 suse-do-not-grab-server/suse-do-not-grab-server.so \
    %{buildroot}%INSTALL_DIR/Adobe/Reader9/Reader/intellinux/lib
# remove duplicated system libraries and massage provides and requires lists:
#
# When a compatible version of a library which comes with the acroread
# binary tarball is already available in the system, it should be deleted.
# See bnc#353251.
# Libraries which come with the acroread tarball where no compatible
# version is available in the system cannot be deleted but they
# should neither be provided nor required by acroread.
# Providing them might cause problems for other packages which
# might require these libraries and requiring them is not necessary
# because they are already within the acroread package).
%if %suse_version < 1030
rm -f 
%{buildroot}%INSTALL_DIR/Adobe/Reader9/Reader/intellinux/lib/lib{crypto,ssl,curl,gcc_s,stdc++,icudata,icui18n,icuuc}.so*
# bnc#373590:
(cd %{buildroot}%INSTALL_DIR/Adobe/Reader9/Reader/intellinux/lib && ln -sf 
../../../../../../../usr/lib/libicudata.so.34 libicudata.so)
(cd %{buildroot}%INSTALL_DIR/Adobe/Reader9/Reader/intellinux/lib && ln -sf 
../../../../../../../usr/lib/libicui18n.so.34 libicui18n.so)
(cd %{buildroot}%INSTALL_DIR/Adobe/Reader9/Reader/intellinux/lib && ln -sf 
../../../../../../../usr/lib/libicuuc.so.34 libicuuc.so)
cat << EOF > %{my_provides}
%{__find_provides} | grep -vE "liblber|libldap" ; exit 0
EOF
chmod 755 %{my_provides}
%define __find_provides %{my_provides}
cat << EOF > %{my_requires}
%{__find_requires} | grep -vE "liblber|libldap" ; exit 0
EOF
chmod 755 %{my_requires}
%define __find_requires %{my_requires}
%elseif %suse_version >= 1030
rm -f 
%{buildroot}%INSTALL_DIR/Adobe/Reader9/Reader/intellinux/lib/lib{crypto,ssl,gcc_s,stdc++}.so*
# apparently libcurl.so.4 and libcurl.so.3 are *not* compatible, see bnc#382777.
# # libcurl.so.4 and libcurl.so.3 are supposedly compatible, see bnc#353251 
comment #29:
# (cd %{buildroot}%INSTALL_DIR/Adobe/Reader9/Reader/intellinux/lib && ln -sf 
../../../../../../../usr/lib/libcurl.so.4 libcurl.so)
# (cd %{buildroot}%INSTALL_DIR/Adobe/Reader9/Reader/intellinux/lib && ln -sf 
../../../../../../../usr/lib/libcurl.so.4 libcurl.so.3)
cat << EOF > %{my_provides}
%{__find_provides} | grep -vE 
"libicudata|libicui18n|libicuuc|liblber|libldap|libcurl.so.3" ; exit 0
EOF
chmod 755 %{my_provides}
%define __find_provides %{my_provides}
cat << EOF > %{my_requires}
%{__find_requires} | grep -vE 
"libicudata|libicui18n|libicuuc|liblber|libldap|libcurl.so.3" ; exit 0
EOF
chmod 755 %{my_requires}
%define __find_requires %{my_requires}
%endif
# install the acroread icon for desktop
install -d %{buildroot}/usr/share/pixmaps
install -m644 Adobe/Reader9/Resource/Icons/128x128/AdobeReader9.png 
%{buildroot}/usr/share/pixmaps/acroread.png
# install the manunal, bnc#631267, b...@novell.com
install -d %{buildroot}/usr/share/man/man1
install -m644 Adobe/Reader9/Resource/Shell/acroread.1.gz 
%{buildroot}/usr/share/man/man1/
# libsccore.so and libextendscript.so have RPATH=. which is not good.
# But we cannot change this in a binary only package, we can only
# disable the check:
export NO_BRP_CHECK_RPATH=true
%if %suse_version > 1020
%fdupes %{buildroot}%INSTALL_DIR
%endif

%post 
/usr/bin/touch -c %_libdir/browser-plugins/libdragonegg.so

%postun 
/usr/bin/touch -c %_libdir/browser-plugins/libdragonegg.so

%clean
rm -f %{my_provides}
rm -f %{my_requires}

%files 
%defattr(-,root,root)
%doc ReadMe.htm
/usr/share/pixmaps/acroread.png
/usr/share/man/man1/acroread.1.gz
/usr/bin/acroread
/usr/share/applications/%name.desktop
%dir %INSTALL_DIR/Adobe/
%dir %INSTALL_DIR/Adobe/Reader9
%dir %INSTALL_DIR/Adobe/Reader9/Reader/
%INSTALL_DIR/Adobe/Reader9/Reader/*
%dir %INSTALL_DIR/Adobe/Reader9/bin/
%INSTALL_DIR/Adobe/Reader9/bin/*
%dir %INSTALL_DIR/Adobe/Reader9/Resource/
%dir %INSTALL_DIR/Adobe/Reader9/Resource/CMap/
%INSTALL_DIR/Adobe/Reader9/Resource/CMap/Identity*
%dir %INSTALL_DIR/Adobe/Reader9/Resource/Font/
%INSTALL_DIR/Adobe/Reader9/Resource/Font/*
%dir %INSTALL_DIR/Adobe/Reader9/Resource/Icons/
%INSTALL_DIR/Adobe/Reader9/Resource/Icons/*
%dir %INSTALL_DIR/Adobe/Reader9/Resource/Linguistics/
%INSTALL_DIR/Adobe/Reader9/Resource/Linguistics/*
%dir %INSTALL_DIR/Adobe/Reader9/Resource/Support/
%INSTALL_DIR/Adobe/Reader9/Resource/Support/*
%dir %INSTALL_DIR/Adobe/Reader9/Resource/TypeSupport/
%dir %INSTALL_DIR/Adobe/Reader9/Resource/TypeSupport/Unicode
%INSTALL_DIR/Adobe/Reader9/Resource/TypeSupport/Unicode/*
%dir %INSTALL_DIR/Adobe/Reader9/Resource/Shell
%INSTALL_DIR/Adobe/Reader9/Resource/Shell/*

%files browser-plugin
%defattr(-,root,root)
%dir %INSTALL_DIR/Adobe/Reader9/Browser/
%INSTALL_DIR/Adobe/Reader9/Browser/*
/usr/lib/browser-plugins/nppdf.so

%changelog
++++++ acroread-rpmlintrc ++++++
# This line is mandatory to access the configuration functions
from Config import *

addFilter("acroread.* obsolete-suse-version-check")
addFilter("acroread.* no-soname")
addFilter("acroread.* executable-stack")
addFilter("acroread.* hidden-file-or-dir")
addFilter("acroread.* postin-without-ldconfig")
addFilter("acroread.* postun-without-ldconfig")
addFilter("acroread.* script-without-shebang")
addFilter("acroread.* shared-lib-calls-exit")
addFilter("acroread.* shared-lib-without-dependency-information")
addFilter("acroread.* unstripped-binary-or-object")
addFilter("acroread.* untranslated-desktop-file")
addFilter("acroread.* useless-explicit-requires")
addFilter("acroread.* devel-file-in-non-devel-package")
++++++ acroread.patch ++++++
--- acroread.orig       2010-08-26 19:06:01.000000000 +0800
+++ acroread    2010-08-26 19:08:31.000000000 +0800
@@ -12,13 +12,42 @@
     exit
 fi
 
+# Workaround for http://bugzilla.novell.com/show_bug.cgi?id=370330
+if [ "$GTK_IM_MODULE" == "xim" ] ; then
+    for lc in LANG LC_ALL LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY 
LC_MESSAGES LC_PAPER LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION
+    do
+      eval val="\$$lc"
+      case "$val" in
+          *.UTF-8*)
+              eval $lc=\${val%%[.@]*}
+             ;;
+         *)
+             ;;
+      esac
+    done
+fi
+
+# Workaround for http://bugzilla.novell.com/show_bug.cgi?id=358438 comment #31 
- #33
+# (acroread doesn't start when the theme from the gtk-qt-engine is used under 
VNC
+if [ "$(xdpyinfo | grep XInputExtension)" == "" ] ; then
+    # there is no XInputExtension in the VNC X-servers
+    unset GTK2_RC_FILES
+fi
+
+# use fontconfig, see http://bugzilla.novell.com/show_bug.cgi?id=275088
+ACRO_ENABLE_FONT_CONFIG=1
+export ACRO_ENABLE_FONT_CONFIG
 
 LaunchBinary()
 {
 #    We are not LSB compliant yet, so let's not use ld-lsb.so.3 as loader.
 #    if [ "`uname -s`" = "Linux" ] && [ ! -x /lib/ld-lsb.so.3 ]; then
+         # Workaround for http://bugzilla.novell.com/show_bug.cgi?id=375551
+#        export 
LD_PRELOAD=$ACRO_INSTALL_DIR/intellinux/lib/suse-do-not-grab-server.so
 #        exec /lib/ld-linux.so.2 ${1+"$@"}
 #    else
+        # Workaround for http://bugzilla.novell.com/show_bug.cgi?id=375551
+        export 
LD_PRELOAD=$ACRO_INSTALL_DIR/intellinux/lib/suse-do-not-grab-server.so
         exec ${1+"$@"}
 #    fi
 }
@@ -501,26 +530,61 @@
   TestCmdOption="-f"
 fi
 
-greConfigFile="${HOME}/.adobe/Acrobat/$majorRelease/Preferences/acrogre.conf"
+# if MOZILLA_COMP_PATH is already set, use it (useful for debugging?)
+# if not, get it from the user config or search it in the system:
 
-if [ -f "$greConfigFile" ]; then
-    mozillaPath="`cat "$greConfigFile"`"
-    if [ -n "$mozillaPath" ]; then
-        MOZILLA_COMP_PATH="$mozillaPath"
-        export MOZILLA_COMP_PATH
+if [ -z "$MOZILLA_COMP_PATH" ]; then
+
+    # First try to get MOZILLA_COMP_PATH from the user config file.
+    # But use it only if it points to a location where libgtkembedmoz.so
+    # really exists:
+    
greConfigFile="${HOME}/.adobe/Acrobat/$majorRelease/Preferences/acrogre.conf"
+    if [ -f "$greConfigFile" ]; then
+       mozillaPath="`cat "$greConfigFile"`"
+       if [ -x "$mozillaPath/libgtkembedmoz.so" ]; then
+           MOZILLA_COMP_PATH="$mozillaPath"
+           export MOZILLA_COMP_PATH
+       fi
     fi
-else
-    for i in /etc/gre.d/gre.conf /etc/gre.d/firefox.conf 
/etc/gre.d/mozilla.conf /etc/gre.d/*.conf /etc/gre.conf
-    do
-        if [ -f "$i" ]; then
-            mozillaPath="`grep "^GRE_PATH=" "$i" | cut -d= -f2 | sed -e 's/^[ 
]*//g' -e 's/[ ]*$//g'`"
-            if [ -n "$mozillaPath" ]; then
-                MOZILLA_COMP_PATH="$mozillaPath"
+    
+    if [ -z "$MOZILLA_COMP_PATH" ]; then
+    # There was either nothing in the user config file (first start ever
+    # of acroread?) or something invalid. Try to find
+    # libgtkembedmoz.so in the system:
+    # (the last match in the glob pattern will win. glob patterns
+    # are sorted alphabetically, i.e the symlink 
+    # /usr/lib/xulrunner-1.8.1 which points to the current version
+    # will win over any specific version /usr/lib/xulrunner-1.8.1.1x).
+        for lib in /usr/lib/seamonkey/libgtkembedmoz.so 
/usr/lib/xulrunner-*/libgtkembedmoz.so 
+        do
+            if [ -x $lib ]; then
+                MOZILLA_COMP_PATH="$(dirname $lib)"
                 export MOZILLA_COMP_PATH
-                break
-            fi
-        fi
-    done
+           fi
+       done
+    fi
+fi
+# http://bugzilla.novell.com/show_bug.cgi?id=457928
+# As mozilla-xulrunner181 got dropped in openSUSE 11.1,
+# we don't have libgtkembedmoz.so anymore, only libmozgnome.so
+# from the mozilla-xulrunner190-gnomevfs package.
+# Therefore, MOZILLA_COMP_PATH will still be empty here on
+# openSUSE >= 11.1.
+# We can only use an ugly workaround here and duplicate
+# the xulrunner-1.9 directory in the home directory of the user:
+if [ -z "$MOZILLA_COMP_PATH" ]; then
+    if [ -f /usr/lib/xulrunner-1.9/components/libmozgnome.so ]; then
+        pushd /usr/lib > /dev/null
+        find xulrunner-1.9/ -mindepth 1 -type d -exec mkdir -p \
+            $HOME/.adobe/Acrobat/9.0/Resource/{} \;
+        find xulrunner-1.9/ -mindepth 1 -type f -exec ln -sf /usr/lib/{} \
+            $HOME/.adobe/Acrobat/9.0/Resource/{} \;
+        ln -sf /usr/lib/xulrunner-1.9/components/libmozgnome.so \
+            $HOME/.adobe/Acrobat/9.0/Resource/xulrunner-1.9/libgtkembedmoz.so
+        popd > /dev/null
+        MOZILLA_COMP_PATH=$HOME/.adobe/Acrobat/9.0/Resource/xulrunner-1.9/
+        export MOZILLA_COMP_PATH
+    fi
 fi
 
 if [ -z "$mozillaPath" ]; then
++++++ install.patch ++++++
--- INSTALL.orig        2006-01-06 12:12:07.265563466 -0700
+++ INSTALL     2006-01-06 12:10:24.857950149 -0700
@@ -601,7 +601,7 @@
 
   if [ -z "$ReadInstallDir" ] ; then
     GetInstallDirectory
-    SilentMode="No"
+    SilentMode="Yes"
   else
     ReadInstallDir="`ExpandDirPath "$ReadInstallDir"`"
     SilentMode="Yes"
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to