File libxfcegui4.spec of Package libxfcegui4

#
# spec file for package libxfcegui4 (Version 4.6.1)
#
# Copyright (c) 2009 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:           libxfcegui4
BuildRequires:  dbus-1-devel gtk-doc gtk2-devel intltool libglade2-devel libxfce4util-devel libxfconf-devel libxml2-devel startup-notification-devel update-desktop-files
Summary:        Various GTK Widgets for Xfce
Version:        4.6.1
Release:        2.<RELEASE4>
License:        LGPL v2.1 or later
Url:            http://www.xfce.org/
Source0:        %{name}-%{version}.tar.bz2
Patch0:         %{name}-4.6.1-overflow.patch
Group:          System/GUI/XFCE
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
Various GTK widgets for xfce4.



Authors:
--------
    Olivier Fourdan <fourdan@xfce.org>
    Jasper Huijsmans <huysmans@users.sourceforge.net>

%package devel
License:        LGPL v2.1 or later
Requires:       libxfcegui4 = %{version}
Requires:       dbus-1-devel gtk2-devel libxml2-devel libglade2-devel libxfce4util-devel libxfconf-devel startup-notification-devel
Summary:        Various GTK Widgets for Xfce
Group:          Development/Libraries/C and C++
AutoReqProv:    on
PreReq:         %install_info_prereq

%description devel
Various GTK widgets for xfce4.



Authors:
--------
    Olivier Fourdan <fourdan@xfce.org>
    Jasper Huijsmans <huysmans@users.sourceforge.net>

%prep
%setup -q
%patch0 -p1

%build
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
%configure \
    --enable-startup-notification \
    --enable-gtk-doc \
    --disable-static
make %{?jobs:-j%jobs}

%install
make DESTDIR=$RPM_BUILD_ROOT install
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la $RPM_BUILD_ROOT%{_libdir}/libglade/2.0/*.la
%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 README ChangeLog NEWS
%{_libdir}/*.so.*
%{_libdir}/libglade/*/*.so
%dir %{_datadir}/icons/hicolor
%dir %{_datadir}/icons/hicolor/48x48
%dir %{_datadir}/icons/hicolor/48x48/apps
%dir %{_datadir}/icons/hicolor/scalable
%dir %{_datadir}/icons/hicolor/scalable/apps
%{_datadir}/icons/hicolor/*/*/*
%dir %{_sysconfdir}/xdg/xfce4
%dir %{_sysconfdir}/xdg/xfce4/xfconf
%dir %{_sysconfdir}/xdg/xfce4/xfconf/xfce-perchannel-xml
%{_sysconfdir}/xdg/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml

%files devel
%defattr(-, root, root)
%doc %{_datadir}/gtk-doc/html/libxfcegui4
%dir %{_includedir}/xfce4
%dir %{_includedir}/xfce4/libxfcegui4
%{_includedir}/xfce4/libxfcegui4/*
%dir %{_includedir}/xfce4/libxfce4kbd-private
%{_includedir}/xfce4/libxfce4kbd-private/*
%{_libdir}/*.so
%{_libdir}/pkgconfig/*

%changelog
openSUSE Build Service is sponsored by