diff --git a/gnome-disk-utility-2.29.1-missing-include.patch b/gnome-disk-utility-2.29.1-missing-include.patch new file mode 100644 index 0000000..7ab3eb3 --- /dev/null +++ b/gnome-disk-utility-2.29.1-missing-include.patch @@ -0,0 +1,24 @@ +From 598b83ff6ce9d18090b84032a028a0115eb0cdff Mon Sep 17 00:00:00 2001 +From: Tomas Bzatek +Date: Mon, 18 Jan 2010 17:30:27 +0100 +Subject: [PATCH] Install missing include + +--- + src/gdu/Makefile.am | 1 + + 1 files changed, 1 insertions(+), 0 deletions(-) + +diff --git a/src/gdu/Makefile.am b/src/gdu/Makefile.am +index d9dcbb1..89fec7a 100644 +--- a/src/gdu/Makefile.am ++++ b/src/gdu/Makefile.am +@@ -44,6 +44,7 @@ libgduinclude_HEADERS = \ + gdu-drive.h \ + gdu-linux-md-drive.h \ + gdu-linux-lvm2-volume-group.h \ ++ gdu-linux-lvm2-volume-hole.h \ + gdu-linux-lvm2-volume.h \ + gdu-error.h \ + gdu-known-filesystem.h \ +-- +1.6.6 + diff --git a/gnome-disk-utility.spec b/gnome-disk-utility.spec index 6641f38..2c652c1 100644 --- a/gnome-disk-utility.spec +++ b/gnome-disk-utility.spec @@ -1,5 +1,5 @@ -%define dbus_version 1.2 -%define dbus_glib_version 0.76 +%define dbus_version 1.2 +%define dbus_glib_version 0.76 %define glib2_version 2.16 %define gtk2_version 2.17.2 %define gnome_doc_utils_version 0.3.2 @@ -13,7 +13,7 @@ Summary: Disk management application Name: gnome-disk-utility Version: 2.29.0 -Release: 0.git20100115.1%{?dist} +Release: 0.git20100115.2%{?dist} License: LGPLv2+ Group: System Environment/Libraries URL: http://git.gnome.org/cgit/gnome-disk-utility @@ -41,6 +41,15 @@ Requires: %{name}-libs = %{version}-%{release} Obsoletes: gnome-disk-utility-format Obsoletes: nautilus-gdu +# Patch0 touches Makefile.am files: +BuildRequires: automake autoconf +BuildRequires: libtool + +# from upstream +Patch0: gnome-disk-utility-2.29.1-missing-include.patch + + + %description This package contains the Palimpsest disk management application. Palimpsest supports partitioning, file system creation, encryption, @@ -95,10 +104,18 @@ develop applications with gnome-disk-utility-ui-libs. %prep %setup -q +%patch0 -p1 -b .missing-include %build +# needed for Patch0 +libtoolize --force || : +aclocal || : +autoheader || : +automake || : +autoconf || : + %configure -make +make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT @@ -211,6 +228,9 @@ fi %{_includedir}/gnome-disk-utility/gdu-gtk/* %changelog +* Mon Jan 18 2010 Tomas Bzatek - 2.29.0-0.git20100115.2%{?dist} +- Install missing include + * Fri Jan 15 2010 David Zeuthen - 2.29.0-0.git20100115.1%{?dist} - BR avahi-ui-devel