File libxfcegui4.spec of Package libxfcegui4

#
# spec file for package libxfcegui4
#
# 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/
#



Name:           libxfcegui4
Version:        4.8.1
Release:        1
License:        LGPLv2.1+
Summary:        Widget Library for the Xfce Desktop Environment
Url:            http://www.xfce.org/
Group:          System/Libraries
Source0:        %{name}-%{version}.tar.bz2
BuildRequires:  gtk-doc
BuildRequires:  intltool
BuildRequires:  pkgconfig(dbus-1)
BuildRequires:  pkgconfig(gladeui-1.0)
BuildRequires:  pkgconfig(gtk+-2.0)
BuildRequires:  pkgconfig(libglade-2.0)
BuildRequires:  pkgconfig(libstartup-notification-1.0)
BuildRequires:  pkgconfig(libxfce4util-1.0)
BuildRequires:  pkgconfig(libxfconf-0)
BuildRequires:  pkgconfig(libxml-2.0)
BuildRequires:  update-desktop-files
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
The libxfcegui4 library provides a number of widgets commonly used by Xfce
applications. It has been superseded by the libxfce4ui library.

%package devel
License:        LGPLv2.1+
Summary:        Development Files for the libxfcegui4 Library
Group:          Development/Libraries/C and C++
Requires:       %{name} = %{version}
Requires:       %{name}-gladeui = %{version}
Requires:       pkgconfig(dbus-1)
Requires:       pkgconfig(gtk+-2.0)
Requires:       pkgconfig(libglade-2.0)
Requires:       pkgconfig(libstartup-notification-1.0)
Requires:       pkgconfig(libxfce4util-1.0)
Requires:       pkgconfig(libxfconf-0)
Requires:       pkgconfig(libxml-2.0)

%description devel
The libxfcegui4 library provides a number of widgets commonly used by Xfce
applications. It has been superseded by the libxfce4ui library.

This package provides development files for developing applications based on
the libxfce4ui library.

%package gladeui
License:        LGPLv2.1+
Summary:        Glade3 Support for the libxfce4gui Library
Group:          Development/Libraries/C and C++

%description gladeui
The libxfcegui4 library provides a number of widgets commonly used by Xfce
applications. It has been superseded by the libxfce4ui library.

This package provides a catalog for Glade, to allow the use the Xfce widgets in
Glade.


%prep
%setup -q

%build
export CFLAGS="%{optflags} -fno-strict-aliasing"
%configure \
    --enable-startup-notification \
    --enable-gtk-doc \
    --disable-static
make %{?_smp_mflags} V=1

%install
%make_install
rm -f %{buildroot}/%{_libdir}/*.la \
      %{buildroot}/%{_libdir}/libglade/2.0/*.la \
      %{buildroot}/%{_libdir}/glade3/modules/*.la
rm -f %{buildroot}/%{_datadir}/glade3/catalogs/xfce4.xml.in
rm -rf %{buildroot}%{_datadir}/locale/{ast,kk,tl_PH,ur_PK}
%find_lang %{name}

%clean
rm -rf %{buildroot}

%post
/sbin/ldconfig
%if 0%{?suse_version} >= 1140
%icon_theme_cache_post
%endif

%postun
/sbin/ldconfig
%if 0%{?suse_version} >= 1140
%icon_theme_cache_postun
%endif

%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/*/*/*

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

%files gladeui
%defattr(-,root,root)
%{_libdir}/glade3/modules/libgladexfce4.so
%{_datadir}/glade3/*

%changelog
openSUSE Build Service is sponsored by