fluxbox.spec

Jacek 'jackass' Brzozowski metallowiec at op.pl
Wed Jun 28 21:43:03 CEST 2006


nowa wersja, jeżeli nie ma błędów to proszę o commit
patch fluxbox-wheel_direction.patch jest już niepotrzebny więc wywaliłem.

-------------- next part --------------
--- fluxbox.spec~	2006-06-28 21:32:57.000000000 +0200
+++ fluxbox.spec	2006-06-28 21:32:09.000000000 +0200
@@ -4,25 +4,26 @@
 %bcond_without	imlib2		# disable imlib2 (pixmap themes) support
 %bcond_with	old_wheel	# build with right wheel direction
 #
+%define 	_rc	rc
+%define	_rel	1
 Summary:	Fluxbox is a windowmanager that is based on Blackbox
 Summary(pl):	Mały i szybki zarządca okien dla X Window oparty o Blackbox
 Summary(pt_BR):	Fluxbox é um gerenciador de janelas baseado no Blackbox
 Summary(de):	Fluxbox ist ein weiterer Window Manager für X
 Name:		fluxbox
-Version:	0.9.15.1
-Release:	1
+Version:	1.0
+Release:	0.%{_rc}.%{_rel}
 Epoch:		1
 License:	BSD-like
 Group:		X11/Window Managers
-Source0:	http://dl.sourceforge.net/fluxbox/%{name}-%{version}.tar.bz2
-# Source0-md5:	098eb36a09338aabb63b938a5eab9ef6
+Source0:	http://dl.sourceforge.net/fluxbox/%{name}-%{version}%{_rc}.tar.bz2
+# Source0-md5:	e0d3e8b41261fc9b03ac75c014051806
 Source1:	%{name}.desktop
 Source2:	%{name}-xsession.desktop
 Source3:	%{name}-pld.style
 Source4:	%{name}-pld.jpg
 Source5:	%{name}.menu
 Patch0:		%{name}-dont_generate_menu.patch
-Patch1:		%{name}-wheel_direction.patch
 URL:		http://fluxbox.sourceforge.net/
 BuildRequires:	XFree86-devel
 BuildRequires:	autoconf >= 2.52
@@ -72,9 +73,8 @@
 Styles.
 
 %prep
-%setup -q
+%setup -q -n %{name}-%{version}%{_rc}
 %patch0 -p1
-%{!?with_old_wheel:%patch1 -p1}
 
 echo "session.screen0.antialias: true" >> data/init.in
 
@@ -148,8 +148,8 @@
 %lang(nb) %{_datadir}/fluxbox/nls/nb*
 %lang(nl) %{_datadir}/fluxbox/nls/nl*
 %lang(pl) %{_datadir}/fluxbox/nls/pl*
-%lang(pt) %{_datadir}/fluxbox/nls/pt_PT
-%lang(pt_BR) %{_datadir}/fluxbox/nls/pt_BR
+%lang(pt) %{_datadir}/fluxbox/nls/pt_PT*
+%lang(pt_BR) %{_datadir}/fluxbox/nls/pt_BR*
 %lang(ru) %{_datadir}/fluxbox/nls/ru*
 %lang(sl) %{_datadir}/fluxbox/nls/sl*
 %lang(sv) %{_datadir}/fluxbox/nls/sv*



More information about the pld-devel-pl mailing list