removed build requirement for libwebkit-gtk3 and other specfile fixes and cleanups [release 43.0-2mamba;Tue Apr 02 2024]

This commit is contained in:
Silvan Calarco 2024-04-02 16:44:11 +02:00
parent 4628dc3471
commit 829b3258a1

View File

@ -2,7 +2,7 @@
%define majver %(echo %version | cut -d. -f1)
Name: devhelp
Version: 43.0
Release: 1mamba
Release: 2mamba
Summary: API documentation browser for developers
Group: Development/Tools
Vendor: openmamba
@ -17,13 +17,10 @@ BuildRequires: gsettings-desktop-schemas-devel
BuildRequires: libglib-devel
BuildRequires: libgtk3-devel
BuildRequires: libpango-devel
BuildRequires: libwebkit2gtk-devel
BuildRequires: libwebkit2gtk-4.1-devel
## AUTOBUILDREQ-END
BuildRequires: desktop-file-utils
BuildRequires: xulrunner-devel
BuildRequires: ImageMagick
BuildRequires: intltool
BuildRequires: libwebkit-gtk3-devel >= 2.0.0
BuildRequires: libamtk-devel
BuildRequires: gi-docgen
@ -71,9 +68,6 @@ Requires: gtk-doc
%build
%meson \
-Dgtk_doc=true
#% configure --disable-install-schemas \
# --with-mozilla=libxul-embedding
%meson_build
@ -81,7 +75,7 @@ Requires: gtk-doc
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%meson_install
%find_lang %{name}
%find_lang %{name} --with-gnome
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
@ -106,23 +100,6 @@ Requires: gtk-doc
%{_mandir}/man1/devhelp.1*
%dir %{_datadir}/help/C/devhelp
%{_datadir}/help/C/devhelp/*
%lang(ca) %{_datadir}/help/ca/devhelp
%lang(da) %{_datadir}/help/da/devhelp
%lang(cs) %{_datadir}/help/cs/devhelp
%lang(de) %{_datadir}/help/de/devhelp
%lang(es) %{_datadir}/help/es/devhelp
%lang(eu) %{_datadir}/help/eu/devhelp
%lang(fr) %{_datadir}/help/fr/devhelp
%lang(gl) %{_datadir}/help/gl/devhelp
%lang(hr) %{_datadir}/help/hr/devhelp
%lang(hu) %{_datadir}/help/hu/devhelp
%lang(it) %{_datadir}/help/it/devhelp
%lang(pl) %{_datadir}/help/pl/devhelp
%lang(pt_BR) %{_datadir}/help/pt_BR/devhelp
%lang(sv) %{_datadir}/help/sv/devhelp
%lang(tr) %{_datadir}/help/tr/devhelp
%lang(uk) %{_datadir}/help/uk/devhelp
%lang(zh_CN) %{_datadir}/help/zh_CN/devhelp
%files -n %{libname}
%defattr(-, root, root)
@ -140,17 +117,15 @@ Requires: gtk-doc
%{_libdir}/pkgconfig/libdevhelp-3.0.pc
%doc NEWS
#%files -n %{name}-plugins
#%defattr(-, root, root)
#%{_libdir}/gedit/plugins/devhelp.plugin
#%{_libdir}/gedit/plugins/*.py
%files apidocs
%defattr(-,root,root)
%dir %{_docdir}/%{name}-3
%{_docdir}/%{name}-3/*
%changelog
* Tue Apr 02 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 43.0-2mamba
- removed build requirement for libwebkit-gtk3 and other specfile fixes and cleanups
* Wed Sep 21 2022 Automatic Build System <autodist@mambasoft.it> 43.0-1mamba
- automatic version update by autodist