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