From 15958194c316f1c96a9778f56cef0fbb1dbe6a1b Mon Sep 17 00:00:00 2001 From: Brian Pepple Date: Sep 21 2008 22:06:16 +0000 Subject: - Add patch to fix building from source. --- diff --git a/libepc-fix-build.patch b/libepc-fix-build.patch new file mode 100644 index 0000000..2c21137 --- /dev/null +++ b/libepc-fix-build.patch @@ -0,0 +1,22 @@ +diff -urp libepc-0.3.5.OLD/configure.ac libepc-0.3.5/configure.ac +--- libepc-0.3.5.OLD/configure.ac 2008-04-07 14:30:52.000000000 -0400 ++++ libepc-0.3.5/configure.ac 2008-09-21 17:24:38.000000000 -0400 +@@ -43,6 +43,7 @@ PKG_CHECK_MODULES(AVAHI_UI, [avahi-ui + PKG_CHECK_MODULES(LIBEPC, [avahi-client >= 0.6 + avahi-glib >= 0.6 + glib-2.0 >= 2.12 ++ gthread-2.0 >= 2.12 + gmodule-2.0 >= 2.0 + gobject-2.0 >= 2.4 + gnutls >= 1.4 +diff -urp libepc-0.3.5.OLD/Makefile.am libepc-0.3.5/Makefile.am +--- libepc-0.3.5.OLD/Makefile.am 2008-03-25 11:58:42.000000000 -0400 ++++ libepc-0.3.5/Makefile.am 2008-09-21 17:38:17.000000000 -0400 +@@ -4,7 +4,6 @@ + + DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc + TESTS_ENVIRONMENT = $(top_srcdir)/tests/test-runner.sh +-ACLOCAL_AMFLAGS = -I m4 + + # ============================ + # -- DIRECTORY DECLARATIONS -- diff --git a/libepc.spec b/libepc.spec index 3661b36..3a684bd 100644 --- a/libepc.spec +++ b/libepc.spec @@ -5,13 +5,14 @@ Name: libepc Version: 0.3.5 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Easy Publish and Consume library Group: System Environment/Libraries License: LGPLv2+ URL: http://live.gnome.org/libepc/ Source0: http://ftp.gnome.org/pub/gnome/sources/%{name}/0.3/%{name}-%{version}.tar.bz2 +Patch0: %{name}-fix-build.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: e2fsprogs-devel >= 1.36 @@ -24,6 +25,14 @@ BuildRequires: gtk2-devel >= %{gtk2_version} BuildRequires: glib2-devel >= %{glib2_version} BuildRequires: gettext BuildRequires: perl(XML::Parser) +# The following BR can be dropped when the fix-build patch is removed. +BuildRequires: autoconf +BuildRequires: automake +BuildRequires: libtool +BuildRequires: gettext-devel +BuildRequires: gnome-common +BuildRequires: intltool +BuildRequires: gtk-doc %description A library to easily publish and consume values on networks @@ -60,6 +69,8 @@ developing applications that use %{name}. %prep %setup -q +%patch0 -p1 -b .build +autoreconf %build @@ -116,6 +127,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Sat Sep 20 2008 Brian Pepple - 0.3.5-3 +- Add patch to fix building from source. + * Tue Jun 24 2008 Tomas Mraz - 0.3.5-2 - rebuild with new gnutls