This commit is contained in:
parent
8071745bfe
commit
f8b6a9a45c
@ -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
3
ndesk-dbus-0.6.0.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:a93a256efd6a7bb20325346af20e07689d1bf63ad14a2455ab376bc59219caa3
|
||||||
|
size 99666
|
@ -1,2 +1,17 @@
|
|||||||
* Thu May 31 2007 - mauro@novell.com
|
-------------------------------------------------------------------
|
||||||
|
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
|
- Adding this pacakge to factory
|
||||||
|
|
||||||
|
@ -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
|
# This file and all modifications and additions to the pristine
|
||||||
# package are under the same license as the package itself.
|
# package are under the same license as the package itself.
|
||||||
#
|
#
|
||||||
@ -9,65 +9,88 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Name: ndesk-dbus
|
Name: ndesk-dbus
|
||||||
Obsoletes: dbus-sharp
|
Version: 0.6.0
|
||||||
BuildRequires: mono-devel
|
Release: 1
|
||||||
Url: http://www.ndesk.org/DBusSharp
|
%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
|
License: X11/MIT
|
||||||
Group: Development/Libraries/Other
|
Group: Development/Libraries/Other
|
||||||
Version: 0.5.2
|
Summary: Managed C# implementation of D-Bus
|
||||||
Release: 1
|
Url: http://www.ndesk.org/DBusSharp
|
||||||
Summary: ndesk-dbus is a C# implementation of D-Bus.
|
|
||||||
Source: dbus-sharp-%{version}.tar.gz
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
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
|
BuildArch: noarch
|
||||||
|
|
||||||
%description
|
%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
|
"managed D-Bus" to avoid confusion with existing bindings (which wrap
|
||||||
libdbus).
|
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.
|
||||||
%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
|
%prep
|
||||||
%setup -n dbus-sharp-%{version}
|
%setup
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
%{?exp_env}
|
||||||
|
%{?env_options}
|
||||||
|
./configure --prefix=/usr
|
||||||
make
|
make
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make -C src install DESTDIR="$RPM_BUILD_ROOT" prefix=%{_prefix}
|
%{?env_options}
|
||||||
mkdir -p "$RPM_BUILD_ROOT"%{_datadir}/pkgconfig
|
make DESTDIR=${RPM_BUILD_ROOT} install
|
||||||
sed -e 's|@prefix@|%{_prefix}|g' < ndesk-dbus-1.0.pc.in > "$RPM_BUILD_ROOT"%{_datadir}/pkgconfig/ndesk-dbus-1.0.pc
|
# 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
|
%clean
|
||||||
rm -rf "$RPM_BUILD_ROOT"
|
%{__rm} -rf ${RPM_BUILD_ROOT}
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc COPYING README
|
%doc COPYING README
|
||||||
%{_prefix}/lib/mono/gac/NDesk.DBus
|
%_prefix/lib/mono/gac/NDesk.DBus
|
||||||
%{_prefix}/lib/mono/ndesk-dbus-1.0
|
%_prefix/lib/mono/ndesk-dbus-1.0
|
||||||
%{_datadir}/pkgconfig/ndesk-dbus-1.0.pc
|
%_datadir/pkgconfig/ndesk-dbus-1.0.pc
|
||||||
|
%if 0%{?fedora_version}
|
||||||
%files devel
|
# Allows overrides of __find_provides in fedora distros... (already set to zero on newer suse distros)
|
||||||
%defattr(-,root,root)
|
%define _use_internal_dependency_generator 0
|
||||||
%{_prefix}/lib/mono/gac/NDesk.DBus
|
%endif
|
||||||
%{_prefix}/lib/mono/ndesk-dbus-1.0
|
%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'
|
||||||
%{_datadir}/pkgconfig/ndesk-dbus-1.0.pc
|
%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
|
%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
|
- Adding this pacakge to factory
|
||||||
|
Loading…
x
Reference in New Issue
Block a user