]> git.pld-linux.org Git - packages/acroread.git/blob - acroread.spec
- added icon
[packages/acroread.git] / acroread.spec
1 Summary:        Acrobat Reader
2 Summary(pl):    Acrobat Reader - czytnik plików PDF
3 Summary(ru):    ðÒÏÇÒÁÍÍÁ ÄÌÑ ÞÔÅÎÉÑ ÄÏËÕÍÅÎÔÏ× × ÆÏÒÍÁÔÅ PDF ÏÔ Adobe
4 Summary(uk):    ðÒÏÇÒÁÍÁ ÄÌÑ ÞÉÔÁÎÎÑ ÄÏËÕÍÅÎԦנՠÆÏÒÍÁÔ¦ PDF ×¦Ä Adobe
5 Name:           acroread
6 Version:        508
7 Release:        2
8 License:        distribution restricted (http://www.adobe.com/products/acrobat/distribute.html)
9 # in short:
10 # - not distributable on public sites (only linking to adobe.com permitted)
11 # - distribution on CD requires signing Distribution Agreement (see URL above)
12 Group:          X11/Applications/Graphics
13 Source0:        ftp://ftp.adobe.com/pub/adobe/acrobatreader/unix/5.x/linux-%{version}.tar.gz
14 # NoSource0-md5:        fbf4e174be41987addacca7cf677dd58
15 Source1:        %{name}.desktop
16 Source2:        %{name}.png
17 NoSource:       0
18 Patch0:         %{name}-locale.patch
19 URL:            http://www.adobe.com/products/acrobat/
20 ExclusiveArch:  %{ix86}
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %define         mozdir          %{_libdir}/mozilla/plugins
24
25 %define         platform        intellinux
26 %define         tar0            LINUXRDR.TAR
27 %define         tar1            COMMON.TAR
28
29 %description
30 Adobe(R) Reader(R) is free software that lets you view and print
31 PDF files (Portable Document Format) on a variety of hardware and
32 operating system platforms.
33
34 %description -l pl
35 Adobe(R) Reader(R) jest darmowym oprogramowaniem umo¿liwiaj±cym ogl±danie
36 oraz drukowanie plików PDF (Portable Document Format) na ró¿nych platformach
37 sprzêtowych oraz ró¿nych systemach operacyjnych.
38
39 %description -l ru
40 ðÒÏÇÒÁÍÍÁ ÄÌÑ ÞÔÅÎÉÑ ÄÏËÕÍÅÎÔÏ× × ÆÏÒÍÁÔÅ Portable Document Format
41 (PDF), ÓÇÅÎÅÒÉÒÏ×ÁÎÎÙÈ Adobe Acrobat'ÏÍ.
42
43 %description -l uk
44 ðÒÏÇÒÁÍÁ ÄÌÑ ÞÉÔÁÎÎÑ ÄÏËÕÍÅÎԦנՠÆÏÒÍÁÔ¦ Portable Document Format
45 (PDF), ÚÇÅÎÅÒÏ×ÁÎÉÈ Adobe Acrobat'ÏÍ.
46
47 %package -n mozilla-plugin-%{name}
48 Summary:        Mozilla PDF plugin
49 Summary(pl):    Wtyczka PDF do Mozilli
50 Group:          X11/Applications
51 Prereq:         mozilla-embedded
52 Requires:       %{name} = %{version}
53
54 %description -n mozilla-plugin-%{name}
55 A Mozilla plugin for displaying PDF (Portable Document Format) files.
56
57 %description -n mozilla-plugin-%{name} -l pl
58 Wtyczka Mozilli do wy¶wietlania plików PDF (Portable Document Format).
59
60 %prep
61 %setup -q -c
62 tar xfv %{tar0}
63 tar xfv %{tar1}
64 %patch0 -p1
65
66 %install
67 rm -rf $RPM_BUILD_ROOT
68 install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir}/%{name},%{mozdir}} \
69         $RPM_BUILD_ROOT{%{_applnkdir}/Graphics/Viewers,%{_pixmapsdir}}
70
71 cp -a Reader Resource $RPM_BUILD_ROOT%{_libdir}/%{name}
72 awk -v INSTDIR=%{_libdir}/%{name}/Reader \
73         '/^install_dir=/ {print "install_dir="INSTDIR; next} \
74         {print}' \
75         bin/%{name}.sh > $RPM_BUILD_ROOT%{_bindir}/%{name}
76 install Browsers/intellinux/* $RPM_BUILD_ROOT%{mozdir}
77 install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Graphics/Viewers
78 install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
79
80 %clean
81 rm -rf $RPM_BUILD_ROOT
82
83 %files
84 %defattr(644,root,root,755)
85 %doc LICREAD.TXT README
86 %attr(755,root,root) %{_bindir}/*
87 %dir %{_libdir}/%{name}
88 %{_libdir}/%{name}/Resource
89
90 %dir %{_libdir}/%{name}/Reader
91 %{_libdir}/%{name}/Reader/help
92 %{_libdir}/%{name}/Reader/res
93 %{_libdir}/%{name}/Reader/AcroVersion
94 %{_libdir}/%{name}/Reader/*.pdf
95 %dir %{_libdir}/%{name}/Reader/%{platform}
96 %{_libdir}/%{name}/Reader/%{platform}/app-defaults
97 %{_libdir}/%{name}/Reader/%{platform}/fonts
98 %{_libdir}/%{name}/Reader/%{platform}/res
99 %attr(755,root,root) %{_libdir}/%{name}/Reader/%{platform}/plug_ins
100 %attr(755,root,root) %{_libdir}/%{name}/Reader/%{platform}/bin
101 %attr(755,root,root) %{_libdir}/%{name}/Reader/%{platform}/lib
102 %{_applnkdir}/Graphics/Viewers/*.desktop
103 %{_pixmapsdir}/*
104
105 %files -n mozilla-plugin-%{name}
106 %defattr(644,root,root,755)
107 %attr(755,root,root) %{mozdir}/*
This page took 0.03041 seconds and 4 git commands to generate.