]> git.pld-linux.org Git - packages/acroread.git/blobdiff - acroread.spec
- pl fix
[packages/acroread.git] / acroread.spec
index 99bd8ae0c69a243e83547e14db49fac844771b7b..b0abd14a7b6ab54ae27a30917137ea64f147dc42 100644 (file)
@@ -4,7 +4,7 @@ Summary(ru):    
 Summary(uk):   ðÒÏÇÒÁÍÁ ÄÌÑ ÞÉÔÁÎÎÑ ÄÏËÕÍÅÎԦנՠÆÏÒÍÁÔ¦ PDF ×¦Ä Adobe
 Name:          acroread
 Version:       508
-Release:       1
+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)
@@ -13,6 +13,7 @@ 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
 URL:           http://www.adobe.com/products/acrobat/
@@ -64,7 +65,8 @@ tar xfv %{tar1}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir}/%{name},%{mozdir},%{_applnkdir}/Graphics/Viewers}
+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 \
@@ -72,7 +74,8 @@ awk -v INSTDIR=%{_libdir}/%{name}/Reader \
        {print}' \
        bin/%{name}.sh > $RPM_BUILD_ROOT%{_bindir}/%{name}
 install Browsers/intellinux/* $RPM_BUILD_ROOT%{mozdir}
-install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Graphics/Viewers
+install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
+install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -96,7 +99,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
+%{_desktopdir}/acroread.desktop
+%{_pixmapsdir}/*
 
 %files -n mozilla-plugin-%{name}
 %defattr(644,root,root,755)
This page took 0.057696 seconds and 4 git commands to generate.