File libpanelappletmm.spec of Package libpanelappletmm

#
# spec file for package gtkmm2 (Version 2.16.0)
#
# 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:           libpanelappletmm
BuildRequires:  gcc-c++ 
BuildRequires:  gtkmm2-devel >= 2.4.0
BuildRequires:  gconfmm-devel >= 2.6.0
BuildRequires:  libgnomemm-devel >= 2.6.0
BuildRequires:  gnome-panel-devel >= 2.14.0
BuildRequires:  libgnomeui-devel
BuildRequires:  gnome-common
Version:        2.22.0
Release:        1
Group:          System/Libraries
License:        LGPL v2.1 or later
Summary:        C++ Interface for GNOME libpanelapplet
Source:         ftp://ftp.gnome.org/pub/GNOME/sources/%{name}/2.22/%{name}-%{version}.tar.bz2
Patch0:         libpanelappletmm-build-fix.diff
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
Libpanelappletmm provide an C++ interface to GNOME panel applet API.


%package -n libpanelappletmm-2_6-1
License:        LGPL v2.1 or later
Group:          System/Libraries
Summary:        C++ Interface for GNOME libpanelapplet

%description -n libpanelappletmm-2_6-1
Libpanelappletmm provide an C++ interface to GNOME panel applet API.


%package devel
License:        LGPL v2.1 or later
Group:          Development/Libraries/C and C++
Summary:        C++ Interface for GNOME libpanelapplet
Requires:       libpanelappletmm-2_6-1 = %{version} gtkmm2-devel gconfmm-devel libgnomemm-devel gnome-panel-devel


%description devel
Libpanelappletmm provide an C++ interface to GNOME panel applet API.


%prep
%setup -q -n %{name}-%{version}
%patch0 -p1

%build
AUTOGEN_SUBDIR_MODE=1 ./autogen.sh 
%configure --disable-static
make %{?jobs:-j%jobs} 

%install
make DESTDIR=$RPM_BUILD_ROOT install
rm $RPM_BUILD_ROOT/%{_libdir}/*.*a

%clean
rm -rf $RPM_BUILD_ROOT

%post -n libpanelappletmm-2_6-1 -p /sbin/ldconfig

%postun -n libpanelappletmm-2_6-1 -p /sbin/ldconfig

%files -n libpanelappletmm-2_6-1
%defattr (-, root, root)
%{_libdir}/*.so.*

%files devel
%defattr (-, root, root)
%{_includedir}/*
%{_libdir}/libpanelappletmm-2.6
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc


%changelog
openSUSE Build Service is sponsored by