]> git.pld-linux.org Git - packages/opera.git/blob - opera.spec
- ExclusiveArch
[packages/opera.git] / opera.spec
1 Summary:        World fastest web browser
2 Summary(pl):    Najszybsza przegl±darka WWW na ¶wiecie
3 Name:           opera
4 Version:        5.0
5 Release:        1
6 License:        Restricted, see file LICENSE
7 Group:          X11/Applications/Networking
8 Group(de):      X11/Applikationen/Netzwerkwesen
9 Group(pl):      X11/Aplikacje/Sieciowe
10 Source0:        ftp://ftp.opera.com/pub/opera/linux/500/%{name}-%{version}-dynamic.i386.tar.gz
11 Source1:        %{name}.sh
12 Source2:        %{name}.desktop
13 URL:            http://www.opera.com/
14 ExclusiveArch:  %{ix86}
15 Requires:       qt >= 2
16 Requires:       freetype >= 2
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %define         _prefix         /usr/X11R6
20 %define         _mandir         %{_prefix}/man
21
22 %description
23 Opera is world fastest web browser. It supports most of nowaday
24 extensions of HTML. And it is quite stable. Only disadvantage are
25 advertisements on the top of its window.
26
27 %description -l pl
28 Opera jest najszybsz± przegl±dark± WWW na ¶wiecie. Obs³uguje wiêkszo¶æ
29 dzisiejszych rozszerzeñ HTMLa. Dodatkowo jest w miarê stabilna. Jedyn±
30 niedogodno¶ci± s± reklamy ukazuj±ce siê w górze okna.
31
32 %prep
33 %setup -q -n %{name}-%{version}-dynamic.i386
34
35 %install
36 rm -rf $RPM_BUILD_ROOT
37 install -d $RPM_BUILD_ROOT%{_bindir}
38 install -d $RPM_BUILD_ROOT%{_datadir}
39 install -d $RPM_BUILD_ROOT%{_prefix}/opera
40 install -d $RPM_BUILD_ROOT%{_datadir}/opera/{buttons,help,images,styles}
41 install -d $RPM_BUILD_ROOT%{_applnkdir}/Network/WWW
42 install -d $RPM_BUILD_ROOT%{_pixmapsdir}
43
44 for i in buttons help images styles;
45 do cp -r $i $RPM_BUILD_ROOT%{_datadir}/opera;
46 done
47
48 cp opera.adr $RPM_BUILD_ROOT%{_datadir}/opera
49 cp opera $RPM_BUILD_ROOT%{_bindir}/opera-bin
50 cp %{SOURCE1} $RPM_BUILD_ROOT%{_bindir}/opera
51 cp %{SOURCE2} $RPM_BUILD_ROOT%{_applnkdir}/Network/WWW
52 cp opera.xpm $RPM_BUILD_ROOT%{_pixmapsdir}
53
54 %clean
55 rm -rf $RPM_BUILD_ROOT
56
57 %files
58 %defattr(644,root,root,755)
59 %doc LICENSE
60 %attr(755,root,root) %{_bindir}/*
61 %{_datadir}/opera
62 %{_applnkdir}/Network/WWW/opera.desktop
63 %{_pixmapsdir}/opera.xpm
This page took 0.071418 seconds and 4 git commands to generate.