[packages/yelp-tools] - updated to 40.0

qboosh qboosh at pld-linux.org
Mon Apr 5 06:57:04 CEST 2021


commit e0b6950daa456cd1f649da4d5b5e40983acbfe20
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Mon Apr 5 06:57:03 2021 +0200

    - updated to 40.0

 yelp-tools.spec | 34 ++++++++++++++++++----------------
 1 file changed, 18 insertions(+), 16 deletions(-)
---
diff --git a/yelp-tools.spec b/yelp-tools.spec
index 3b5101d..bcacff3 100644
--- a/yelp-tools.spec
+++ b/yelp-tools.spec
@@ -1,27 +1,29 @@
 Summary:	Tools to create, manage, and publish documentation for Yelp
 Summary(pl.UTF-8):	Narzędzia do tworzenia, zarządzania i publikowania dokumentacji dla Yelpa
 Name:		yelp-tools
-Version:	3.38.0
+Version:	40.0
 Release:	1
 License:	GPL v2+ with exceptions
 Group:		Libraries
-Source0:	http://ftp.gnome.org/pub/GNOME/sources/yelp-tools/3.38/%{name}-%{version}.tar.xz
-# Source0-md5:	44ed3d4824a0a96ef45a13a1c79850a1
+Source0:	https://download.gnome.org/sources/yelp-tools/40/%{name}-%{version}.tar.xz
+# Source0-md5:	fb55d5c79a11be9dea1fdd4d49409a06
 Patch0:		%{name}-sh.patch
 URL:		https://wiki.gnome.org/Apps/Yelp
-BuildRequires:	autoconf >= 2.50
-BuildRequires:	automake >= 1:1.9
 BuildRequires:	itstool
 BuildRequires:	libxml2-progs >= 1:2.6.12
 BuildRequires:	libxslt-progs >= 1.1.8
+BuildRequires:	meson >= 0.50.0
+BuildRequires:	ninja >= 1.5
 BuildRequires:	pkgconfig
+BuildRequires:	python3 >= 1:3
+BuildRequires:	python3-lxml
 BuildRequires:	tar >= 1:1.22
 BuildRequires:	xz
-BuildRequires:	yelp-xsl >= 3.18.0
+BuildRequires:	yelp-xsl >= 40
 Requires:	itstool
 Requires:	libxml2-progs >= 1:2.6.12
 Requires:	libxslt-progs >= 1.1.8
-Requires:	yelp-xsl >= 3.38.0
+Requires:	yelp-xsl >= 40
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -42,24 +44,24 @@ sposób przyjazny dla programisty.
 %patch0 -p1
 
 %build
-%{__aclocal}
-%{__autoconf}
-%{__automake}
-%configure
-%{__make}
+%meson build \
+	-Dhelp=true
+
+%ninja_build -C build
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-%{__make} install \
-	DESTDIR=$RPM_BUILD_ROOT
+%ninja_install -C build
+
+%find_lang %{name} --with-gnome
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%files
+%files -f %{name}.lang
 %defattr(644,root,root,755)
-%doc AUTHORS COPYING ChangeLog NEWS README
+%doc AUTHORS COPYING MAINTAINERS NEWS README
 %attr(755,root,root) %{_bindir}/yelp-build
 %attr(755,root,root) %{_bindir}/yelp-check
 %attr(755,root,root) %{_bindir}/yelp-new
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/yelp-tools.git/commitdiff/e0b6950daa456cd1f649da4d5b5e40983acbfe20



More information about the pld-cvs-commit mailing list