You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
132 lines
4.2 KiB
132 lines
4.2 KiB
3 months ago
|
## 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 <packager@msvsphere-os.ru> - 4.4.2-3
|
||
|
- Rebuilt for MSVSphere 10
|
||
|
|
||
|
## START: Generated by rpmautospec
|
||
|
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 4.4.2-3
|
||
|
- Bump release for June 2024 mass rebuild
|
||
|
|
||
|
* Thu Jun 13 2024 Tomas Pelka <tpelka@redhat.com> - 4.4.2-2
|
||
|
- Add gating.yaml via API
|
||
|
|
||
|
* Thu Jun 13 2024 Milan Crha <mcrha@redhat.com> - 4.4.2-1
|
||
|
- Resolves: RHEL-30234 (Update to 4.4.2 release)
|
||
|
|
||
|
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 4.4.0-4
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||
|
|
||
|
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 4.4.0-3
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||
|
|
||
|
* Fri Oct 27 2023 Kalev Lember <klember@redhat.com> - 4.4.0-1
|
||
|
- Unretire libgweather package, rename libgweather4 back to libgweather
|
||
|
|
||
|
## END: Generated by rpmautospec
|