[packages/gtkspell3] - added am patch (fixes gir build parameters) - updated required versions

qboosh qboosh at pld-linux.org
Mon Apr 1 19:12:52 CEST 2013


commit b9f8f7a7dcc0e55b16fde8276dd9f4bba9d39a7e
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Mon Apr 1 19:12:45 2013 +0200

    - added am patch (fixes gir build parameters)
    - updated required versions

 gtkspell3-am.patch | 11 +++++++++++
 gtkspell3.spec     | 13 ++++++++-----
 2 files changed, 19 insertions(+), 5 deletions(-)
---
diff --git a/gtkspell3.spec b/gtkspell3.spec
index 0930f71..a13f70e 100644
--- a/gtkspell3.spec
+++ b/gtkspell3.spec
@@ -9,14 +9,16 @@ License:	GPL
 Group:		X11/Libraries
 Source0:	http://gtkspell.sourceforge.net/download/%{name}-%{version}.tar.gz
 # Source0-md5:	861c7188dbcc89dc24744d47102c4b18
+Patch0:		%{name}-am.patch
 URL:		http://gtkspell.sourceforge.net/
-BuildRequires:	autoconf >= 2.57
+BuildRequires:	autoconf >= 2.62
 BuildRequires:	automake
 BuildRequires:	docbook-dtd42-xml
 BuildRequires:	enchant-devel >= 0.4.0
 BuildRequires:	gettext-devel
-BuildRequires:	gtk+3-devel
-BuildRequires:	gtk-doc >= 1.6
+BuildRequires:	gobject-introspection-devel >= 1.30.0
+BuildRequires:	gtk+3-devel >= 3
+BuildRequires:	gtk-doc >= 1.14
 BuildRequires:	intltool >= 0.35.0
 BuildRequires:	libtool
 BuildRequires:	pango-devel >= 1:1.13.3
@@ -39,7 +41,7 @@ Summary(pl.UTF-8):	Pliki nagłówkowe dla gtkspella
 Group:		X11/Development/Libraries
 Requires:	%{name} = %{version}-%{release}
 Requires:	enchant-devel >= 0.4.0
-Requires:	gtk+3-devel
+Requires:	gtk+3-devel >= 3
 
 %description devel
 Header files for GtkSpell API version 3.0.
@@ -73,6 +75,7 @@ Dokumentacja API gtkspell.
 
 %prep
 %setup -q -n %{name}-%{version}
+%patch0 -p1
 
 %build
 %{__gtkdocize}
@@ -115,7 +118,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %files devel
 %defattr(644,root,root,755)
-%{_libdir}/libgtkspell3-3.so
+%attr(755,root,root) %{_libdir}/libgtkspell3-3.so
 %{_includedir}/gtkspell-3.0
 %{_pkgconfigdir}/gtkspell3-3.0.pc
 %{_datadir}/gir-1.0/GtkSpell-3.0.gir
diff --git a/gtkspell3-am.patch b/gtkspell3-am.patch
new file mode 100644
index 0000000..5af1cf8
--- /dev/null
+++ b/gtkspell3-am.patch
@@ -0,0 +1,11 @@
+--- gtkspell3-3.0.1/gtkspell/Makefile.am.orig	2013-02-07 00:30:42.000000000 +0100
++++ gtkspell3-3.0.1/gtkspell/Makefile.am	2013-04-01 16:43:02.304629366 +0200
+@@ -40,7 +40,7 @@
+ if ENABLE_GTK3
+ GtkSpell-3.0.gir: libgtkspell3-3.la
+ GtkSpell_3_0_gir_INCLUDES = GObject-2.0 GLib-2.0 Gtk-3.0
+-GtkSpell_3_0_gir_CFLAGS = --warn-all @GTK_SPELL_CFLAGS@
++GtkSpell_3_0_gir_CFLAGS = --warn-all @GTK_SPELL3_CFLAGS@
+ GtkSpell_3_0_gir_LIBS = libgtkspell3-3.la
+ GtkSpell_3_0_gir_FILES = $(libgtkspell3_3_la_SOURCES)
+ INTROSPECTION_GIRS += GtkSpell-3.0.gir
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/gtkspell3.git/commitdiff/b9f8f7a7dcc0e55b16fde8276dd9f4bba9d39a7e



More information about the pld-cvs-commit mailing list