File libxfce4menu.spec of Package libxfce4menu

#
# spec file for package libxfce4menu (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:           libxfce4menu
%define fullname %{name}-0.1
%define libname  %{name}-0_1-0
Summary:        Xfce4 menu
Version:        4.6.1
Release:        1
License:        LGPL v2.1 or later
Url:            http://www.xfce.org/
Source:         %{name}-%{version}.tar.bz2
Patch0:         %{name}-no-yast-desktop-files.patch
Group:          System/GUI/XFCE
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  glib2-devel gtk-doc gtk2-devel intltool libxfce4util-devel

%description
This is libxfce4menu, a freedesktop.org compliant menu implementation
for Xfce.



Authors:
--------
    Jannis Pohlmann <jannis@xfce.org>

%package -n libxfce4menu-0_1-0
License:        LGPL v2.1 or later
Summary:        Xfce4 menu
Group:          System/GUI/XFCE

%description -n libxfce4menu-0_1-0
This is libxfce4menu, a freedesktop.org compliant menu implementation
for Xfce.



Authors:
--------
    Jannis Pohlmann <jannis@xfce.org>

%package devel
License:        LGPL v2.1 or later
Summary:        Xfce4 menu
Group:          Development/Libraries/C and C++
Requires:       %{libname} = %{version}

%description devel
This is libxfce4menu, a freedesktop.org compliant menu implementation
for Xfce.



Authors:
--------
    Jannis Pohlmann <jannis@xfce.org>

%prep
%setup -q
%patch0

%build
%configure \
    --enable-gtk-doc \
    --disable-static
make %{?jobs:-j%jobs}

%install
make DESTDIR=$RPM_BUILD_ROOT install
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
%find_lang %{fullname}

%clean
rm -rf $RPM_BUILD_ROOT

%post -n %{libname} -p /sbin/ldconfig

%postun -n %{libname} -p /sbin/ldconfig

%files -n %{libname} -f %{fullname}.lang
%defattr(-,root,root)
%doc AUTHORS COPYING ChangeLog HACKING README STATUS TODO
%{_libdir}/*.so.*

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

%changelog
* Tue Apr 21 2009 prusnak@suse.cz
- updated to 4.6.1
  * Remove gtk+-2.0 from the dependency field of pkg-config file
  Add glib-2.0 and gthread-2.0 instead.
  * Update translations: es, it, ja, gl
* Mon Mar 09 2009 prusnak@suse.cz
- fix package names according to shared library policy
* Thu Mar 05 2009 prusnak@suse.cz
- do not show YaST modules in Xfce menu - workaround for [bnc#393955]
  (no-yast-desktop-files.patch)
* Fri Feb 27 2009 prusnak@suse.cz
- updated to 4.6.0 (Xfce 4.6.0 release)
* Mon Aug 18 2008 prusnak@suse.cz
- created package (version 4.5.80)
openSUSE Build Service is sponsored by