|
@@ -5,7 +5,7 @@ Summary: C# bindings for D-Bus
|
|
|
Summary(ja): D-Bus の C# バインディング
|
|
|
Name: dbus-sharp
|
|
|
Version: 0.7.0
|
|
|
-Release: 2%{?_dist_release}
|
|
|
+Release: 4%{?_dist_release}
|
|
|
URL: http://www.freedesktop.org/software/dbus/
|
|
|
Source0: https://github.com/downloads/mono/dbus-sharp/%{name}-%{version}.tar.gz
|
|
|
License: AFL or GPLv2
|
|
@@ -16,6 +16,7 @@ BuildRequires: dbus-glib-devel >= %{dbus_glib_version}
|
|
|
BuildRequires: autoconf
|
|
|
BuildRequires: automake, libtool
|
|
|
BuildRequires: mono-devel
|
|
|
+BuildArch: noarch
|
|
|
|
|
|
%description
|
|
|
dbus-sharp is a fork of ndesk-dbus, which is a C# implementation of D-Bus.
|
|
@@ -53,11 +54,11 @@ develop applications using %{name}.
|
|
|
%setup -q
|
|
|
|
|
|
%build
|
|
|
-%configure
|
|
|
+%configure --libdir=%{_prefix}/lib
|
|
|
|
|
|
%install
|
|
|
%{__rm} -rf %{buildroot}
|
|
|
-%{__make} install DESTDIR=$RPM_BUILD_ROOT
|
|
|
+%{__make} install DESTDIR=$RPM_BUILD_ROOT pkgconfigdir=%{_datadir}/pkgconfig
|
|
|
|
|
|
%clean
|
|
|
%{__rm} -rf %{buildroot}
|
|
@@ -66,14 +67,21 @@ develop applications using %{name}.
|
|
|
%files
|
|
|
%defattr(-,root,root)
|
|
|
%doc COPYING ChangeLog NEWS
|
|
|
-%{_libdir}/mono/dbus-sharp-1.0
|
|
|
-%{_libdir}/mono/gac/dbus-sharp
|
|
|
+%{_prefix}/lib/mono/dbus-sharp-1.0
|
|
|
+%{_prefix}/lib/mono/gac/dbus-sharp
|
|
|
|
|
|
%files devel
|
|
|
%defattr(-,root,root)
|
|
|
-%{_libdir}/pkgconfig/dbus-sharp-1.0.pc
|
|
|
+%{_datadir}/pkgconfig/dbus-sharp-1.0.pc
|
|
|
|
|
|
%changelog
|
|
|
+* Wed Apr 13 2011 Shu KONNO <owa@bg.wakwak.com> 0.7.0-4
|
|
|
+- fixed dbus-sharp-1.0.pc path
|
|
|
+
|
|
|
+* Mon Apr 11 2011 Shu KONNO <owa@bg.wakwak.com> 0.7.0-3
|
|
|
+- fixed mono library path
|
|
|
+- added BuildArch: noarch
|
|
|
+
|
|
|
* Sun Apr 03 2011 Shu KONNO <owa@bg.wakwak.com> 0.7.0-2
|
|
|
- rebuilt with mono-2.10.1
|
|
|
|