This commit is contained in:
Funda Wang 2022-10-04 16:42:44 +08:00
parent 7a53f6bdd9
commit 37216a8f5c
3 changed files with 21 additions and 15 deletions

Binary file not shown.

BIN
yelp-42.2.tar.xz Normal file

Binary file not shown.

View File

@ -1,8 +1,6 @@
%global libhandy_version 1.5.0
Name: yelp
Epoch: 2
Version: 42.1
Version: 42.2
Release: 1
Summary: Help browser for the GNOME desktop
License: LGPLv2+ and ASL 2.0 and GPLv2+
@ -12,15 +10,23 @@ Source: https://download.gnome.org/sources/%{name}/42/%{name}-%{version}
# https://bugzilla.gnome.org/show_bug.cgi?id=687960
Patch1: 0001-Center-new-windows.patch
BuildRequires: gcc make bzip2-devel gettext-devel gtk3-devel xz-devel
BuildRequires: libxml2-devel libxslt-devel sqlite-devel yelp-xsl-devel
BuildRequires: gcc make bzip2-devel gettext-devel
BuildRequires: intltool itstool desktop-file-utils
BuildRequires: pkgconfig(webkit2gtk-4.0)
BuildRequires: pkgconfig(libhandy-1) >= %{libhandy_version}
BuildRequires: pkgconfig(gio-2.0) >= 2.67.4
BuildRequires: pkgconfig(gio-unix-2.0)
BuildRequires: pkgconfig(gtk+-3.0) >= 3.13.3
BuildRequires: pkgconfig(gtk+-unix-print-3.0)
BuildRequires: pkgconfig(libexslt) >= 0.8.1
BuildRequires: pkgconfig(libhandy-1) >= 1.5.0
BuildRequires: pkgconfig(liblzma) >= 4.9
BuildRequires: pkgconfig(libxml-2.0) >= 2.6.5
BuildRequires: pkgconfig(libxslt) >= 1.1.4
BuildRequires: pkgconfig(sqlite3)
BuildRequires: pkgconfig(webkit2gtk-4.0) >= 2.19.2
BuildRequires: pkgconfig(webkit2gtk-web-extension-4.0) >= 2.7.2
BuildRequires: pkgconfig(yelp-xsl) >= 41.0
Requires: yelp-xsl
Requires: libhandy%{?_isa} >= %{libhandy_version}
Provides: %{name}-libs = %{epoch}:%{version}-%{release}
Obsoletes: %{name}-libs < %{epoch}:%{version}-%{release}
%description
@ -42,10 +48,9 @@ The %{name}-devel package contains libraries and header files for %{name}.
%build
%configure --disable-static --with-webkit2gtk-4-0
%make_build V=1
%make_build
%install
%make_install
%delete_la_and_a
@ -56,16 +61,13 @@ desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/yelp.desktop
%ldconfig_scriptlets
%files -f %{name}.lang
%doc AUTHORS NEWS README
%doc AUTHORS NEWS README.md
%license COPYING
%{_bindir}/*
%{_libdir}/libyelp.so.*
%{_libdir}/yelp/web-extensions/libyelpwebextension.so
%{_datadir}/yelp/
%{_datadir}/locale/*
%{_datadir}/metainfo/yelp.appdata.xml
%{_datadir}/applications/yelp.desktop
%{_datadir}/yelp-xsl/xslt/common/domains/yelp.xml
@ -78,6 +80,10 @@ desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/yelp.desktop
%{_includedir}/libyelp
%changelog
* Sat Oct 1 2022 Funda Wang <fundawang@yeah.net) - 2:42.2-1
- Update to 42.2
- Rewrite BuildRequires as pkconfig based on source
* Wed Apr 20 2022 dillon chen <dillon.chen@gmail.com> - 2:42.1-1
- Update to 42.1