From 05b609886fa4c4571e898e1d84a27d7dc2baa318 Mon Sep 17 00:00:00 2001 From: MSVSphere Packaging Team Date: Fri, 25 Oct 2024 16:20:49 +0300 Subject: [PATCH] import libgweather-4.4.2-3.el10 --- .gitignore | 1 + .libgweather.metadata | 1 + SPECS/libgweather.spec | 131 +++++++++++++++++++++++++++++++++++++++++ 3 files changed, 133 insertions(+) create mode 100644 .gitignore create mode 100644 .libgweather.metadata create mode 100644 SPECS/libgweather.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..8e0b8a6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/libgweather-4.4.2.tar.xz diff --git a/.libgweather.metadata b/.libgweather.metadata new file mode 100644 index 0000000..4946b72 --- /dev/null +++ b/.libgweather.metadata @@ -0,0 +1 @@ +de27faf6e9198ccc4072662315c4280d3ace660b SOURCES/libgweather-4.4.2.tar.xz diff --git a/SPECS/libgweather.spec b/SPECS/libgweather.spec new file mode 100644 index 0000000..2849ee7 --- /dev/null +++ b/SPECS/libgweather.spec @@ -0,0 +1,131 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.6.1) +## RPMAUTOSPEC: autorelease, autochangelog +%define autorelease(e:s:pb:n) %{?-p:0.}%{lua: + release_number = 3; + 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.2 +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 +* Fri Oct 25 2024 MSVSphere Packaging Team - 4.4.2-3 +- Rebuilt for MSVSphere 10 + +## START: Generated by rpmautospec +* Mon Jun 24 2024 Troy Dawson - 4.4.2-3 +- Bump release for June 2024 mass rebuild + +* Thu Jun 13 2024 Tomas Pelka - 4.4.2-2 +- Add gating.yaml via API + +* Thu Jun 13 2024 Milan Crha - 4.4.2-1 +- Resolves: RHEL-30234 (Update to 4.4.2 release) + +* 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