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