2022-04-20 15:13:24 +08:00
|
|
|
%global libhandy_version 1.5.0
|
|
|
|
|
|
2019-11-06 19:57:47 +08:00
|
|
|
Name: yelp
|
|
|
|
|
Epoch: 2
|
2022-04-20 15:13:24 +08:00
|
|
|
Version: 42.1
|
2021-01-29 16:57:26 +08:00
|
|
|
Release: 1
|
2019-11-06 19:57:47 +08:00
|
|
|
Summary: Help browser for the GNOME desktop
|
|
|
|
|
License: LGPLv2+ and ASL 2.0 and GPLv2+
|
|
|
|
|
URL: https://wiki.gnome.org/Apps/Yelp
|
2022-04-20 15:13:24 +08:00
|
|
|
Source: https://download.gnome.org/sources/%{name}/42/%{name}-%{version}.tar.xz
|
2019-11-06 19:57:47 +08:00
|
|
|
|
|
|
|
|
# https://bugzilla.gnome.org/show_bug.cgi?id=687960
|
|
|
|
|
Patch1: 0001-Center-new-windows.patch
|
|
|
|
|
|
2022-04-20 15:13:24 +08:00
|
|
|
BuildRequires: gcc make bzip2-devel gettext-devel gtk3-devel xz-devel
|
|
|
|
|
BuildRequires: libxml2-devel libxslt-devel sqlite-devel yelp-xsl-devel
|
|
|
|
|
BuildRequires: intltool itstool desktop-file-utils
|
|
|
|
|
BuildRequires: pkgconfig(webkit2gtk-4.0)
|
|
|
|
|
BuildRequires: pkgconfig(libhandy-1) >= %{libhandy_version}
|
|
|
|
|
|
2019-11-06 19:57:47 +08:00
|
|
|
Requires: yelp-xsl
|
2022-04-20 15:13:24 +08:00
|
|
|
Requires: libhandy%{?_isa} >= %{libhandy_version}
|
2019-11-06 19:57:47 +08:00
|
|
|
Provides: %{name}-libs = %{epoch}:%{version}-%{release}
|
|
|
|
|
Obsoletes: %{name}-libs < %{epoch}:%{version}-%{release}
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
Yelp is the help viewer in GNOME. It natively views Mallard, DocBook, man, info, and HTML documents.
|
|
|
|
|
It can locate documents according to the freedesktop.org help system specification.
|
|
|
|
|
|
|
|
|
|
Yelp development has led to the development of various tools, and the Mallard and DocBook transformations live in standalone XSLT module.
|
|
|
|
|
All of these are under the umbrella name Yelp.
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
|
Requires: %{name} = %{epoch}:%{version}-%{release}
|
|
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
|
The %{name}-devel package contains libraries and header files for %{name}.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -n %{name}-%{version} -p1
|
|
|
|
|
|
|
|
|
|
%build
|
2022-04-20 15:13:24 +08:00
|
|
|
%configure --disable-static --with-webkit2gtk-4-0
|
2019-11-06 19:57:47 +08:00
|
|
|
%make_build V=1
|
|
|
|
|
|
|
|
|
|
%install
|
2022-04-20 15:13:24 +08:00
|
|
|
|
2019-11-06 19:57:47 +08:00
|
|
|
%make_install
|
2022-04-20 15:13:24 +08:00
|
|
|
%delete_la_and_a
|
|
|
|
|
|
|
|
|
|
%find_lang %{name}
|
2019-11-06 19:57:47 +08:00
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/yelp.desktop
|
|
|
|
|
|
|
|
|
|
%ldconfig_scriptlets
|
|
|
|
|
|
2022-04-20 15:13:24 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
%files -f %{name}.lang
|
|
|
|
|
%doc AUTHORS NEWS README
|
2019-11-06 19:57:47 +08:00
|
|
|
%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
|
|
|
|
|
%{_datadir}/glib-2.0/schemas/org.gnome.yelp.gschema.xml
|
|
|
|
|
%{_datadir}/icons/hicolor/scalable/apps/org.gnome.Yelp.svg
|
|
|
|
|
%{_datadir}/icons/hicolor/symbolic/apps/org.gnome.Yelp-symbolic.svg
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
%{_libdir}/libyelp.so
|
|
|
|
|
%{_includedir}/libyelp
|
|
|
|
|
|
|
|
|
|
%changelog
|
2022-04-20 15:13:24 +08:00
|
|
|
* Wed Apr 20 2022 dillon chen <dillon.chen@gmail.com> - 2:42.1-1
|
|
|
|
|
- Update to 42.1
|
|
|
|
|
|
2021-06-22 15:27:34 +08:00
|
|
|
* Tue Jun 22 2021 weijin deng <weijin.deng@turbolinux.com.cn> - 2:3.38.3-1
|
|
|
|
|
- Upgrade to 2:3.38.3
|
|
|
|
|
|
2021-01-29 16:57:26 +08:00
|
|
|
* Fri Jan 29 2021 jinzhimin <jinzhimin2@huawei.com> 2:3.38.2-1
|
|
|
|
|
- Upgrade to 2:3.38.2
|
|
|
|
|
|
2020-09-01 19:39:30 +08:00
|
|
|
* Tue Sep 1 2020 yeah_wang <wangye70@huawei.com> 3.36.0-2
|
|
|
|
|
- fix source URL
|
|
|
|
|
|
2020-07-23 16:42:06 +08:00
|
|
|
* Mon Jul 20 2020 chengguipeng<chengguipeng1@huawei.com> 3.36.0-1
|
|
|
|
|
- Upgrade to 3.36.0-1
|
|
|
|
|
|
|
|
|
|
* Mon May 18 2020 wangchen <wangchen137@huawei.com> - 3.34.0-2
|
|
|
|
|
- rebuild for yelp
|
|
|
|
|
|
2019-11-06 19:57:47 +08:00
|
|
|
* Fri Oct 11 2019 openEuler Buildteam <buildteam@openeuler.org> - 3.34.0-1
|
|
|
|
|
- Package init
|