]> git.pld-linux.org Git - packages/yelp-tools.git/blobdiff - yelp-tools.spec
- updated to 42.0
[packages/yelp-tools.git] / yelp-tools.spec
index f58ff32248a6f25323a8bd3311f85ef0e8c1fb76..e06da8c0c6b483c23c5965b7e78af44fd0762fc4 100644 (file)
@@ -1,27 +1,31 @@
 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.12.0
-Release:       2
-License:       GPL v2+
+Version:       42.0
+Release:       1
+License:       GPL v2+ with exceptions
 Group:         Libraries
-Source0:       http://ftp.gnome.org/pub/GNOME/sources/yelp-tools/3.12/%{name}-%{version}.tar.xz
-# Source0-md5: f65fc6f6b88387985f043d3f73a0e434
+Source0:       https://download.gnome.org/sources/yelp-tools/42/%{name}-%{version}.tar.xz
+# Source0-md5: 74a58cceafb53a721735ee377853d88d
 Patch0:                %{name}-sh.patch
-URL:           http://projects.gnome.org/yelp/
-BuildRequires: autoconf >= 2.50
-BuildRequires: automake >= 1:1.9
+URL:           https://wiki.gnome.org/Apps/Yelp
 BuildRequires: itstool
 BuildRequires: libxml2-progs >= 1:2.6.12
 BuildRequires: libxslt-progs >= 1.1.8
+BuildRequires: meson >= 0.51.0
+BuildRequires: ninja >= 1.5
 BuildRequires: pkgconfig
+BuildRequires: python3 >= 1:3
+BuildRequires: python3-lxml
 BuildRequires: tar >= 1:1.22
 BuildRequires: xz
-BuildRequires: yelp-xsl
+BuildRequires: yelp-xsl >= 41
 Requires:      itstool
 Requires:      libxml2-progs >= 1:2.6.12
 Requires:      libxslt-progs >= 1.1.8
-Requires:      yelp-xsl
+Requires:      python3-lxml
+Requires:      yelp-xsl >= 41
+BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -42,24 +46,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 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.066024 seconds and 4 git commands to generate.