smock: use $basearch in smock.mock.extra
[fedora-mingw.git] / dbus / mingw32-dbus.spec
index 26d4e87..525645e 100644 (file)
@@ -16,7 +16,7 @@
 
 Name:           mingw32-dbus
 Version:        1.2.4
-Release:        0.1.%{date}svn%{?dist}
+Release:        0.3.%{date}svn%{?dist}
 Summary:        MinGW Windows port of DBus
 
 License:        GPLv2+ or AFL
@@ -56,6 +56,12 @@ BuildRequires:  mingw32-gtkmm24
 BuildRequires:  mingw32-expat
 BuildRequires:  libtool, automake, autoconf
 
+# This keeps dbus-c++ subpackage happy while building.  We have
+# hacked the Makefile to give the correct location of the libraries.
+BuildRequires:  dbus-devel
+
+Requires:       pkgconfig
+
 
 %description
 D-BUS is a system for sending messages between applications. It is
@@ -90,6 +96,9 @@ popd
 
 %build
 pushd trunk
+# Avoid a test which fails when cross-compiling:
+export ac_cv_have_abstract_sockets=no
+
 # For unknown reasons, the configure script chokes if you
 # pass --build explicitly.  We also need to pass -DDBUS_WIN
 # as an extra flag.
@@ -131,6 +140,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(-,root,root)
+%doc trunk/COPYING
 %{_mingw32_bindir}/dbus-daemon.exe
 %{_mingw32_bindir}/i686-pc-mingw32-dbus-monitor.exe
 %{_mingw32_bindir}/i686-pc-mingw32-dbus-send.exe
@@ -144,7 +154,12 @@ rm -rf $RPM_BUILD_ROOT
 %{_mingw32_includedir}/dbus-1.0/
 
 
-
 %changelog
-* Wed Sep 24 2008 Your Name <you@example.com> - 1.2.3-1
+* Fri Feb  6 2009 Richard W.M. Jones <rjones@redhat.com> - 1.2.4-0.3.20081031svn
+- Include license.
+
+* Tue Jan 13 2009 Richard W.M. Jones <rjones@redhat.com> - 1.2.4-0.2.20081031svn
+- Requires pkgconfig.
+
+* Mon Nov  3 2008 Richard W.M. Jones <rjones@redhat.com> - 1.2.4-0.1.20081031svn
 - Initial RPM release.