File libxfce4util.spec of Package libxfce4util

#
# spec file for package libxfce4util (Version 4.4.3)
#
# Copyright (c) 2008 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:           libxfce4util
BuildRequires:  glib2-devel
%if 0%{?suse_version} > 1000
BuildRequires:  dbus-1-devel
%else
BuildRequires:  pkgconfig
%endif
Summary:        Utility Library for the Xfce Desktop Environment
Version:        4.4.3
Release:        1
License:        LGPL v2.1 or later
Url:            http://www.xfce.org/
Source0:        %{name}-%{version}.tar.bz2
Group:          Development/Libraries/Other
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Requires:       glib2

%description
Basic utility non-GUI functions for XFce4.



Authors:
--------
    Benedikt Meurer <benedikt.meurer@unix-ag.uni-siegen.de>

%package devel
License:        BSD 3-Clause
Requires:       libxfce4util = %{version}
Requires:       glib2-devel
Summary:        Utility Library for the Xfce Desktop Environment
Group:          Development/Libraries/Other
AutoReqProv:    on
PreReq:         %install_info_prereq

%description devel
Basic utility non-GUI functions for XFce4.



Authors:
--------
    Benedikt Meurer <benedikt.meurer@unix-ag.uni-siegen.de>

%prep
%setup -q

%build
%configure
make %{?jobs:-j%jobs}

%install
make DESTDIR=$RPM_BUILD_ROOT install
%find_lang %{name}

%clean
rm -rf $RPM_BUILD_ROOT

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%files -f %name.lang
%defattr(-,root,root)
%doc AUTHORS COPYING ChangeLog NEWS TODO README README.Kiosk
%{_sbindir}/xfce4-kiosk-query
%{_libdir}/*.so*

%files devel
%defattr(-, root, root)
%{_libdir}/pkgconfig/*
%{_libdir}/*.*a
%dir %{_includedir}/xfce4
%dir %{_includedir}/xfce4/libxfce4util
%{_includedir}/xfce4/libxfce4util/*
%dir /usr/share/gtk-doc
%dir /usr/share/gtk-doc/html
%{_datadir}/gtk-doc/html/libxfce4util

%changelog
* Wed Nov 05 2008 bwalle@suse.de
- updated to 4.4.3
  * translations polish
  * bug fixes
* Mon Dec 03 2007 bwalle@suse.de
- update to 4.4.2
  o Fix applications sometimes starting on the wrong screen in
  multihead setups
  o Fix possible buffer overflow
  o Remove trailing parens on AC_INIT version info to work around
  bug in intltool 0.35.x and 0.36.x.
  o Updated and new translations
* Mon Nov 12 2007 prusnak@suse.cz
- use %%find_lang macro
- do not package INSTALL file
* Sun Oct 21 2007 bwalle@suse.de
- replaced group 'System/GUI/Other' by 'System/GUI/XFCE'
* Tue Apr 10 2007 bwalle@suse.de
- update to 4.4.1
  o Fix invalid g_slice_free1() in XfceRc code.
  o Fix bug when deleting groups.
  o Do not use GMemChunk for XfceRc module as that leaks all of its
  memory starting with GLib 2.10.
* Mon Jan 29 2007 pnemec@suse.cz
- removed providing %%name from package #236139
* Wed Jan 24 2007 stbinner@suse.de
- fix build
* Sun Jan 21 2007 bwalle@suse.de
- upgraded to 4.4.0
* Sun Nov 05 2006 bwalle@suse.de
- updated to 4.3.99.2 (4.4 rc2)
* Tue Sep 05 2006 pnemec@suse.cz
- updated to new version 4.3.99.1
* Thu Aug 24 2006 pnemec@suse.cz
- added dbus-devel to build requires
* Wed Aug 02 2006 pnemec@suse.cz
- initial comment, version is 4.3.90.2
- package moved into BuildService
- no patch needed
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Mon Jan 16 2006 pnemec@suse.cz
- updated to 4.2.3
* Fri Sep 23 2005 cthiel@suse.de
- added -fno-strict-aliasing to CFLAGS
* Wed Sep 14 2005 cthiel@suse.de
- specfile cleanup
* Mon Aug 01 2005 cthiel@suse.de
- fixed Requires
* Wed May 18 2005 cthiel@suse.de
- fixed filelist
* Wed May 18 2005 cthiel@suse.de
- update to 4.2.2
* Mon Apr 11 2005 cthiel@suse.de
- update to 4.2.1
* Wed May 12 2004 ltinkl@suse.cz
- initial version
openSUSE Build Service is sponsored by