]> git.pld-linux.org Git - packages/uzbl.git/blob - uzbl.spec
- added uzbl-dmenu.patch
[packages/uzbl.git] / uzbl.spec
1 # TODO:
2 # - unbash example scripts
3
4 %define         gitdate 20090718
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 # git://github.com/Dieterbe/uzbl.git
14 Source0:        %{name}-%{gitdate}.tar.bz2
15 # Source0-md5:  f5018ec67508bd35a018471a64575d65
16 Patch0:         uzbl-config.patch
17 Patch1:         uzbl-dmenu.patch
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 Summary(hu.UTF-8):      Tabok uzbl-hez
36 Group:          X11/Applications/Networking
37 Requires:       %{name} = %{epoch}:%{version}-%{release}
38
39 %description tabbed
40 Wrapper for uzbl that provides firefox-style tabs.
41
42 %description tabbed -l hu.UTF-8
43 Egy uzbl-wrapper, amely firefox-stílusú tabok használatát teszi lehetővé.
44
45 %package scripts
46 Summary:        Scripts for uzbl
47 Group:          X11/Applications/Networking
48 Requires:       %{name} = %{epoch}:%{version}-%{release}
49
50 %description scripts
51 Scripts for uzbl that handles cookies, downloads, history, etc.
52
53 %package examples
54 Summary:        Example configs
55 Summary(hu.UTF-8):      Példa konfigurációs fájlok 
56 Summary(pl.UTF8):       Przykładowa konfiguracja dla uzbl
57 Group:          Documentation
58 Requires:       %{name} = %{epoch}:%{version}-%{release}
59 Requires:       bash
60 Requires:       dmenu
61 Requires:       zenity
62
63 %description examples
64 Example config files for uzbl. If you want just try uzbl install this package
65 and run:
66
67 uzbl -c %{_examplesdir}/%{name}-%{version}/config
68
69 %description examples -l hu.UTF-8
70 Példa konfigurációs fájlok. Ha ki akarod
71 próbálni az uzbl-lel, akkor telepítsd ezt a csomagot és a következő
72 paranccsal indítsd:
73
74 uzbl -c %{_examplesdir}/%{name}-%{version}/config
75
76 %prep
77 %setup -q -n %{name}-%{gitdate}
78
79 %patch0 -p1
80 %patch1 -p1
81
82 %build
83 %{__make}
84
85 %install
86 rm -rf $RPM_BUILD_ROOT
87
88 %{__make} install \
89         DESTDIR=$RPM_BUILD_ROOT
90
91 # tabbed
92 mv $RPM_BUILD_ROOT%{_datadir}/uzbl/examples/data/uzbl/scripts/uzbl_tabbed.py $RPM_BUILD_ROOT%{_bindir}/uzbl_tabbed
93
94 # most important scripts
95 install -d $RPM_BUILD_ROOT%{_datadir}/uzbl/scripts
96 mv $RPM_BUILD_ROOT%{_datadir}/uzbl/examples/data/uzbl/scripts $RPM_BUILD_ROOT%{_datadir}/uzbl
97
98 # example config
99 install -d $RPM_BUILD_ROOT%{_examplesdir}/uzbl-%{version}
100 mv $RPM_BUILD_ROOT%{_datadir}/uzbl/examples/config/uzbl/config $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/config
101 mv $RPM_BUILD_ROOT%{_datadir}/uzbl/examples/data/uzbl/forms $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/forms
102 rm -r $RPM_BUILD_ROOT%{_datadir}/uzbl/{docs,examples}
103
104 %clean
105 rm -rf $RPM_BUILD_ROOT
106
107 %files
108 %defattr(644,root,root,755)
109 %doc AUTHORS README docs/*
110 %attr(755,root,root) %{_bindir}/uzbl
111 %attr(755,root,root) %{_bindir}/uzblctrl
112 %dir %{_datadir}/uzbl
113
114 %files tabbed
115 %defattr(644,root,root,755)
116 %attr(755,root,root) %{_bindir}/uzbl_tabbed
117
118 %files scripts
119 %dir %{_datadir}/uzbl/scripts
120 %attr(755,root,root) %{_datadir}/uzbl/scripts/*
121
122 %files examples
123 %defattr(644,root,root,755)
124 %{_examplesdir}/uzbl-%{version}
This page took 0.113169 seconds and 4 git commands to generate.