]> git.pld-linux.org Git - packages/acroread.git/blobdiff - acroread.spec
- added URL, done some cosmetics
[packages/acroread.git] / acroread.spec
index c64667d7ec1f659bf72ffd347eec23c5f12a0492..fd5c4ef1f46d14c51853d1a10f8ff2e9fb272c4a 100644 (file)
@@ -1,55 +1,78 @@
-Summary:       Acrobatreader
-Summary(pl):   Acrobatreader
+Summary:       Acrobat Reader
+Summary(pl):   Acrobat Reader - czytnik plików PDF
+Summary(ru):   ðÒÏÇÒÁÍÍÁ ÄÌÑ ÞÔÅÎÉÑ ÄÏËÕÍÅÎÔÏ× × ÆÏÒÍÁÔÅ PDF ÏÔ Adobe
+Summary(uk):   ðÒÏÇÒÁÍÁ ÄÌÑ ÞÉÔÁÎÎÑ ÄÏËÕÍÅÎԦנՠÆÏÒÍÁÔ¦ PDF ×¦Ä Adobe
 Name:          acroread
-Version:       405
-Release:       1
-Copyright:     distributable
+Version:       506
+Release:       3
+License:       distributable
 Group:         X11/Applications/Graphics
-Group(pl):     X11/Aplikacje/Grafika
-Source0:       ftp://ftp.adobe.com/pub/adobe/acrobatreader/unix/4.x/linux-ar-%{version}.tar.gz
-%define                platform                intellinux
-%define                sourcedir               ILINXR.install
-%define                tar0                    ILINXR.TAR
-%define                tar1                    READ.TAR
-Exclusivearch: %{ix86}
+Source0:       ftp://ftp.adobe.com/pub/adobe/acrobatreader/unix/5.x/linux-%{version}.tar.gz
+Source1:       %{name}.desktop
+Patch0:                %{name}-locale.patch
+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 Acrobat Reader - pdf browser.
 
 %description -l pl
-Oryginalny program firmy Adobe do przegl±dania plików .pdf
+Oryginalny program firmy Adobe do przegl±dania plików .pdf.
+
+%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
+Requires:      %{name} = %{version}
+Prereq:                mozilla-embedded
+
+%description -n mozilla-plugin-%{name}
+A Mozilla plugin for displaying Acrobat PDF files.
+
+%description -n mozilla-plugin-%{name} -l pl
+Wtyczka Mozilli dla wy¶wietlania plików Acrobat PDF.
 
 %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},%{_applnkdir}/Graphics/Viewers}
 
-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%{_applnkdir}/Graphics/Viewers
 
 %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
@@ -64,3 +87,8 @@ 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
+%{_applnkdir}/Graphics/Viewers/*.desktop
+
+%files -n mozilla-plugin-%{name}
+%defattr(644,root,root,755)
+%attr(755,root,root) %{mozdir}/*
This page took 0.113025 seconds and 4 git commands to generate.