[dbus-sharp] Minor spec file cleanup (remove unnecessary %defattr) Migrating to new uptream source Initial spec f

Christian Krause chkr at fedoraproject.org
Wed Oct 19 19:43:09 UTC 2011


commit 9de92f967fd6807883c8f60b2e7b8b303a7f666c
Author: Christian Krause <chkr at fedoraproject.org>
Date:   Wed Oct 19 15:43:05 2011 -0400

    Minor spec file cleanup (remove unnecessary %defattr)
    Migrating to new uptream source
    Initial spec file changes by Denis Washington <denisw at online.de>

 dbus-sharp-0.63-nogtk.patch |    8 ------
 dbus-sharp-gchandle.patch   |   22 -----------------
 dbus-sharp.spec             |   55 +++++++++++++++++-------------------------
 sources                     |    2 +-
 4 files changed, 23 insertions(+), 64 deletions(-)
---
diff --git a/dbus-sharp.spec b/dbus-sharp.spec
index bed74b9..75d8c77 100644
--- a/dbus-sharp.spec
+++ b/dbus-sharp.spec
@@ -1,71 +1,60 @@
-%define dbus_version 0.90
-%define dbus_glib_version 0.70
+%define debug_package %{nil}
 
 Summary: C# bindings for D-Bus
 Name: dbus-sharp
-Version: 0.63
-Release: 17%{?dist}
-URL: http://www.freedesktop.org/software/dbus/
-Source0: %{name}-%{version}.tar.gz
-License: AFL or GPLv2
+Version: 0.7.0
+Release: 2%{?dist}
+Epoch: 1
+URL: http://mono.github.com/dbus-sharp/
+Source0: https://github.com/downloads/mono/dbus-sharp/%{name}-%{version}.tar.gz
+License: MIT
 Group: System Environment/Libraries
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-Requires: chkconfig >= 1.3.26
-BuildRequires: dbus-devel >= %{dbus_version}
-BuildRequires: dbus-glib-devel >= %{dbus_glib_version}
+BuildRequires: mono-devel
 BuildRequires: autoconf
 BuildRequires: automake, libtool
-BuildRequires: mono-devel
 # Mono only available on these:
 ExclusiveArch: %ix86 x86_64 ppc ppc64 ia64 %{arm} sparcv9 alpha s390x
 
-Patch1: dbus-sharp-0.63-nogtk.patch
-Patch2: dbus-sharp-gchandle.patch
-
 %description
-
 D-Bus mono bindings for use with mono programs.
 
 %package devel
-Summary: pkgconfig file for D-Bus Sharp
+Summary: Development files for D-Bus Sharp
 Group: Development/Libraries
-Requires: %name = %{version}-%{release}
+Requires: %name = %{epoch}:%{version}-%{release}
 Requires: pkgconfig
 
 %description devel
-
-pkgconfig file for D-Bus Sharp development.
+Development files for D-Bus Sharp development.
 
 %prep
 %setup -q
-%patch1 -p1 -b .nogtk
-%patch2 -p1 -b .gchandle
 
 %build
 autoreconf --force --install
 export MONO_SHARED_DIR=%{_builddir}/%{?buildsubdir}
 %configure
+make
 
 %install
-rm -rf %{buildroot}
-
 make install DESTDIR=$RPM_BUILD_ROOT
 
-%clean
-rm -rf %{buildroot}
-
-
 %files
-%defattr(-,root,root)
-
-%doc COPYING ChangeLog NEWS
-%{_libdir}/mono/dbus-sharp
+%doc COPYING README
+%{_libdir}/mono/dbus-sharp-1.0
 %{_libdir}/mono/gac/dbus-sharp
 
 %files devel
-%{_libdir}/pkgconfig/dbus-sharp.pc
+%{_libdir}/pkgconfig/dbus-sharp-1.0.pc
 
 %changelog
+* Tue Oct 18 2011 Christian Krause <chkr at fedoraproject.org> - 1:0.7.0-2
+- Minor spec file cleanup (remove unnecessary %%defattr)
+
+* Mon Oct 17 2011 Christian Krause <chkr at fedoraproject.org> - 1:0.7.0-1
+- Migrating to new uptream source
+- Initial spec file changes by Denis Washington <denisw at online.de>
+
 * Tue Feb 08 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.63-17
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
 
diff --git a/sources b/sources
index bcd270b..ae8c772 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-f2e3e008619bcc373d9a65f323380a36  dbus-sharp-0.63.tar.gz
+1964fc341dcbaeda859c53cee295d042  dbus-sharp-0.7.0.tar.gz


More information about the scm-commits mailing list