]> git.pld-linux.org Git - packages/mate-user-guide.git/commitdiff
noarch package; rel 2 auto/th/mate-user-guide-1.26.0-2
authorJan Palus <atler@pld-linux.org>
Mon, 23 Aug 2021 12:30:05 +0000 (14:30 +0200)
committerJan Palus <atler@pld-linux.org>
Mon, 23 Aug 2021 12:30:51 +0000 (14:30 +0200)
- patch configure.ac so it does not require c compiler

mate-user-guide.spec
noarch-build.patch [new file with mode: 0644]

index 1aa02830141b95ccffb63d0978f3fa7f1373771a..a9824d76fca7035ca5529915c38ecf2d2a4edfbe 100644 (file)
@@ -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 (file)
index 0000000..0576a78
--- /dev/null
@@ -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"])
This page took 0.109006 seconds and 4 git commands to generate.