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