]> git.pld-linux.org Git - packages/acroread.git/blobdiff - acroread.spec
- pl fix
[packages/acroread.git] / acroread.spec
index f12a34b080d41576c7f49b1ae621a3b4cf5b4359..b0abd14a7b6ab54ae27a30917137ea64f147dc42 100644 (file)
@@ -1,59 +1,90 @@
 Summary:       Acrobat Reader
 Summary(pl):   Acrobat Reader - czytnik plików PDF
+Summary(ru):   ðÒÏÇÒÁÍÍÁ ÄÌÑ ÞÔÅÎÉÑ ÄÏËÕÍÅÎÔÏ× × ÆÏÒÍÁÔÅ PDF ÏÔ Adobe
+Summary(uk):   ðÒÏÇÒÁÍÁ ÄÌÑ ÞÉÔÁÎÎÑ ÄÏËÕÍÅÎԦנՠÆÏÒÍÁÔ¦ PDF ×¦Ä Adobe
 Name:          acroread
-Version:       405
+Version:       508
 Release:       2
-License:       distributable
+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
-Group(de):     X11/Applikationen/Grafik
-Group(pl):     X11/Aplikacje/Grafika
-Group(pt):     X11/Aplicações/Gráficos
-Source0:       ftp://ftp.adobe.com/pub/adobe/acrobatreader/unix/4.x/linux-ar-%{version}.tar.gz
+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                sourcedir               ILINXR.install
-%define                tar0                    ILINXR.TAR
-%define                tar1                    READ.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
+(PDF), ÓÇÅÎÅÒÉÒÏ×ÁÎÎÙÈ Adobe Acrobat'ÏÍ.
+
+%description -l uk
+ðÒÏÇÒÁÍÁ ÄÌÑ ÞÉÔÁÎÎÑ ÄÏËÕÍÅÎԦנՠÆÏÒÍÁÔ¦ Portable Document Format
+(PDF), ÚÇÅÎÅÒÏ×ÁÎÉÈ Adobe Acrobat'ÏÍ.
+
+%package -n mozilla-plugin-%{name}
+Summary:       Mozilla PDF plugin
+Summary(pl):   Wtyczka PDF do Mozilli
+Group:         X11/Applications
+Prereq:                mozilla-embedded
+Requires:      %{name} = %{version}
+
+%description -n mozilla-plugin-%{name}
+A Mozilla plugin for displaying PDF (Portable Document Format) files.
+
+%description -n mozilla-plugin-%{name} -l pl
+Wtyczka Mozilli do wy¶wietlania plików PDF (Portable Document Format).
 
 %prep
-%setup -q -n %{sourcedir}
+%setup -q -c
 tar xfv %{tar0}
 tar xfv %{tar1}
 %patch0 -p1
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_bindir}
-install -d $RPM_BUILD_ROOT%{_libdir}/%{name}
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir}/%{name},%{mozdir}} \
+       $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
 
-cp -a Browsers Reader Resource $RPM_BUILD_ROOT%{_libdir}/%{name}
+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}
-
-gzip -9nf LICREAD.TXT INSTGUID.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 LICREAD.TXT.gz INSTGUID.TXT.gz ReadMe.gz
+%doc LICREAD.TXT README
 %attr(755,root,root) %{_bindir}/*
 %dir %{_libdir}/%{name}
-%attr(755,root,root) %{_libdir}/%{name}/Browsers
 %{_libdir}/%{name}/Resource
 
 %dir %{_libdir}/%{name}/Reader
@@ -68,3 +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)
+%attr(755,root,root) %{mozdir}/*
This page took 0.060519 seconds and 4 git commands to generate.