ndesk-dbus-glib/ndesk-dbus-glib.spec

87 lines
2.4 KiB
RPMSpec
Raw Normal View History

#
# spec file for package ndesk-dbus-glib (Version 0.4.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/
#
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: 36
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
* Tue Jun 03 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