File lxappearance-obconf.spec of Package lxappearance-obconf

#
# spec file for package lxappearance-obconf
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild


Name:           lxappearance-obconf
Summary:        Lxappearance Plugin to Configure Openbox
Version:        0.1.1.99+git20110814
Release:        1
License:        GPLv2
Group:          System/GUI/LXDE
Url:            http://www.lxde.org/
Source0:        %name-%version.tar.bz2
Patch0:         %name-fix-error-handling.patch
Patch1:         %name-fix-incomplete-rename.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  intltool
BuildRequires:  pkgconfig(gtk+-2.0)
BuildRequires:  pkgconfig(lxappearance)
BuildRequires:  pkgconfig(obrender-3.5)
BuildRequires:  pkgconfig(obt-3.5)
Requires:       lxappearance
Requires:       openbox

%description
ObConf is a program used to configure OpenBox window manager developed
by Dana Jansens, Tim Riley, and Javeed Shaikh. LXAppearance is a tool
used to configure look and feels of the desktop written by Hong Jen Yee
for LXDE project. This plugin is derived from ObConf as an attempt to
integrate obconf with LXAppearance to provide a better user experience.
Most of the source code are taken from ObConf written by its authors
with some modifications added by LXAppearance developers to make it a
plugin.

%prep
%setup -q
%patch0 -p1
%patch1 -p1

%build
./autogen.sh
%configure
%__make %{_smp_mflags} V=1

%install
%makeinstall
%__rm %buildroot/%_libdir/lxappearance/plugins/*.{a,la}
%find_lang %name

%clean
rm -fr %buildroot

%files -f %name.lang
%defattr(-,root,root)
%doc AUTHORS CHANGELOG COPYING README
%_libdir/lxappearance/plugins
%dir %_datadir/lxappearance/obconf
%_datadir/lxappearance/obconf/obconf.glade

%changelog
openSUSE Build Service is sponsored by