SHA256
1
0
forked from pool/ndesk-dbus
OBS User unknown 2008-02-15 00:11:02 +00:00 committed by Git OBS Bridge
parent e51c6b1c61
commit 8329ea2b46
4 changed files with 79 additions and 41 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8a7465b2a8d540f29700a0e21011728f43a9eb8f5a60edf200e234705878ae2d
size 44348

3
ndesk-dbus-0.6.0.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a93a256efd6a7bb20325346af20e07689d1bf63ad14a2455ab376bc59219caa3
size 99666

View File

@ -1,2 +1,17 @@
* Thu May 31 2007 - mauro@novell.com
- Adding this pacakge to factory
-------------------------------------------------------------------
Tue Feb 5 00:44:45 CET 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 9 00:43:52 CET 2007 - mchristensen@novell.com
- initial packaging (update to 0.6.0 in build service)
-------------------------------------------------------------------
Thu May 31 00:43:24 CET 2007 - mauro@novell.com
- Adding this pacakge to factory

View File

@ -1,7 +1,7 @@
#
# spec file for package ndesk-dbus (Version 0.5.2)
# spec file for package ndesk-dbus (Version 0.6.0)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# 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.
#
@ -9,65 +9,88 @@
#
Name: ndesk-dbus
Obsoletes: dbus-sharp
BuildRequires: mono-devel
Url: http://www.ndesk.org/DBusSharp
Version: 0.6.0
Release: 1
%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
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
Summary: Managed C# implementation of D-Bus
Url: http://www.ndesk.org/DBusSharp
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source0: %{name}-%{version}.tar.bz2
Provides: ndesk-dbus-devel < %{version}
Obsoletes: ndesk-dbus-devel < %{version}
BuildRequires: %{?build_req}
BuildArch: noarch
%description
ndesk-dbus is a C# implementation of D-Bus. It's often referred to as
This 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).
It is a clean-room implementation based on the D-Bus Specification
Version 0.11 and study of the wire protocol of existing tools.
%prep
%setup -n dbus-sharp-%{version}
%setup
%build
%{?exp_env}
%{?env_options}
./configure --prefix=/usr
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
%{?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/
%clean
rm -rf "$RPM_BUILD_ROOT"
%{__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
%_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'
%changelog
* Thu May 31 2007 - mauro@novell.com
* 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
- Adding this pacakge to factory