]> git.pld-linux.org Git - packages/bbrun.git/blobdiff - bbrun.spec
- tabs in preamble
[packages/bbrun.git] / bbrun.spec
index 7b990c13d1d4e89098954db88d54393f47a81b6f..0fa1edaac06cac573634a85a91c199d128424a61 100644 (file)
@@ -1,55 +1,45 @@
-Name:          bbrun
-Version:       1.4
-Release:       alt1
 Summary:       A simple run window with dropdown history list
+Summary(pl.UTF-8):     Proste okienko uruchamiania z rozwijaną listą historii
+Name:          bbrun
+Version:       1.6
+Release:       0.1
 License:       GPL
-Group:         File tools
-######         Unknown group!
-Source0:       http://www.dwave.net/~jking/bbrun/%name-%version.tar.bz2
-Patch0:                %name-1.4-alt-make.patch
-URL:           http://www.dwave.net/~jking/bbrun/
-Requires:      common-licenses
-# Automatically added by buildreq on Mon Feb 24 2003
-BuildRequires: XFree86-devel glib-devel gtk+-devel xpm-devel
+Group:         Applications
+Source0:       http://www.darkops.net/bbrun/%{name}-%{version}.tar.gz
+# Source0-md5: 820960e3d52ddf2d5cf7e4ba51821bfd
+URL:           http://www.darkops.net/bbrun/
+BuildRequires: XFree86-devel
+BuildRequires: gtk+2-devel >= 1:2.0.0
+BuildRequires: pkgconfig
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 BBrun is a run utility for BlackBox which can be run in the slit or in
 withdrawn mode so that it can be bound to a keystroke from bbkeys. It
 also features a history list of the most recent commands.
 
+%description -l pl.UTF-8
+BBrun to narzędzie do uruchamiania dla BlackBoksa. Może być
+uruchamiane w szparze lub w trybie cofniętym, więc może być przypisane
+do klawisza z bbkeys. Ma także listę historii ostatnio wywoływanych
+poleceń.
+
 %prep
 %setup -q
-%patch -p1
 
 %build
-%make_build -C %name
+%{__make} -C bbrun \
+       CC="%{__cc}" \
+       CFLAGS="%{rpmcflags} `pkg-config --cflags gtk+-2.0`"
 
 %install
 rm -rf $RPM_BUILD_ROOT
-%__install -pD -m755 %name/%name %buildroot%_bindir/%name
-%__install -pD -m644 %name/%name.xpm %buildroot%_miconsdir/%name.xpm
-%__ln_s -f %{_datadir}/license/GPL-2 COPYING
-%__mkdir_p %buildroot%_menudir
-%__cat <<EOF >%buildroot%_menudir/%name
-?package(%name): \
-       command="%_bindir/%name -w" \
-       needs="x11" \
-       icon="%name.xpm" \
-       section="Applications/File tools" \
-       title="BBrun" \
-       longtitle="A simple run window"
-EOF
+install -D %{name}/%{name} $RPM_BUILD_ROOT%{_bindir}/%{name}
 
-%post
-%update_menus
-
-%postun
-%clean_menus
+%clean
+rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%_bindir/%name
-%_menudir/%name
-%_miconsdir/%name.xpm
 %doc Changelog README
-%doc --no-dereference COPYING
+%attr(755,root,root) %{_bindir}/%{name}
This page took 0.045735 seconds and 4 git commands to generate.