]>
Commit | Line | Data |
---|---|---|
2d0e3e2e ER |
1 | %define snap 20080528 |
2 | Summary: A simple cross platform web browser | |
3 | Name: arora | |
14f042fe | 4 | Version: 0.4 |
8bbde850 | 5 | Release: 1 |
2d0e3e2e ER |
6 | License: GPL v2 |
7 | Group: X11/Applications/Networking | |
c64d29dc | 8 | Source0: http://arora.googlecode.com/files/%{name}-%{version}.tar.gz |
14f042fe | 9 | # Source0-md5: 702d29d021f7ac2c4e3ace3252876071 |
2d0e3e2e | 10 | URL: http://code.google.com/p/arora/ |
93dc58cf | 11 | BuildRequires: QtWebKit-devel |
58211a81 | 12 | BuildRequires: qt4-build |
aed6f518 | 13 | BuildRequires: qt4-linguist |
93dc58cf | 14 | BuildRequires: qt4-qmake >= 4.4 |
2d0e3e2e ER |
15 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
16 | ||
17 | %description | |
18 | Arora was originally created as a demo for Qt to help test the | |
19 | QtWebKit component and find API issues and bugs before the release. An | |
20 | older version can still be found in Qt's source code in the | |
21 | demo/browser directory. Currently Arora is a very basic browser whose | |
22 | feature list includes things like "History" and "Bookmarks". It does | |
23 | not have support for netscape plugins, so no flash support until Qt | |
24 | 4.5. But it is small, less then 10,000 lines of code, very fast, lean, | |
25 | mean and loads of fun to hack on. | |
26 | ||
27 | %prep | |
c64d29dc | 28 | %setup -q |
2d0e3e2e ER |
29 | |
30 | %build | |
8bbde850 | 31 | qmake-qt4 PREFIX=%{_prefix} |
2d0e3e2e ER |
32 | %{__make} |
33 | ||
34 | %install | |
35 | rm -rf $RPM_BUILD_ROOT | |
c64d29dc | 36 | |
8acb730a | 37 | %{__make} -j1 install \ |
622ea0b2 | 38 | INSTALL_ROOT=$RPM_BUILD_ROOT |
2d0e3e2e ER |
39 | |
40 | %clean | |
41 | rm -rf $RPM_BUILD_ROOT | |
42 | ||
43 | %files | |
44 | %defattr(644,root,root,755) | |
45 | %doc README ChangeLog | |
8bbde850 | 46 | %attr(755,root,root) %{_bindir}/arora |
c64d29dc AM |
47 | %{_pixmapsdir}/*.* |
48 | %{_iconsdir}/*/*/*/*.png | |
49 | %{_iconsdir}/*/*/*/*.svg | |
8bbde850 | 50 | %{_desktopdir}/arora.desktop |
51 | %dir %{_datadir}/arora | |
f26a87bf | 52 | %dir %{_datadir}/arora/locale |
8bbde850 | 53 | %lang(cs_CZ) %{_datadir}/arora/locale/cs_CZ.qm |
c64d29dc | 54 | %lang(da) %{_datadir}/arora/locale/da.qm |
8bbde850 | 55 | %lang(de) %{_datadir}/arora/locale/de.qm |
56 | %lang(en) %{_datadir}/arora/locale/en.qm | |
57 | %lang(es) %{_datadir}/arora/locale/es.qm | |
c64d29dc AM |
58 | %lang(et) %{_datadir}/arora/locale/et.qm |
59 | %lang(fr_CA) %{_datadir}/arora/locale/fr_CA.qm | |
60 | %lang(fr_FR) %{_datadir}/arora/locale/fr_FR.qm | |
61 | %lang(hu) %{_datadir}/arora/locale/hu.qm | |
62 | %lang(it) %{_datadir}/arora/locale/it.qm | |
63 | %lang(nl) %{_datadir}/arora/locale/nl.qm | |
8bbde850 | 64 | %lang(pl) %{_datadir}/arora/locale/pl.qm |
c64d29dc AM |
65 | %lang(pt_BR) %{_datadir}/arora/locale/pt_BR.qm |
66 | %lang(tr) %{_datadir}/arora/locale/tr.qm | |
8bbde850 | 67 | %lang(ru) %{_datadir}/arora/locale/ru.qm |
14f042fe | 68 | #%lang(zh_CN) %{_datadir}/arora/locale/zh_CN.qm |
c64d29dc | 69 | %{_mandir}/man1/*.1* |