Update to 3.30.0

- Switch to the meson build system
This commit is contained in:
Kalev Lember 2018-09-07 11:28:35 +02:00
parent 3507c16ed2
commit ce00f7698c
3 changed files with 22 additions and 21 deletions

1
.gitignore vendored
View File

@ -66,3 +66,4 @@ devhelp-2.90.5.tar.bz2
/devhelp-3.27.90.tar.xz /devhelp-3.27.90.tar.xz
/devhelp-3.28.0.tar.xz /devhelp-3.28.0.tar.xz
/devhelp-3.28.1.tar.xz /devhelp-3.28.1.tar.xz
/devhelp-3.30.0.tar.xz

View File

@ -1,18 +1,21 @@
Name: devhelp Name: devhelp
Epoch: 1 Epoch: 1
Version: 3.28.1 Version: 3.30.0
Release: 2%{?dist} Release: 1%{?dist}
Summary: API documentation browser Summary: API documentation browser
License: GPLv2+ License: GPLv2+
URL: https://wiki.gnome.org/Apps/Devhelp URL: https://wiki.gnome.org/Apps/Devhelp
Source0: https://download.gnome.org/sources/%{name}/3.28/%{name}-%{version}.tar.xz Source0: https://download.gnome.org/sources/%{name}/3.30/%{name}-%{version}.tar.xz
BuildRequires: chrpath BuildRequires: chrpath
BuildRequires: desktop-file-utils >= 0.3 BuildRequires: desktop-file-utils
BuildRequires: gettext BuildRequires: gettext
BuildRequires: gobject-introspection-devel BuildRequires: gobject-introspection-devel
BuildRequires: gtk-doc
BuildRequires: itstool BuildRequires: itstool
BuildRequires: meson
BuildRequires: pkgconfig(amtk-5)
BuildRequires: pkgconfig(gsettings-desktop-schemas) BuildRequires: pkgconfig(gsettings-desktop-schemas)
BuildRequires: pkgconfig(gtk+-3.0) BuildRequires: pkgconfig(gtk+-3.0)
BuildRequires: pkgconfig(webkit2gtk-4.0) BuildRequires: pkgconfig(webkit2gtk-4.0)
@ -43,11 +46,11 @@ for embedding devhelp into other applications such as IDEs.
%setup -q %setup -q
%build %build
%configure --disable-static --disable-Werror %meson -Dgtk_doc=true
make %{?_smp_mflags} CFLAGS="$CFLAGS -fno-strict-aliasing" %meson_build
%install %install
%make_install %meson_install
# Update the screenshot shown in the software center # Update the screenshot shown in the software center
# #
@ -58,8 +61,6 @@ make %{?_smp_mflags} CFLAGS="$CFLAGS -fno-strict-aliasing"
appstream-util replace-screenshots $RPM_BUILD_ROOT%{_datadir}/metainfo/org.gnome.Devhelp.appdata.xml \ appstream-util replace-screenshots $RPM_BUILD_ROOT%{_datadir}/metainfo/org.gnome.Devhelp.appdata.xml \
https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/devhelp/a.png https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/devhelp/a.png
find ${RPM_BUILD_ROOT} -type f -name "*.la" -exec rm -f {} ';'
mkdir -p $RPM_BUILD_ROOT%{_datadir}/devhelp/books mkdir -p $RPM_BUILD_ROOT%{_datadir}/devhelp/books
chrpath --delete $RPM_BUILD_ROOT%{_bindir}/devhelp chrpath --delete $RPM_BUILD_ROOT%{_bindir}/devhelp
@ -68,7 +69,6 @@ rm -rf ${RPM_BUILD_ROOT}%{_libdir}/gedit/plugins/__pycache__
%find_lang devhelp --with-gnome %find_lang devhelp --with-gnome
%check %check
appstream-util validate-relax --nonet $RPM_BUILD_ROOT%{_datadir}/metainfo/org.gnome.Devhelp.appdata.xml appstream-util validate-relax --nonet $RPM_BUILD_ROOT%{_datadir}/metainfo/org.gnome.Devhelp.appdata.xml
desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/org.gnome.Devhelp.desktop desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/org.gnome.Devhelp.desktop
@ -84,13 +84,9 @@ desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/org.gnome.Devhelp.
%{_datadir}/applications/org.gnome.Devhelp.desktop %{_datadir}/applications/org.gnome.Devhelp.desktop
%{_datadir}/dbus-1/services/org.gnome.Devhelp.service %{_datadir}/dbus-1/services/org.gnome.Devhelp.service
%{_datadir}/devhelp %{_datadir}/devhelp
%{_datadir}/icons/hicolor/16x16/apps/devhelp.png %{_datadir}/glib-2.0/schemas/org.gnome.devhelp.gschema.xml
%{_datadir}/icons/hicolor/22x22/apps/devhelp.png %{_datadir}/icons/hicolor/*/apps/org.gnome.Devhelp.png
%{_datadir}/icons/hicolor/24x24/apps/devhelp.png %{_datadir}/icons/hicolor/symbolic/apps/org.gnome.Devhelp-symbolic.svg
%{_datadir}/icons/hicolor/32x32/apps/devhelp.png
%{_datadir}/icons/hicolor/48x48/apps/devhelp.png
%{_datadir}/icons/hicolor/256x256/apps/devhelp.png
%{_datadir}/icons/hicolor/symbolic/apps/devhelp-symbolic.svg
%{_datadir}/metainfo/org.gnome.Devhelp.appdata.xml %{_datadir}/metainfo/org.gnome.Devhelp.appdata.xml
%dir %{_libdir}/gedit %dir %{_libdir}/gedit
@ -99,18 +95,22 @@ desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/org.gnome.Devhelp.
%{_mandir}/man1/devhelp.1* %{_mandir}/man1/devhelp.1*
%files libs -f devhelp.lang %files libs -f devhelp.lang
%{_libdir}/libdevhelp-3.so.5* %{_libdir}/libdevhelp-3.so.6*
%{_libdir}/girepository-1.0/Devhelp-3.0.typelib %{_libdir}/girepository-1.0/Devhelp-3.0.typelib
%{_datadir}/glib-2.0/schemas/org.gnome.devhelp.gschema.xml %{_datadir}/glib-2.0/schemas/org.gnome.libdevhelp-3.gschema.xml
%files devel %files devel
%{_includedir}/devhelp-3.0/ %{_includedir}/devhelp-3/
%{_libdir}/libdevhelp-3.so %{_libdir}/libdevhelp-3.so
%{_libdir}/pkgconfig/* %{_libdir}/pkgconfig/*
%{_datadir}/gtk-doc/* %{_datadir}/gtk-doc/*
%{_datadir}/gir-1.0/Devhelp-3.0.gir %{_datadir}/gir-1.0/Devhelp-3.0.gir
%changelog %changelog
* Fri Sep 07 2018 Kalev Lember <klember@redhat.com> - 1:3.30.0-1
- Update to 3.30.0
- Switch to the meson build system
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:3.28.1-2 * Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:3.28.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild

View File

@ -1 +1 @@
SHA512 (devhelp-3.28.1.tar.xz) = a42208cbb7ad677a9c130eb637bbe52ca9fbdacd6bb7714ea3cd71285ad4983d7131dfab003ffaf0be1faccd04f215ad68429d4dcb7b49dbb0eebc0e10350f0b SHA512 (devhelp-3.30.0.tar.xz) = 75ace4383d61416b72f9e7ad0032e0a30391075cdfd4262c11dc1e810a73f31a91fedadc06639404b27b5feeae5e6d9ddd9d7db82955fa232e9ca38bb2b960b3