[packages/clutter-gtkmm] - rebuild ac/am for as-needed to work; release 3

qboosh qboosh at pld-linux.org
Mon Apr 27 20:31:58 CEST 2020


commit 9cc9d8aa4f84cf0daa74fa71061f3047f8ee7e10
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Mon Apr 27 20:32:10 2020 +0200

    - rebuild ac/am for as-needed to work; release 3

 clutter-gtkmm.spec | 18 +++++++++++++++---
 1 file changed, 15 insertions(+), 3 deletions(-)
---
diff --git a/clutter-gtkmm.spec b/clutter-gtkmm.spec
index 13482cd..54ca868 100644
--- a/clutter-gtkmm.spec
+++ b/clutter-gtkmm.spec
@@ -1,16 +1,23 @@
+#
+# Conditional build:
+%bcond_without	static_libs	# static library
+
 Summary:	C++ wrappers for clutter-gtk library
 Summary(pl.UTF-8):	Obudowanie C++ do biblioteki clutter-gtk
 Name:		clutter-gtkmm
 Version:	1.6.0
-Release:	2
+Release:	3
 License:	LGPL v2.1+
 Group:		X11/Libraries
 Source0:	http://ftp.gnome.org/pub/GNOME/sources/clutter-gtkmm/1.6/%{name}-%{version}.tar.xz
 # Source0-md5:	d4e95d2e90de5114067c9e31fd04979c
 URL:		https://developer.gnome.org/clutter-gtkmm/
+BuildRequires:	autoconf >= 2.59
+BuildRequires:	automake >= 1:1.9
 BuildRequires:	clutter-gtk-devel >= 1.6.0
 BuildRequires:	cluttermm-devel >= 0.9.6
 BuildRequires:	gtkmm3-devel >= 3.6.0
+BuildRequires:	libtool >= 2:1.5
 BuildRequires:	mm-common >= 0.8
 BuildRequires:	pkgconfig
 BuildRequires:	tar >= 1:1.22
@@ -57,7 +64,7 @@ Statyczna biblioteka clutter-gtkmm.
 Summary:	clutter-gtkmm API documentation
 Summary(pl.UTF-8):	Dokumentacja API clutter-gtkmm
 Group:		Documentation
-%if "%{_rpmversion}" >= "5"
+%if "%{_rpmversion}" >= "4.6"
 BuildArch:	noarch
 %endif
 
@@ -71,9 +78,14 @@ Dokumentacja API clutter-gtkmm.
 %setup -q
 
 %build
+%{__libtoolize}
+%{__aclocal} -I build
+%{__autoconf}
+%{__autoheader}
+%{__automake}
 %configure \
 	--disable-silent-rules \
-	--enable-static
+	%{?with_static_libs:--enable-static}
 
 %{__make}
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/clutter-gtkmm.git/commitdiff/9cc9d8aa4f84cf0daa74fa71061f3047f8ee7e10



More information about the pld-cvs-commit mailing list