Update to 3.27.4

- Switch to meson build system
This commit is contained in:
Kalev Lember 2018-02-05 13:42:52 +01:00
parent 8312e0ac71
commit 54f0d6a8f8
3 changed files with 17 additions and 14 deletions

1
.gitignore vendored
View File

@ -75,3 +75,4 @@ libgweather-2.30.0.tar.bz2
/libgweather-3.25.92.tar.xz
/libgweather-3.26.0.tar.xz
/libgweather-3.26.1.tar.xz
/libgweather-3.27.4.tar.xz

View File

@ -1,27 +1,27 @@
Name: libgweather
Version: 3.26.1
Release: 2%{?dist}
Version: 3.27.4
Release: 1%{?dist}
Summary: A library for weather information
License: GPLv2+
URL: https://wiki.gnome.org/Projects/LibGWeather
Source0: https://download.gnome.org/sources/libgweather/3.26/%{name}-%{version}.tar.xz
Source0: https://download.gnome.org/sources/libgweather/3.27/%{name}-%{version}.tar.xz
BuildRequires: gettext
BuildRequires: gtk-doc
BuildRequires: meson
BuildRequires: pkgconfig(geocode-glib-1.0)
BuildRequires: pkgconfig(gladeui-2.0)
BuildRequires: pkgconfig(gobject-introspection-1.0) >= 0.10
BuildRequires: pkgconfig(gtk+-3.0) >= 3.13.5
BuildRequires: pkgconfig(libsoup-2.4) >= 2.34
BuildRequires: pkgconfig(libxml-2.0) >= 2.6.0
BuildRequires: gettext
BuildRequires: intltool
BuildRequires: vala
%description
libgweather is a library to access weather information from online
services for numerous locations.
%package devel
Summary: Development files for %{name}
Requires: %{name}%{_isa} = %{version}-%{release}
@ -30,17 +30,15 @@ Requires: %{name}%{_isa} = %{version}-%{release}
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.
%prep
%autosetup -p1
%build
%configure --disable-static --disable-gtk-doc
make %{?_smp_mflags}
%meson -Dgtk_doc=true
%meson_build
%install
%make_install
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
%meson_install
%find_lang %{name} --all-name
@ -69,13 +67,17 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
%{_datadir}/glade/catalogs/libgweather.xml
%dir %{_datadir}/gtk-doc
%dir %{_datadir}/gtk-doc/html
%{_datadir}/gtk-doc/html/libgweather-3.0
%{_datadir}/gtk-doc/html/libgweather/
%dir %{_datadir}/vala/
%dir %{_datadir}/vala/vapi/
%{_datadir}/vala/vapi/gweather-3.0.deps
%{_datadir}/vala/vapi/gweather-3.0.vapi
%changelog
* Mon Feb 05 2018 Kalev Lember <klember@redhat.com> - 3.27.4-1
- Update to 3.27.4
- Switch to meson build system
* Sat Jan 06 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 3.26.1-2
- Remove obsolete scriptlets

View File

@ -1 +1 @@
SHA512 (libgweather-3.26.1.tar.xz) = 7d8566d5f62c7086826381ce825cd86a58cf362116d0e8fbb8b64b9781118c71663394416f7f08882f0c9d53a6aecef86b6d0c00be12983e754d81e57ad03079
SHA512 (libgweather-3.27.4.tar.xz) = c55a2693d82fe98cfb083b5d32848185ebf3bb11d66866a6e08b4d01981cbe572bf8b04e59648bd8bc2e965255f13daf78814af926dab678c4264e3cc61654e6