]> git.pld-linux.org Git - packages/acroread.git/blobdiff - acroread.spec
- pl fix
[packages/acroread.git] / acroread.spec
index 6676cecabd080a33c824df3837f00edd62a268e2..b0abd14a7b6ab54ae27a30917137ea64f147dc42 100644 (file)
@@ -3,27 +3,38 @@ Summary(pl):  Acrobat Reader - czytnik plik
 Summary(ru):   ðÒÏÇÒÁÍÍÁ ÄÌÑ ÞÔÅÎÉÑ ÄÏËÕÍÅÎÔÏ× × ÆÏÒÍÁÔÅ PDF ÏÔ Adobe
 Summary(uk):   ðÒÏÇÒÁÍÁ ÄÌÑ ÞÉÔÁÎÎÑ ÄÏËÕÍÅÎԦנՠÆÏÒÍÁÔ¦ PDF ×¦Ä Adobe
 Name:          acroread
-Version:       505
-Release:       1
-License:       distributable
+Version:       508
+Release:       2
+License:       distribution restricted (http://www.adobe.com/products/acrobat/distribute.html)
+# in short:
+# - not distributable on public sites (only linking to adobe.com permitted)
+# - distribution on CD requires signing Distribution Agreement (see URL above)
 Group:         X11/Applications/Graphics
 Source0:       ftp://ftp.adobe.com/pub/adobe/acrobatreader/unix/5.x/linux-%{version}.tar.gz
+# NoSource0-md5:       fbf4e174be41987addacca7cf677dd58
+Source1:       %{name}.desktop
+Source2:       %{name}.png
+NoSource:      0
 Patch0:                %{name}-locale.patch
-%define                platform                intellinux
-%define                tar0                    LINUXRDR.TAR
-%define                tar1                    COMMON.TAR
-
-Exclusivearch: %{ix86}
+URL:           http://www.adobe.com/products/acrobat/
+ExclusiveArch: %{ix86}
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define                _prefix         /usr/X11R6
-%define                _mandir         %{_prefix}/man
+%define                mozdir          %{_libdir}/mozilla/plugins
+
+%define                platform        intellinux
+%define                tar0            LINUXRDR.TAR
+%define                tar1            COMMON.TAR
 
 %description
-Adobe AcrobatReader - pdf browser.
+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
-Oryginalny program firmy Adobe do przegl±dania plików .pdf.
+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
@@ -37,14 +48,14 @@ Oryginalny program firmy Adobe do przegl
 Summary:       Mozilla PDF plugin
 Summary(pl):   Wtyczka PDF do Mozilli
 Group:         X11/Applications
-Requires:      %{name} = %{version}
 Prereq:                mozilla-embedded
+Requires:      %{name} = %{version}
 
 %description -n mozilla-plugin-%{name}
-A Mozilla plugin for displaying Acrobat PDF files.
+A Mozilla plugin for displaying PDF (Portable Document Format) files.
 
 %description -n mozilla-plugin-%{name} -l pl
-Wtyczka Mozilli dla wy¶wietlania plików Acrobat PDF.
+Wtyczka Mozilli do wy¶wietlania plików PDF (Portable Document Format).
 
 %prep
 %setup -q -c
@@ -54,24 +65,24 @@ tar xfv %{tar1}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_bindir}
-install -d $RPM_BUILD_ROOT%{_libdir}/{%{name},mozilla/plugins}
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir}/%{name},%{mozdir}} \
+       $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
 
 cp -a Reader Resource $RPM_BUILD_ROOT%{_libdir}/%{name}
 awk -v INSTDIR=%{_libdir}/%{name}/Reader \
-       '/^install_dir=/ {print "install_dir="INSTDIR ; next} \
-        {print}' \
+       '/^install_dir=/ {print "install_dir="INSTDIR; next} \
+       {print}' \
        bin/%{name}.sh > $RPM_BUILD_ROOT%{_bindir}/%{name}
-cp Browsers/intellinux/* $RPM_BUILD_ROOT%{_libdir}/mozilla/plugins
-
-gzip -9nf LICREAD.TXT README
+install Browsers/intellinux/* $RPM_BUILD_ROOT%{mozdir}
+install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
+install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc *.gz
+%doc LICREAD.TXT README
 %attr(755,root,root) %{_bindir}/*
 %dir %{_libdir}/%{name}
 %{_libdir}/%{name}/Resource
@@ -88,7 +99,9 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_libdir}/%{name}/Reader/%{platform}/plug_ins
 %attr(755,root,root) %{_libdir}/%{name}/Reader/%{platform}/bin
 %attr(755,root,root) %{_libdir}/%{name}/Reader/%{platform}/lib
+%{_desktopdir}/acroread.desktop
+%{_pixmapsdir}/*
 
 %files -n mozilla-plugin-%{name}
 %defattr(644,root,root,755)
-%{_libdir}/mozilla/plugins/*
+%attr(755,root,root) %{mozdir}/*
This page took 0.031994 seconds and 4 git commands to generate.