SPECS: openbox.spec - 20060814 snap, updated and cleaned up BR, li...

freetz freetz at pld-linux.org
Mon Aug 14 17:15:54 CEST 2006


Author: freetz                       Date: Mon Aug 14 15:15:54 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- 20060814 snap, updated and cleaned up BR, libs subpkg

---- Files affected:
SPECS:
   openbox.spec (1.57 -> 1.58) 

---- Diffs:

================================================================
Index: SPECS/openbox.spec
diff -u SPECS/openbox.spec:1.57 SPECS/openbox.spec:1.58
--- SPECS/openbox.spec:1.57	Tue Nov 15 23:37:40 2005
+++ SPECS/openbox.spec	Mon Aug 14 17:15:49 2006
@@ -1,32 +1,36 @@
 # $Revision$, $Date$
-%define		_rc rc2
+#
+%define		_snap 20070814
+#
 Summary:	Small and fast window manger for the X Window
 Summary(pl):	Mały i szybki zarządca okien dla X Window
 Name:		openbox
 Version:	3.3
-Release:	0.%{_rc}.1
+Release:	0.%{_snap}.1
 Epoch:		1
 License:	GPL
 Group:		X11/Window Managers
-Vendor:		Ben Jansens (ben at orodu.net)
-Source0:	http://openbox.org/releases/%{name}-%{version}-%{_rc}.tar.gz
+#Source0:	http://openbox.org/releases/%{name}-%{version}-%{_rc}.tar.gz
+Source0:	%{name}-%{version}-%{_snap}.tar.bz2
 # Source0-md5:	1ff100d27cc1f47dadebb884a696dac3
 Source1:	%{name}-xsession.desktop
 URL:		http://openbox.org/
-BuildRequires:	XFree86-devel
 BuildRequires:	autoconf
 BuildRequires:	automake
 BuildRequires:	bison
 BuildRequires:	flex
 BuildRequires:	gettext-autopoint >= 0.12.1
-BuildRequires:	gtk+2-devel
-BuildRequires:	libglade2-devel
 BuildRequires:	libtool
+BuildRequires:	libxml2-devel >= 1:2.6.26
+BuildRequires:	pango-devel >= 1.14.0
 BuildRequires:	pkgconfig
 BuildRequires:	rpmbuild(macros) >= 1.197
 BuildRequires:	startup-notification-devel
-BuildRequires:	xft-devel >= 2.1.2-6
-Requires:	openbox-theme-base = %{epoch}:%{version}-%{release}
+BuildRequires:	xorg-lib-libSM-devel
+BuildRequires:	xorg-lib-libXinerama-devel
+BuildRequires:	xorg-lib-libXrandr-devel
+Requires:	%{name}-libs = %{epoch}:%{version}-%{release}
+Requires:	%{name}-theme-base = %{epoch}:%{version}-%{release}
 Provides:	gnome-wm
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -46,7 +50,7 @@
 Summary:	Header files for openbox
 Summary(pl):	Pliki nagłówkowe openbox
 Group:		Development/Libraries
-Requires:	%{name} = %{epoch}:%{version}-%{release}
+Requires:	%{name}-libs = %{epoch}:%{version}-%{release}
 
 %description devel
 Development header files for writing applications based on openbox.
@@ -66,6 +70,17 @@
 %description static -l pl
 Statyczna biblioteka openbox.
 
+%package libs
+Summary:	openbox libraries
+Summary(pl):	biblioteki openboxa
+Group:		Libraries
+
+%description libs
+openbox libraries.
+
+%description libs -l pl
+Biblioteka openboxa.
+
 %package themes-Allegro
 Summary:	Allegro theme for openbox
 Summary(pl):	Motyw Allegro dla openboxa
@@ -128,7 +143,7 @@
 Motyw TheBear dla openboxa.
 
 %prep
-%setup -qn %{name}-%{version}-%{_rc}
+%setup -q
 
 %build
 %{__autopoint}
@@ -151,23 +166,20 @@
 install %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/xsessions/openbox.desktop
 
 rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
-
-# no idea what to do with it...
-rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/en@*
+rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/no
 
 %find_lang %{name} --all-name
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%post	-p /sbin/ldconfig
-%postun	-p /sbin/ldconfig
+%post	libs -p /sbin/ldconfig
+%postun	libs -p /sbin/ldconfig
 
 %files -f %{name}.lang
 %defattr(644,root,root,755)
 %doc CHANGELOG COMPLIANCE README
 %attr(755,root,root) %{_bindir}/*
-%attr(755,root,root) %{_libdir}/lib*.so.*.*.*
 %dir %{_datadir}/openbox
 %{_datadir}/openbox/*
 %{_datadir}/xsessions/openbox.desktop
@@ -176,6 +188,10 @@
 %{_sysconfdir}/xdg/openbox/*.xml
 %{_wmpropsdir}/openbox.desktop
 
+%files libs
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/lib*.so.*.*.*
+
 %files devel
 %defattr(644,root,root,755)
 %dir %{_includedir}/openbox
@@ -225,6 +241,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.58  2006/08/14 15:15:49  freetz
+- 20060814 snap, updated and cleaned up BR, libs subpkg
+
 Revision 1.57  2005/11/15 22:37:40  freetz
 - 3.3 rc2
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/openbox.spec?r1=1.57&r2=1.58&f=u



More information about the pld-cvs-commit mailing list