2007-06-05 04:42:52 +02:00
|
|
|
#
|
2008-02-15 01:11:02 +01:00
|
|
|
# spec file for package ndesk-dbus (Version 0.6.0)
|
2007-06-05 04:42:52 +02:00
|
|
|
#
|
2009-06-19 00:34:23 +02:00
|
|
|
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-06-05 04:42:52 +02:00
|
|
|
#
|
2009-06-19 00:34:23 +02:00
|
|
|
# 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.
|
|
|
|
|
2007-06-05 04:42:52 +02:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
2008-02-15 01:11:02 +01:00
|
|
|
|
2007-06-05 04:42:52 +02:00
|
|
|
Name: ndesk-dbus
|
2008-02-15 01:11:02 +01:00
|
|
|
Version: 0.6.0
|
2009-06-19 00:34:23 +02:00
|
|
|
Release: 63
|
2008-02-15 01:11:02 +01:00
|
|
|
%if 0%{?fedora_version}
|
|
|
|
%define env_options export MONO_SHARED_DIR=/tmp
|
|
|
|
%endif
|
|
|
|
%if 0%{?sles_version} == 9
|
|
|
|
%define exp_env export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/opt/gnome/%{_lib}/pkgconfig
|
|
|
|
%endif
|
|
|
|
%if 0%{?fedora_version}
|
|
|
|
%define build_req pkgconfig mono-devel
|
|
|
|
%else
|
|
|
|
%if 0%{?sles_version} == 9
|
|
|
|
%define build_req pkgconfig mono-devel glib2-devel
|
|
|
|
%else
|
|
|
|
%if 0%{?suse_version} == 1000
|
|
|
|
%define build_req pkgconfig mono-devel glib2-devel
|
|
|
|
%else
|
|
|
|
%define build_req pkg-config mono-devel
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
%endif
|
2011-12-06 18:31:24 +01:00
|
|
|
License: MIT
|
2007-06-05 04:42:52 +02:00
|
|
|
Group: Development/Libraries/Other
|
2008-02-15 01:11:02 +01:00
|
|
|
Summary: Managed C# implementation of D-Bus
|
|
|
|
Url: http://www.ndesk.org/DBusSharp
|
2007-06-05 04:42:52 +02:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2008-02-15 01:11:02 +01:00
|
|
|
Source0: %{name}-%{version}.tar.bz2
|
|
|
|
Provides: ndesk-dbus-devel < %{version}
|
|
|
|
Obsoletes: ndesk-dbus-devel < %{version}
|
|
|
|
BuildRequires: %{?build_req}
|
2007-06-05 04:42:52 +02:00
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description
|
2008-02-15 01:11:02 +01:00
|
|
|
This is a C# implementation of D-Bus. It's often referred to as
|
2007-06-05 04:42:52 +02:00
|
|
|
"managed D-Bus" to avoid confusion with existing bindings (which wrap
|
|
|
|
libdbus).
|
|
|
|
|
2008-02-15 01:11:02 +01:00
|
|
|
It is a clean-room implementation based on the D-Bus Specification
|
|
|
|
Version 0.11 and study of the wire protocol of existing tools.
|
2007-06-05 04:42:52 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
2008-02-15 01:11:02 +01:00
|
|
|
%setup
|
2007-06-05 04:42:52 +02:00
|
|
|
|
|
|
|
%build
|
2008-02-15 01:11:02 +01:00
|
|
|
%{?exp_env}
|
|
|
|
%{?env_options}
|
|
|
|
./configure --prefix=/usr
|
2007-06-05 04:42:52 +02:00
|
|
|
make
|
|
|
|
|
|
|
|
%install
|
2008-02-15 01:11:02 +01:00
|
|
|
%{?env_options}
|
|
|
|
make DESTDIR=${RPM_BUILD_ROOT} install
|
|
|
|
# For noarch
|
|
|
|
mkdir -p ${RPM_BUILD_ROOT}%{_datadir}/pkgconfig
|
|
|
|
mv ${RPM_BUILD_ROOT}/usr/lib/pkgconfig/ndesk-dbus-1.0.pc ${RPM_BUILD_ROOT}%{_datadir}/pkgconfig/
|
2007-06-05 04:42:52 +02:00
|
|
|
|
|
|
|
%clean
|
2008-02-15 01:11:02 +01:00
|
|
|
%{__rm} -rf ${RPM_BUILD_ROOT}
|
2007-06-05 04:42:52 +02:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc COPYING README
|
2008-02-15 01:11:02 +01:00
|
|
|
%_prefix/lib/mono/gac/NDesk.DBus
|
|
|
|
%_prefix/lib/mono/ndesk-dbus-1.0
|
|
|
|
%_datadir/pkgconfig/ndesk-dbus-1.0.pc
|
|
|
|
%if 0%{?fedora_version}
|
|
|
|
# Allows overrides of __find_provides in fedora distros... (already set to zero on newer suse distros)
|
|
|
|
%define _use_internal_dependency_generator 0
|
|
|
|
%endif
|
|
|
|
%define __find_provides env sh -c 'filelist=($(cat)) && { printf "%s\\n" "${filelist[@]}" | /usr/lib/rpm/find-provides && printf "%s\\n" "${filelist[@]}" | /usr/bin/mono-find-provides ; } | sort | uniq'
|
|
|
|
%define __find_requires env sh -c 'filelist=($(cat)) && { printf "%s\\n" "${filelist[@]}" | /usr/lib/rpm/find-requires && printf "%s\\n" "${filelist[@]}" | /usr/bin/mono-find-requires ; } | sort | uniq'
|
2007-06-05 04:42:52 +02:00
|
|
|
|
|
|
|
%changelog
|
2008-02-15 01:11:02 +01:00
|
|
|
* Tue Feb 05 2008 wberrier@suse.de
|
|
|
|
- Update ndesk-dbus from mchristensen's build service project
|
|
|
|
-move .pc file to usr/share and make noarch
|
|
|
|
-clean up filelist
|
|
|
|
* Fri Nov 09 2007 mchristensen@novell.com
|
|
|
|
- initial packaging (update to 0.6.0 in build service)
|
|
|
|
* Thu May 31 2007 mauro@novell.com
|
2007-06-05 04:42:52 +02:00
|
|
|
- Adding this pacakge to factory
|