File eggdbus.spec of Package eggdbus
#
# spec file for package eggdbus (Version 0.5)
#
# 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: eggdbus
Summary: D-Bus bindings for GObject
Version: 0.5
Release: 1
License: LGPLv2
Group: Development/Libraries
Url: http://cgit.freedesktop.org/~david/eggdbus
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: dbus-1-glib-devel
BuildRequires: gtk-doc
Source0: http://hal.freedesktop.org/releases/eggdbus-%{version}.tar.bz2
%description
Experimental D-Bus bindings for GObject.
%package -n eggdbus-devel
License: LGPLv2
Summary: Development files for EggDBus
Group: Development/Libraries
Requires: libeggdbus-1-0 = %{version}-%{release}
Requires: pkgconfig
Requires: glib2-devel
%description -n eggdbus-devel
Development files for EggDBus D-Bus bindings for GObject.
%package -n libeggdbus-1-0
License: LGPLv2
Summary: D-Bus bindings for GObject
Group: Development/Libraries
%description -n libeggdbus-1-0
Experimental D-Bus bindings for GObject.
%prep
%setup -q
%build
%configure \
--disable-static \
--enable-gtk-doc
make %{?jobs:-j %jobs}
%post -n libeggdbus-1-0 -p /sbin/ldconfig
%postun -n libeggdbus-1-0 -p /sbin/ldconfig
%install
make install DESTDIR=$RPM_BUILD_ROOT
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
rm -rf $RPM_BUILD_ROOT%{_datadir}/gtk-doc/html/tests
%clean
rm -rf $RPM_BUILD_ROOT
%files -n libeggdbus-1-0
%defattr(-,root,root,-)
%doc AUTHORS COPYING
%{_libdir}/lib*.so.*
%files -n eggdbus-devel
%defattr(-,root,root,-)
%{_libdir}/lib*.so
%{_libdir}/pkgconfig/*.pc
%{_includedir}/*
%{_datadir}/gtk-doc/html/eggdbus
%{_datadir}/man/man1/*
%{_bindir}/*
%changelog