Compare commits

..

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
f35d693948
!14 Update to 42.2
From: @fundawang 
Reviewed-by: @dwl301 
Signed-off-by: @dwl301
2022-10-08 09:24:06 +00:00
Funda Wang
37216a8f5c 42.2 2022-10-04 16:42:44 +08:00
openeuler-ci-bot
7a53f6bdd9
!12 upgrade to 42.1
From: @dillon_chen 
Reviewed-by: @dwl301 
Signed-off-by: @dwl301
2022-06-07 03:36:38 +00:00
dillon_chen
7d5731e842 upgrade to 42.1 2022-04-20 15:13:24 +08:00
openeuler-ci-bot
1d1129bdc2 !11 Upgrade to 2:3.38.3
From: @weijin-deng
Reviewed-by: @dwl301
Signed-off-by: @dwl301
2021-06-22 08:13:08 +00:00
weijin-deng
080682cd0d Upgrade to 2:3.38.3 2021-06-22 15:27:34 +08:00
openeuler-ci-bot
39954a34a3 !10 upgrade to 3.38.2
From: @jinzhimin369
Reviewed-by: @orange-snn
Signed-off-by: @orange-snn
2021-02-01 09:32:28 +08:00
jzm369
eb0597f00d Upgrade to 3.38.2 2021-01-30 16:24:14 +08:00
openeuler-ci-bot
36bf39cd8a !8 fix source URL
From: @yeah_wang
Reviewed-by: @orange-snn
Signed-off-by: @orange-snn,@orange-snn
2020-09-28 16:25:02 +08:00
tong_1001
94ee7117aa fix source URL 2020-09-01 19:39:30 +08:00
3 changed files with 41 additions and 30 deletions

Binary file not shown.

BIN
yelp-42.2.tar.xz Normal file

Binary file not shown.

View File

@ -1,20 +1,32 @@
Name: yelp Name: yelp
Epoch: 2 Epoch: 2
Version: 3.36.0 Version: 42.2
Release: 1 Release: 1
Summary: Help browser for the GNOME desktop Summary: Help browser for the GNOME desktop
License: LGPLv2+ and ASL 2.0 and GPLv2+ License: LGPLv2+ and ASL 2.0 and GPLv2+
URL: https://wiki.gnome.org/Apps/Yelp URL: https://wiki.gnome.org/Apps/Yelp
Source: https://download.gnome.org/sources/%{name}/3.34/%{name}-%{version}.tar.xz Source: https://download.gnome.org/sources/%{name}/42/%{name}-%{version}.tar.xz
# https://bugzilla.gnome.org/show_bug.cgi?id=687960 # https://bugzilla.gnome.org/show_bug.cgi?id=687960
Patch1: 0001-Center-new-windows.patch Patch1: 0001-Center-new-windows.patch
BuildRequires: gcc gtk3-devel xz-devel libxml2-devel libxslt-devel BuildRequires: gcc make bzip2-devel gettext-devel
BuildRequires: sqlite-devel webkit2gtk3-devel yelp-xsl-devel BuildRequires: intltool itstool desktop-file-utils
BuildRequires: desktop-file-utils bzip2-devel gettext-devel intltool itstool 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: yelp-xsl
Provides: %{name}-libs = %{epoch}:%{version}-%{release}
Obsoletes: %{name}-libs < %{epoch}:%{version}-%{release} Obsoletes: %{name}-libs < %{epoch}:%{version}-%{release}
%description %description
@ -24,8 +36,6 @@ It can locate documents according to the freedesktop.org help system specificati
Yelp development has led to the development of various tools, and the Mallard and DocBook transformations live in standalone XSLT module. 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. All of these are under the umbrella name Yelp.
%package devel %package devel
Summary: Development files for %{name} Summary: Development files for %{name}
Requires: %{name} = %{epoch}:%{version}-%{release} Requires: %{name} = %{epoch}:%{version}-%{release}
@ -33,38 +43,31 @@ Requires: %{name} = %{epoch}:%{version}-%{release}
%description devel %description devel
The %{name}-devel package contains libraries and header files for %{name}. The %{name}-devel package contains libraries and header files for %{name}.
%package_help
%prep %prep
%autosetup -n %{name}-%{version} -p1 %autosetup -n %{name}-%{version} -p1
%build %build
%configure %configure --disable-static --with-webkit2gtk-4-0
%make_build
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0 /g' \
-e 's/ if test "$export_dynamic" = yes && test -n "$export_dynamic_flag_spec"; then/ func_append compile_command " -Wl,-O1,--as-needed"\n func_append finalize_command " -Wl,-O1,--as-needed"\n\0/' libtool
%make_build V=1
%install %install
%make_install %make_install
%delete_la %delete_la_and_a
%find_lang %{name}
%check %check
desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/yelp.desktop desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/yelp.desktop
%ldconfig_scriptlets %ldconfig_scriptlets
%files %files -f %{name}.lang
%defattr(-,root,root) %doc AUTHORS NEWS README.md
%doc AUTHORS
%license COPYING %license COPYING
%{_bindir}/* %{_bindir}/*
%{_libdir}/libyelp.so.* %{_libdir}/libyelp.so.*
%{_libdir}/yelp/web-extensions/libyelpwebextension.so %{_libdir}/yelp/web-extensions/libyelpwebextension.so
%{_datadir}/yelp/ %{_datadir}/yelp/
%{_datadir}/locale/*
%{_datadir}/metainfo/yelp.appdata.xml %{_datadir}/metainfo/yelp.appdata.xml
%{_datadir}/applications/yelp.desktop %{_datadir}/applications/yelp.desktop
%{_datadir}/yelp-xsl/xslt/common/domains/yelp.xml %{_datadir}/yelp-xsl/xslt/common/domains/yelp.xml
@ -73,18 +76,26 @@ desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/yelp.desktop
%{_datadir}/icons/hicolor/symbolic/apps/org.gnome.Yelp-symbolic.svg %{_datadir}/icons/hicolor/symbolic/apps/org.gnome.Yelp-symbolic.svg
%files devel %files devel
%defattr(-,root,root)
%{_libdir}/libyelp.so %{_libdir}/libyelp.so
%{_libdir}/libyelp.a
%{_libdir}/yelp/web-extensions/libyelpwebextension.a
%{_includedir}/libyelp %{_includedir}/libyelp
%files help
%defattr(-,root,root)
%doc NEWS README
%{_datadir}/gtk-doc
%changelog %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
* Tue Jun 22 2021 weijin deng <weijin.deng@turbolinux.com.cn> - 2:3.38.3-1
- Upgrade to 2:3.38.3
* Fri Jan 29 2021 jinzhimin <jinzhimin2@huawei.com> 2:3.38.2-1
- Upgrade to 2:3.38.2
* Tue Sep 1 2020 yeah_wang <wangye70@huawei.com> 3.36.0-2
- fix source URL
* Mon Jul 20 2020 chengguipeng<chengguipeng1@huawei.com> 3.36.0-1 * Mon Jul 20 2020 chengguipeng<chengguipeng1@huawei.com> 3.36.0-1
- Upgrade to 3.36.0-1 - Upgrade to 3.36.0-1