[packages/mate-user-guide] noarch package; rel 2

atler atler at pld-linux.org
Mon Aug 23 14:32:18 CEST 2021


commit ade0c88b6cb3e509ddad6b6d531db5f91706fafb
Author: Jan Palus <atler at pld-linux.org>
Date:   Mon Aug 23 14:30:05 2021 +0200

    noarch package; rel 2
    
    - patch configure.ac so it does not require c compiler

 mate-user-guide.spec | 10 +++++++++-
 noarch-build.patch   | 11 +++++++++++
 2 files changed, 20 insertions(+), 1 deletion(-)
---
diff --git a/mate-user-guide.spec b/mate-user-guide.spec
index 1aa0283..a9824d7 100644
--- a/mate-user-guide.spec
+++ b/mate-user-guide.spec
@@ -2,16 +2,20 @@ Summary:	User help for MATE
 Summary(pl.UTF-8):	Pomoc użytkownika dla środowiska MATE
 Name:		mate-user-guide
 Version:	1.26.0
-Release:	1
+Release:	2
 License:	FDL v1.1+
 Group:		Documentation
 Source0:	https://pub.mate-desktop.org/releases/1.26/%{name}-%{version}.tar.xz
 # Source0-md5:	4828e6430d0df65cf51549d90fa2d8c0
+Patch0:		noarch-build.patch
 URL:		http://mate-desktop.org/
+BuildRequires:	autoconf
+BuildRequires:	automake >= 1:1.11
 BuildRequires:	gettext-tools >= 0.19.8
 BuildRequires:	tar >= 1:1.22
 BuildRequires:	xz
 BuildRequires:	yelp-tools
+BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -22,8 +26,12 @@ Pomoc użytkownika dla środowiska MATE.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
+%{__aclocal}
+%{__autoconf}
+%{__automake}
 %configure \
 	--disable-silent-rules
 
diff --git a/noarch-build.patch b/noarch-build.patch
new file mode 100644
index 0000000..0576a78
--- /dev/null
+++ b/noarch-build.patch
@@ -0,0 +1,11 @@
+--- mate-user-guide-1.26.0/configure.ac.orig	2021-08-05 21:05:42.000000000 +0200
++++ mate-user-guide-1.26.0/configure.ac	2021-08-23 14:25:08.876464090 +0200
+@@ -8,7 +8,7 @@
+ AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", [The gettext translation domain])
+ AC_SUBST(GETTEXT_PACKAGE)
+ 
+-AM_GNU_GETTEXT([external])
++AM_PO_SUBDIRS
+ AM_GNU_GETTEXT_VERSION([0.19.8])
+ AM_GNU_GETTEXT_REQUIRE_VERSION([0.19.8])
+ AM_CONDITIONAL([USE_NLS], [test "x${USE_NLS}" = "xyes"])
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/mate-user-guide.git/commitdiff/ade0c88b6cb3e509ddad6b6d531db5f91706fafb



More information about the pld-cvs-commit mailing list