SHA256
1
0
forked from pool/ndesk-dbus
ndesk-dbus/ndesk-dbus.spec

74 lines
1.9 KiB
RPMSpec

#
# spec file for package ndesk-dbus (Version 0.5.2)
#
# Copyright (c) 2007 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
Obsoletes: dbus-sharp
BuildRequires: mono-devel
Url: http://www.ndesk.org/DBusSharp
License: X11/MIT
Group: Development/Libraries/Other
Version: 0.5.2
Release: 1
Summary: ndesk-dbus is a C# implementation of D-Bus.
Source: dbus-sharp-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%description
ndesk-dbus is a C# implementation of D-Bus. It's often referred to as
"managed D-Bus" to avoid confusion with existing bindings (which wrap
libdbus).
%package devel
Summary: ndesk-dbus is a C# implementation of D-Bus.
Group: Development/Libraries/Other
Autoreqprov: on
%description devel
ndesk-dbus is a C# implementation of D-Bus. It's often referred to as
"managed D-Bus" to avoid confusion with existing bindings (which wrap
libdbus).
%prep
%setup -n dbus-sharp-%{version}
%build
make
%install
make -C src install DESTDIR="$RPM_BUILD_ROOT" prefix=%{_prefix}
mkdir -p "$RPM_BUILD_ROOT"%{_datadir}/pkgconfig
sed -e 's|@prefix@|%{_prefix}|g' < ndesk-dbus-1.0.pc.in > "$RPM_BUILD_ROOT"%{_datadir}/pkgconfig/ndesk-dbus-1.0.pc
%clean
rm -rf "$RPM_BUILD_ROOT"
%files
%defattr(-,root,root)
%doc COPYING README
%{_prefix}/lib/mono/gac/NDesk.DBus
%{_prefix}/lib/mono/ndesk-dbus-1.0
%{_datadir}/pkgconfig/ndesk-dbus-1.0.pc
%files devel
%defattr(-,root,root)
%{_prefix}/lib/mono/gac/NDesk.DBus
%{_prefix}/lib/mono/ndesk-dbus-1.0
%{_datadir}/pkgconfig/ndesk-dbus-1.0.pc
%changelog
* Thu May 31 2007 - mauro@novell.com
- Adding this pacakge to factory