]> git.pld-linux.org Git - packages/acroread.git/blobdiff - acroread.spec
add R: %{_libdir}/gconv for 32bit iconv on 64bit systems
[packages/acroread.git] / acroread.spec
index 1f3e3f0a2132d5cac1a928955d515fc23c5fc033..3a45dce7ad2a829710f2074218980a7582cf371b 100644 (file)
@@ -3,7 +3,7 @@
 %bcond_with    license_agreement       # generates package
 #
 %define                base_name       acroread
-%define                rel             3
+%define                rel             1
 Summary:       Adobe Acrobat Reader
 Summary(pl.UTF-8):     Adobe Acrobat Reader - czytnik plików PDF
 Summary(ru.UTF-8):     Программа для чтения документов в формате PDF от Adobe
@@ -13,7 +13,7 @@ Name:         %{base_name}
 %else
 Name:          %{base_name}-installer
 %endif
-Version:       9.4.2
+Version:       9.5.5
 Release:       %{rel}%{?with_license_agreement:wla}
 Epoch:         1
 License:       distribution restricted (http://www.adobe.com/products/acrobat/distribute.html)
@@ -22,8 +22,8 @@ License:      distribution restricted (http://www.adobe.com/products/acrobat/distribu
 # - distribution on CD requires signing Distribution Agreement (see URL above)
 Group:         X11/Applications/Graphics
 %if %{with license_agreement}
-Source0:       ftp://ftp.adobe.com/pub/adobe/reader/unix/9.x/%{version}/enu/AdbeRdr9.4.2-1_i486linux_enu.tar.bz2
-# NoSource0-md5:       307aaaf22e8c08958927dfabb0f4d745
+Source0:       ftp://ftp.adobe.com/pub/adobe/reader/unix/9.x/%{version}/enu/AdbeRdr%{version}-1_i486linux_enu.tar.bz2
+# NoSource0-md5:       664d546fbf0ad91f20dcf3753b0a2684
 NoSource:      0
 %else
 Source1:       http://svn.pld-linux.org/svn/license-installer/license-installer.sh
@@ -35,6 +35,8 @@ Source3:      %{base_name}.png
 URL:           http://www.adobe.com/products/acrobat/
 %if %{with license_agreement}
 BuildRequires: rpmbuild(macros) >= 1.357
+# to force 32bit iconv
+Requires:      %{_libdir}/gconv
 Requires:      ca-certificates >= 20080809-4
 Requires:      iconv
 Requires:      openldap-libs < 2.5
@@ -53,9 +55,12 @@ BuildRoot:   %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define                _noautostrip    .*\.api
 %define                _noautoprov     libcrypto\.so.* libssl\.so.* libcurl\.so.* libicu.* libstdc++\.so.* libgcc_s\.so.*
+%if "%{_rpmversion}" >= "5.0"
+%define                _noautoreq      %{_noautoprov} '^lib.*\.so$' '^lib.*\\(VERSION\\)$'
+%else
 %define                _noautoreq      %{_noautoprov} '^lib.*\.so$' '^lib.*\(VERSION\)$'
+%endif
 %define         no_install_post_check_so        1
-%define                skip_post_check_so libWRServices.so.3.1 libadobelinguistic.so.3.2.0 libauthplay.so.0.0.0
 
 %description
 Adobe(R) Reader(R) is free software that lets you view and print PDF
This page took 0.046733 seconds and 4 git commands to generate.