]> git.pld-linux.org Git - packages/uzbl.git/blobdiff - uzbl.spec
- up to 20090620
[packages/uzbl.git] / uzbl.spec
index db229db8b1af4060c5b978e700fb89f048e42c21..b794c875867c7993eb44fb879f188f1172902868 100644 (file)
--- a/uzbl.spec
+++ b/uzbl.spec
@@ -1,14 +1,20 @@
+# TODO:
+# - Where to place example config files and scripts?
+# - unbash example scripts
+# - example scripts should use $XDG_DATA_HOME, not tmp nor /usr/share
+# - ... rewrite example config and scripts from scratch.
 
-%define                gitdate 20090526
+%define                gitdate 20090620
 
 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
 Name:          uzbl
 Version:       0
 Release:       0.%{gitdate}.1
 License:       GPL v3
 Group:         X11/Applications/Networking
 Source0:       %{name}-%{gitdate}.tar.xz
-# Source0-md5: 58a2ccd187b6de901f64b2968c36802d
+# Source0-md5: 314bbf2d41bfa2aab9644dd6bced5184
 URL:           http://www.uzbl.org/
 BuildRequires: curl-devel
 BuildRequires: gtk+2-devel
@@ -20,9 +26,38 @@ BuildRoot:   %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 The uzbl browser is a keyboard controlled (modal vim-like bindings, or
 with modifier keys) browser based on Webkit.
 
+%description -l hu.UTF-8
+Egy billentyűzettel irányítható (vim-szerű vagy módosító kódok)
+böngésző Webkit alapokon.
+
+%package examples
+Summary:       Example config and scripts for uzbl
+Summary(hu.UTF-8):     Példa konfigurációs fájlok és szkriptek uzbl-hez
+Summary(pl.UTF8):      Przykładowa konfiguracja i skrypty dla uzbl
+Group:         Documentation
+Requires:      %{name} = %{epoch}:%{version}-%{release}
+Requires:      bash
+Requires:      dmenu
+Requires:      zenity
+
+%description examples
+Example config files and scripts for uzbl. If you want just try uzbl
+install this package and run:
+
+uzbl -c %{_datadir}/uzbl/configs/sampleconfig
+
+%description examples -l hu.UTF-8
+Példa konfigurációs fájlok és szkriptek uzbl-hez. Ha ki akarod
+próbálni az uzbl-lel, akkor telepítsd ezt a csomagot és a következő
+paranccsal indíthatod:
+
+uzbl -c %{_datadir}/uzbl/configs/sampleconfig
+
 %prep
 %setup -q -n %{name}-%{gitdate}
 
+find examples -type f | xargs sed -i 's,/examples/,/,g'
+
 %build
 %{__make}
 
@@ -32,6 +67,9 @@ rm -rf $RPM_BUILD_ROOT
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
+mv $RPM_BUILD_ROOT%{_datadir}/uzbl/examples/* $RPM_BUILD_ROOT%{_datadir}/uzbl
+rm -r $RPM_BUILD_ROOT%{_datadir}/uzbl/{docs,examples}
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -40,4 +78,15 @@ rm -rf $RPM_BUILD_ROOT
 %doc AUTHORS README docs/*
 %attr(755,root,root) %{_bindir}/uzbl
 %attr(755,root,root) %{_bindir}/uzblctrl
-%{_datadir}/uzbl
+
+%files examples
+%defattr(644,root,root,755)
+%dir %{_datadir}/uzbl
+%dir %{_datadir}/uzbl/data
+%dir %{_datadir}/uzbl/data/uzbl
+%dir %{_datadir}/uzbl/data/uzbl/scripts
+%attr(755,root,root) %{_datadir}/uzbl/data/uzbl/scripts/*
+%{_datadir}/uzbl/data/uzbl/forms
+%{_datadir}/uzbl/data/uzbl/bookmarks
+%{_datadir}/uzbl/data/uzbl/*.*
+%{_datadir}/uzbl/config
This page took 0.094218 seconds and 4 git commands to generate.