# TODO:
# - unbash example scripts
-%define gitdate 20090912
-
Summary: A keyboard controlled (modal vim-like bindings, or with modifier keys) browser based on Webkit
Summary(hu.UTF-8): Egy billentyűzettel irányítható (vim-szerű vagy módosító kódok) böngésző Webkit alapokon
Summary(pl.UTF-8): Minimalistyczna przeglądarka w całości obsługiwana przy użyciu klawiatury
Name: uzbl
-Version: 0
-Release: 0.%{gitdate}.1
+Version: 2009.12.22
+Release: 1
License: GPL v3
Group: X11/Applications/Networking
# git://github.com/Dieterbe/uzbl.git
-Source0: http://xatka.net/~z/PLD/%{name}-%{gitdate}.tar.bz2
-# Source0-md5: f0a619f6a61679756508dc1aa2db8926
+Source0: http://github.com/Dieterbe/uzbl/tarball/2009.12.22
+# Source0-md5: 8cf1bd7c2fe6c14345b1671160f0214f
Patch0: %{name}-config.patch
Patch1: %{name}-dmenu.patch
URL: http://www.uzbl.org/
+Requires: %{name}-core = %{epoch}:%{version}-%{release}
BuildRequires: curl-devel
BuildRequires: gtk+2-devel
BuildRequires: gtk-webkit-devel
trybie podobnie jak vim albo w trybie przypominającym działanie
emacsa. uzbl wykorzystuje silnik Webkit.
-uzbl sam nie obsługuje zakładek, tabów, historii, pobierania plików.
-Funkcjonalności te są realizowane przez zewnętrzne skrypty. Dzięki
-temu przeglądarka ta jest bardzo elastyczna, konfigurowalna i może być
-w łatwy sposób rozszerzana.
+uzbl sam nie obsługuje zakładek, historii, pobierania plików. Funkcjonalności
+te są realizowane przez zewnętrzne skrypty. Dzięki temu przeglądarka ta jest
+bardzo elastyczna, konfigurowalna i może być w łatwy sposób rozszerzana.
+
+%package core
+Summary: Uzbl core
+Summary(pl.UTF-8): Jądro Uzbl
+Group: X11/Applications/Networking
+Suggests: %{name}-cookie-daemon = %{epoch}:%{version}-%{release}
+Suggests: %{name}-event-manager = %{epoch}:%{version}-%{release}
+
+%description core
+Main component of uzbl browser. You also need one of UI components
+(uzbl or uzbl-tabbed).
+
+%description core -l pl.UTF-8
+Jądro przeglądarki uzbl. Aby mieć w pełni funkcjonalną przeglądarkę
+potrzebujesz jeszcze jeden z interfejsów graficznych: uzbl lub uzbl-tabbed.
+
+%package event-manager
+Summary: Uzbl event manager
+Summary(pl.UTF-8): Zarządca zdarzeń dla uzbl
+Group: X11/Applications/Networking
+
+%description event-manager
+Uzbl event manager.
+
+%description event-manager
+Zarządca zdarzeń dla uzbl.
+
+%package cookie-daemon
+Summary: Uzbl cookie daemon
+Summary(pl.UTF-8): Serwer ciasteczek dla uzbl
+Group: X11/Applications/Networking
+
+%description cookie-daemon
+uzbl-cookie-daemon provides http cookies for uzbl.
+
+%description cookie-daemon -l pl.UTF-8
+Obsługa ciasteczek http (coockies) dla przeglądarki uzbl.
%package tabbed
Summary: Tabs for uzbl
Summary(hu.UTF-8): Tabok uzbl-hez
Summary(pl.UTF-8): Taby dla uzbl
Group: X11/Applications/Networking
-Requires: %{name} = %{epoch}:%{version}-%{release}
+Requires: %{name}-core = %{epoch}:%{version}-%{release}
%description tabbed
Wrapper for uzbl that provides firefox-style tabs.
uzbl -c %{_examplesdir}/%{name}-%{version}/config
%prep
-%setup -q -n %{name}-%{gitdate}
+%setup -q -n Dieterbe-uzbl-4994115
%patch0 -p1
%patch1 -p1
rm -rf $RPM_BUILD_ROOT
%{__make} install \
- PREFIX=$RPM_BUILD_ROOT%{_prefix}
-
-# tabbed
-mv $RPM_BUILD_ROOT%{_datadir}/uzbl/examples/data/uzbl/scripts/uzbl_tabbed.py $RPM_BUILD_ROOT%{_bindir}/uzbl_tabbed
+ PREFIX=%{_prefix} \
+ DESTDIR=$RPM_BUILD_ROOT
# most important scripts
install -d $RPM_BUILD_ROOT%{_datadir}/uzbl/scripts
mv $RPM_BUILD_ROOT%{_datadir}/uzbl/examples/data/uzbl/scripts $RPM_BUILD_ROOT%{_datadir}/uzbl
-# example config
-install -d $RPM_BUILD_ROOT%{_examplesdir}/uzbl-%{version}
-mv $RPM_BUILD_ROOT%{_datadir}/uzbl/examples/config/uzbl/config $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/config
-mv $RPM_BUILD_ROOT%{_datadir}/uzbl/examples/data/uzbl/forms $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/forms
-rm -r $RPM_BUILD_ROOT%{_datadir}/uzbl/{docs,examples}
+rm -r $RPM_BUILD_ROOT%{_datadir}/uzbl/docs
+
+ln -s %{_bindir}/uzbl-browser $RPM_BUILD_ROOT%{_bindir}/uzbl
%clean
rm -rf $RPM_BUILD_ROOT
%defattr(644,root,root,755)
%doc AUTHORS README docs/*
%attr(755,root,root) %{_bindir}/uzbl
+%attr(755,root,root) %{_bindir}/uzbl-browser
%dir %{_datadir}/uzbl
+%files core
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/uzbl-core
+
+%files event-manager
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/uzbl-event-manager
+
+%files cookie-daemon
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/uzbl-cookie-daemon
+
%files tabbed
%defattr(644,root,root,755)
-%attr(755,root,root) %{_bindir}/uzbl_tabbed
+%attr(755,root,root) %{_bindir}/uzbl-tabbed
%files scripts
%defattr(644,root,root,755)
%files examples
%defattr(644,root,root,755)
-%{_examplesdir}/uzbl-%{version}
+%{_datadir}/uzbl/examples