]> git.pld-linux.org Git - packages/yelp-tools.git/commitdiff
- updated to 40.0 auto/th/yelp-tools-40.0-1
authorJakub Bogusz <qboosh@pld-linux.org>
Mon, 5 Apr 2021 04:57:03 +0000 (06:57 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Mon, 5 Apr 2021 04:57:03 +0000 (06:57 +0200)
yelp-tools.spec

index 3b5101d05c20cc45e05fb9c92d231e630f4257b7..bcacff3cbbb8411f43c94250d65836b0aa052db8 100644 (file)
@@ -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
This page took 0.06972 seconds and 4 git commands to generate.