## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec %global tarball_version %%(echo %{version} | tr '~' '.') Name: libgweather Version: 4.4.4 Release: %autorelease Summary: A library for weather information # libgweather/third-party/kdtree.c is BSD-3-Clause License: GPL-2.0-or-later AND BSD-3-Clause URL: https://wiki.gnome.org/Projects/LibGWeather Source: https://download.gnome.org/sources/libgweather/4.4/libgweather-%{tarball_version}.tar.xz BuildRequires: gcc BuildRequires: gettext BuildRequires: gi-docgen BuildRequires: meson BuildRequires: pkgconfig(geocode-glib-2.0) BuildRequires: pkgconfig(gobject-introspection-1.0) BuildRequires: pkgconfig(json-glib-1.0) BuildRequires: pkgconfig(libsoup-3.0) BuildRequires: pkgconfig(libxml-2.0) BuildRequires: python3-gobject-base BuildRequires: vala # Renamed in F40 Obsoletes: libgweather4 < %{version}-%{release} Provides: libgweather4 = %{version}-%{release} Provides: libgweather4%{_isa} = %{version}-%{release} %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} # Renamed in F40 Obsoletes: libgweather4-devel < %{version}-%{release} Provides: libgweather4-devel = %{version}-%{release} Provides: libgweather4-devel%{_isa} = %{version}-%{release} %description devel The %{name}-devel package contains libraries and header files for developing applications that use %{name}. %package doc Summary: Documentation files for development with %{name} # Renamed in F40 Obsoletes: libgweather4-devel-doc < %{version}-%{release} Provides: libgweather4-devel-doc = %{version}-%{release} Provides: libgweather4-devel-doc%{_isa} = %{version}-%{release} %description doc The %{name}-doc package contains documentation for developing applications that use %{name}. %prep %autosetup -p1 -n libgweather-%{tarball_version} %build %meson -Dgtk_doc=true %meson_build %install %meson_install %find_lang %{name} --all-name %files -f %{name}.lang %doc CONTRIBUTING.md NEWS README.md %license COPYING %{_libdir}/libgweather-4.so.0* %dir %{_libdir}/girepository-1.0 %{_libdir}/girepository-1.0/GWeather-4.0.typelib %dir %{_libdir}/libgweather-4 %{_libdir}/libgweather-4/Locations.bin %dir %{_datadir}/libgweather-4 %{_datadir}/libgweather-4/Locations.xml %{_datadir}/libgweather-4/locations.dtd %{_datadir}/glib-2.0/schemas/org.gnome.GWeather4.enums.xml %{_datadir}/glib-2.0/schemas/org.gnome.GWeather4.gschema.xml %files devel %{_includedir}/libgweather-4.0/ %{_libdir}/libgweather-4.so %{_libdir}/pkgconfig/gweather4.pc %dir %{_datadir}/gir-1.0 %{_datadir}/gir-1.0/GWeather-4.0.gir %dir %{_datadir}/vala %dir %{_datadir}/vala/vapi %{_datadir}/vala/vapi/gweather4.deps %{_datadir}/vala/vapi/gweather4.vapi %files doc %license COPYING %{_docdir}/libgweather-4.0/ %changelog ## START: Generated by rpmautospec * Mon Sep 02 2024 David King - 4.4.4-1 - Update to 4.4.4 * Thu Jul 18 2024 Fedora Release Engineering - 4.4.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Thu Mar 21 2024 David King - 4.4.2-1 - Update to 4.4.2 * Thu Jan 25 2024 Fedora Release Engineering - 4.4.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Jan 21 2024 Fedora Release Engineering - 4.4.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Oct 27 2023 Kalev Lember - 4.4.0-1 - Unretire libgweather package, rename libgweather4 back to libgweather ## END: Generated by rpmautospec