]> git.pld-linux.org Git - packages/uzbl.git/blob - uzbl.spec
- tabbed subpackage
[packages/uzbl.git] / uzbl.spec
1 # TODO:
2 # - Where to place example config files and scripts?
3 # - unbash example scripts
4 # - example scripts should use $XDG_DATA_HOME, not tmp nor /usr/share
5 # - ... rewrite example config and scripts from scratch.
6
7 %define         gitdate 20090703
8
9 Summary:        A keyboard controlled (modal vim-like bindings, or with modifier keys) browser based on Webkit
10 Summary(hu.UTF-8):      Egy billentyűzettel irányítható (vim-szerű vagy módosító kódok) böngésző Webkit alapokon
11 Name:           uzbl
12 Version:        0
13 Release:        0.%{gitdate}.1
14 License:        GPL v3
15 Group:          X11/Applications/Networking
16 Source0:        %{name}-%{gitdate}.tar.xz
17 # Source0-md5:  e90ffe6b73747731a1d9d7c456e3e411
18 URL:            http://www.uzbl.org/
19 BuildRequires:  curl-devel
20 BuildRequires:  gtk+2-devel
21 BuildRequires:  gtk-webkit-devel
22 BuildRequires:  libsoup-devel
23 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25 %description
26 The uzbl browser is a keyboard controlled (modal vim-like bindings, or
27 with modifier keys) browser based on Webkit.
28
29 %description -l hu.UTF-8
30 Egy billentyűzettel irányítható (vim-szerű vagy módosító kódok)
31 böngésző Webkit alapokon.
32
33 %package tabbed
34 Summary:        Tabs for uzbl
35 Group:          X11/Applications/Networking
36 Requires:       %{name} = %{epoch}:%{version}-%{release}
37
38 %description tabbed
39 Wrapper for uzbl that provides firefox-style tabs.
40
41 %package examples
42 Summary:        Example config and scripts for uzbl
43 Summary(hu.UTF-8):      Példa konfigurációs fájlok és szkriptek uzbl-hez
44 Summary(pl.UTF8):       Przykładowa konfiguracja i skrypty dla uzbl
45 Group:          Documentation
46 Requires:       %{name} = %{epoch}:%{version}-%{release}
47 Requires:       bash
48 Requires:       dmenu
49 Requires:       zenity
50
51 %description examples
52 Example config files and scripts for uzbl. If you want just try uzbl
53 install this package and run:
54
55 uzbl -c %{_datadir}/uzbl/configs/sampleconfig
56
57 %description examples -l hu.UTF-8
58 Példa konfigurációs fájlok és szkriptek uzbl-hez. Ha ki akarod
59 próbálni az uzbl-lel, akkor telepítsd ezt a csomagot és a következő
60 paranccsal indíthatod:
61
62 uzbl -c %{_datadir}/uzbl/configs/sampleconfig
63
64 %prep
65 %setup -q -n %{name}-%{gitdate}
66
67 find examples -type f | xargs sed -i 's,/examples/,/,g'
68
69 %build
70 %{__make}
71
72 %install
73 rm -rf $RPM_BUILD_ROOT
74
75 %{__make} install \
76         DESTDIR=$RPM_BUILD_ROOT
77
78 # tabbed
79 mv $RPM_BUILD_ROOT%{_datadir}/uzbl/examples/data/uzbl/scripts/uzbl_tabbed.py $RPM_BUILD_ROOT%{_bindir}/uzbl_tabbed
80
81 # examples
82 mv $RPM_BUILD_ROOT%{_datadir}/uzbl/examples/* $RPM_BUILD_ROOT%{_datadir}/uzbl
83 rm -r $RPM_BUILD_ROOT%{_datadir}/uzbl/{docs,examples}
84
85 %clean
86 rm -rf $RPM_BUILD_ROOT
87
88 %files
89 %defattr(644,root,root,755)
90 %doc AUTHORS README docs/*
91 %attr(755,root,root) %{_bindir}/uzbl
92 %attr(755,root,root) %{_bindir}/uzblctrl
93
94 %files tabbed
95 %defattr(644,root,root,755)
96 %attr(755,root,root) %{_bindir}/uzbl_tabbed
97
98 %files examples
99 %defattr(644,root,root,755)
100 %dir %{_datadir}/uzbl
101 %dir %{_datadir}/uzbl/data
102 %dir %{_datadir}/uzbl/data/uzbl
103 %dir %{_datadir}/uzbl/data/uzbl/scripts
104 %attr(755,root,root) %{_datadir}/uzbl/data/uzbl/scripts/*
105 %{_datadir}/uzbl/data/uzbl/forms
106 %{_datadir}/uzbl/data/uzbl/bookmarks
107 %{_datadir}/uzbl/data/uzbl/*.*
108 %{_datadir}/uzbl/config
This page took 0.060917 seconds and 4 git commands to generate.