SPECS: obconf.spec - updated to 2.0.2

megabajt megabajt at pld-linux.org
Sun Jan 20 18:57:56 CET 2008


Author: megabajt                     Date: Sun Jan 20 17:57:56 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- updated to 2.0.2

---- Files affected:
SPECS:
   obconf.spec (1.15 -> 1.16) 

---- Diffs:

================================================================
Index: SPECS/obconf.spec
diff -u SPECS/obconf.spec:1.15 SPECS/obconf.spec:1.16
--- SPECS/obconf.spec:1.15	Tue Feb 13 08:16:50 2007
+++ SPECS/obconf.spec	Sun Jan 20 18:57:51 2008
@@ -2,22 +2,25 @@
 Summary:	Tool for configuring the Openbox window manager
 Summary(pl.UTF-8):	Narzędzie do konfiguracji zarządcy okien Openbox
 Name:		obconf
-Version:	1.6
+Version:	2.0.2
 Release:	1
-License:	GPL v2
+License:	GPL v2+
 Group:		X11/Applications
-Source0:	http://tr.openmonkey.com/files/obconf/%{name}-%{version}.tar.gz
-# Source0-md5:	aaf62498b11d52dfce7a0b6060867a19
+Source0:	http://icculus.org/openbox/obconf/%{name}-%{version}.tar.gz
+# Source0-md5:	1a47bbb3c2f42f134c25a3ef4727cde9
 Patch0:		%{name}-desktop.patch
 URL:		http://openbox.org/obconf/
 BuildRequires:	autoconf >= 2.54
 BuildRequires:	automake
-BuildRequires:	gettext-autopoint >= 0.12.1
-BuildRequires:	libglade2-devel >= 1:2.6.0
+BuildRequires:	gettext-devel >= 0.15
+BuildRequires:	gtk+2-devel >= 2:2.12.0
+BuildRequires:	libglade2-devel >= 1:2.6.2
 BuildRequires:	libtool
-BuildRequires:	openbox-devel >= 1:3.0-0.rc1.1
+BuildRequires:	openbox-devel >= 1:3.4.5
 BuildRequires:	pkgconfig
+BuildRequires:	rpmbuild(macros) >= 1.311
 BuildRequires:	startup-notification-devel
+Requires(post,postun):	shared-mime-info
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -34,7 +37,6 @@
 %patch0 -p1
 
 %build
-%{__autopoint}
 %{__libtoolize}
 %{__aclocal} -I m4
 %{__autoconf}
@@ -48,16 +50,30 @@
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
+%find_lang %{name}
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%files
+%post
+%update_mime_database
+
+%postun
+%update_mime_database
+
+%files -f %{name}.lang
 %defattr(644,root,root,755)
 %doc AUTHORS README
-%attr(755,root,root) %{_bindir}/*
-%dir %{_datadir}/%{name}
-%{_datadir}/%{name}/obconf.glade
+%attr(755,root,root) %{_bindir}/obconf
+%{_datadir}/%{name}
 %{_desktopdir}/obconf.desktop
+%{_datadir}/mime/packages/obconf.xml
+
+# FIXME: move these dirs to filesystem package (?)
+# it's workaround to not require kdelibs
+%dir %{_datadir}/mimelnk
+%dir %{_datadir}/mimelnk/application
+%{_datadir}/mimelnk/application/x-openbox-theme.desktop
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -65,6 +81,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.16  2008-01-20 17:57:51  megabajt
+- updated to 2.0.2
+
 Revision 1.15  2007-02-13 07:16:50  glen
 - tabs in preamble
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/obconf.spec?r1=1.15&r2=1.16&f=u



More information about the pld-cvs-commit mailing list