1
0
ndesk-dbus-glib/ndesk-dbus-glib.spec

80 lines
2.0 KiB
RPMSpec

#
# spec file for package ndesk-dbus-glib (Version 0.4.1)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: ndesk-dbus-glib
Obsoletes: dbus-sharp-glib
BuildRequires: mono-devel ndesk-dbus
Requires: ndesk-dbus
Url: http://www.ndesk.org/DBusSharp
License: X11/MIT
Group: Development/Libraries/Other
Version: 0.4.1
Release: 1
Summary: Ndesk-dbus-glib provides glib integration for NDesk.DBus
Source: ndesk-dbus-glib-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%description
Ndesk-dbus-glibl provides glib integration for NDesk.DBus
%package devel
License: X11/MIT
Summary: Ndesk-dbus-glib provides glib integration for NDesk.DBus
Group: Development/Libraries/Other
AutoReqProv: on
Requires: %{name} = %{version}
%description devel
Ndesk-dbus-glibl provides glib integration for NDesk.DBus
%prep
%setup
%build
./configure --prefix=%_prefix
make
%install
make install DESTDIR=$RPM_BUILD_ROOT
# move .pc to usr/share
mkdir -p $RPM_BUILD_ROOT%_datadir/pkgconfig
mv $RPM_BUILD_ROOT/usr/lib/pkgconfig/ndesk-dbus-glib-1.0.pc $RPM_BUILD_ROOT%_datadir/pkgconfig
%clean
rm -rf "$RPM_BUILD_ROOT"
%files devel
%defattr(-,root,root)
%{_datadir}/pkgconfig/ndesk-dbus-glib-1.0.pc
%files
%defattr(-,root,root)
%doc COPYING README
%{_prefix}/lib/mono/gac/NDesk.DBus.GLib
%{_prefix}/lib/mono/ndesk-dbus-glib-1.0
%changelog
* Wed Jun 04 2008 wberrier@suse.de
- Update to 0.4.1. Fixes bnc#390845 (broken mono apps using dbus
on ppc)
-Build system for 0.4.1 works much better so we don't need
build-fix.patch or include.mk anymore
* Thu Mar 20 2008 mauro@suse.de
- Added -devel subpackage as bnc#351512 requests.
* Thu May 31 2007 - mauro@novell.com
- Adding this package to factory