]> git.pld-linux.org Git - packages/uzbl.git/blobdiff - uzbl.spec
- some TODO
[packages/uzbl.git] / uzbl.spec
index 668deef3a949825caee4e8a938bd0898d3bac3b0..da0e8735c364069a03891e48c721645c8373769c 100644 (file)
--- a/uzbl.spec
+++ b/uzbl.spec
@@ -1,25 +1,30 @@
 # TODO:
-# - unbash example scripts
-
-%define                gitdate 20090718
-
+# - review python deps
+# - s,/usr/bin/env python,/usr/bin/python,
 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:       2010.04.03
+Release:       1
 License:       GPL v3
 Group:         X11/Applications/Networking
 # git://github.com/Dieterbe/uzbl.git
-Source0:       %{name}-%{gitdate}.tar.bz2
-# Source0-md5: f5018ec67508bd35a018471a64575d65
-Patch0:                uzbl-config.patch
-Patch1:                uzbl-dmenu.patch
+Source0:       http://github.com/Dieterbe/uzbl/tarball/%{version}
+# Source0-md5: 70487d59dd5a1e5a1eca36b976800128
+Patch0:                %{name}-config.patch
+Patch1:                %{name}-dmenu.patch
 URL:           http://www.uzbl.org/
-BuildRequires: curl-devel
 BuildRequires: gtk+2-devel
-BuildRequires: gtk-webkit-devel
+BuildRequires: gtk-webkit-devel >= 1.2.0-4
 BuildRequires: libsoup-devel
+BuildRequires: pkgconfig
+BuildRequires: rpm-pythonprov
+Requires:      %{name}-core = %{epoch}:%{version}-%{release}
+Requires:      dmenu
+Requires:      socat
+Requires:      xclip
+Requires:      zenity
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -30,51 +35,78 @@ with modifier keys) browser based on Webkit.
 Egy billentyűzettel irányítható (vim-szerű vagy módosító kódok)
 böngésző Webkit alapokon.
 
+%description -l pl.UTF-8
+uzbl jest przeglądarką, która może być w całości obsługiwana przy
+użyciu klawiatury. Domyślne ustawienia klawiszy są wzorowane na
+skrótach klawiszowych programu vim. uzbl wykorzystuje silnik Webkit.
+
+uzbl sam nie obsługuje zakładek, historii, pobierania plików. Funkcje
+te są realizowane przez zewnętrzne skrypty. Dzięki temu oraz dzięki
+ładowanym na życzenie skryptom JavaScript 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
+Requires:      gtk-webkit >= 1.2.0-4
+Suggests:      %{name}-cookie-daemon = %{epoch}:%{version}-%{release}
+Suggests:      %{name}-event-manager = %{epoch}:%{version}-%{release}
+Obsoletes:     uzbl-examples
+Obsoletes:     uzbl-scripts
+
+%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.
 
 %description tabbed -l hu.UTF-8
-Egy uzbl-wrapper, amely firefox-stílusú tabok használatát teszi lehetővé.
+Egy uzbl-wrapper, amely firefox-stílusú tabok használatát teszi
+lehetővé.
 
-%package scripts
-Summary:       Scripts for uzbl
-Group:         X11/Applications/Networking
-Requires:      %{name} = %{epoch}:%{version}-%{release}
-
-%description scripts
-Scripts for uzbl that handles cookies, downloads, history, etc.
-
-%package examples
-Summary:       Example configs
-Summary(hu.UTF-8):     Példa konfigurációs fájlok 
-Summary(pl.UTF8):      Przykładowa konfiguracja dla uzbl
-Group:         Documentation
-Requires:      %{name} = %{epoch}:%{version}-%{release}
-Requires:      bash
-Requires:      dmenu
-Requires:      zenity
-
-%description examples
-Example config files for uzbl. If you want just try uzbl install this package
-and run:
-
-uzbl -c %{_examplesdir}/%{name}-%{version}/config
-
-%description examples -l hu.UTF-8
-Példa konfigurációs fájlok. Ha ki akarod
-próbálni az uzbl-lel, akkor telepítsd ezt a csomagot és a következő
-paranccsal indítsd:
-
-uzbl -c %{_examplesdir}/%{name}-%{version}/config
+%description tabbed -l pl.UTF-8
+Skrypt, który dodaje do uzbl taby podobne do tych znanych użytkownikom
+przeglądarki firefox.
 
 %prep
-%setup -q -n %{name}-%{gitdate}
+%setup -qc
+mv Dieterbe-%{name}-*/* .
 
 %patch0 -p1
 %patch1 -p1
@@ -86,20 +118,12 @@ uzbl -c %{_examplesdir}/%{name}-%{version}/config
 rm -rf $RPM_BUILD_ROOT
 
 %{__make} install \
+       PREFIX=%{_prefix} \
        DESTDIR=$RPM_BUILD_ROOT
 
-# tabbed
-mv $RPM_BUILD_ROOT%{_datadir}/uzbl/examples/data/uzbl/scripts/uzbl_tabbed.py $RPM_BUILD_ROOT%{_bindir}/uzbl_tabbed
+rm -r $RPM_BUILD_ROOT%{_datadir}/uzbl/docs
 
-# 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}
+ln -s %{_bindir}/uzbl-browser $RPM_BUILD_ROOT%{_bindir}/uzbl
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -108,17 +132,32 @@ 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}/uzblctrl
-%dir %{_datadir}/uzbl
+%attr(755,root,root) %{_bindir}/uzbl-browser
 
-%files tabbed
+%files core
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_bindir}/uzbl_tabbed
+%attr(755,root,root) %{_bindir}/uzbl-core
+%dir %{_datadir}/uzbl
+%dir %{_datadir}/uzbl/examples
+%{_datadir}/uzbl/examples/config
+%dir %{_datadir}/uzbl/examples/data
+%dir %{_datadir}/uzbl/examples/data/scripts
+%dir %{_datadir}/uzbl/examples/data/plugins
+%attr(755,root,root) %{_datadir}/uzbl/examples/data/scripts/*
+%attr(755,root,root) %{_datadir}/uzbl/examples/data/plugins/*
+%{_datadir}/uzbl/examples/data/dforms
+%{_datadir}/uzbl/examples/data/bookmarks
+%{_datadir}/uzbl/examples/data/style.css
+%{_datadir}/uzbl/examples/data/uzbl.png
+
+%files event-manager
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/uzbl-event-manager
 
-%files scripts
-%dir %{_datadir}/uzbl/scripts
-%attr(755,root,root) %{_datadir}/uzbl/scripts/*
+%files cookie-daemon
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/uzbl-cookie-daemon
 
-%files examples
+%files tabbed
 %defattr(644,root,root,755)
-%{_examplesdir}/uzbl-%{version}
+%attr(755,root,root) %{_bindir}/uzbl-tabbed
This page took 0.05686 seconds and 4 git commands to generate.