libgweather/libgweather.spec

96 lines
2.6 KiB
RPMSpec
Raw Normal View History

2022-04-13 11:20:30 +08:00
%global tarball_version %%(echo %{version} | tr '~' '.')
2019-09-30 10:56:29 -04:00
Name: libgweather
2022-04-13 11:20:30 +08:00
Version: 4.0.0
2021-01-27 11:16:05 +08:00
Release: 1
2019-09-30 10:56:29 -04:00
Summary: A library for weather information
License: GPLv2+
URL: https://wiki.gnome.org/Projects/LibGWeather
2022-04-13 11:20:30 +08:00
Source0: https://download.gnome.org/sources/libgweather/4.0/libgweather-%{tarball_version}.tar.xz
2019-12-25 15:53:15 +08:00
BuildRequires: gettext gtk-doc meson vala geocode-glib-devel glade-devel
2022-04-13 11:20:30 +08:00
BuildRequires: gobject-introspection-devel gtk4-devel libsoup-devel libxml2-devel
BuildRequires: gcc gi-docgen python3-gobject-base
2019-09-30 10:56:29 -04:00
%description
libgweather is the location/timezone/weather library/database used by InitialSetup,
Weather, Clocks, Shell and Calendar.
%package devel
Summary: Development files for %{name}
Requires: %{name} = %{version}-%{release}
%description devel
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.
%package_help
%prep
2022-04-13 11:20:30 +08:00
%autosetup -p1 -n libgweather-%{tarball_version}
2019-09-30 10:56:29 -04:00
%build
%meson -Dgtk_doc=true
%meson_build
%install
%meson_install
2022-04-13 11:20:30 +08:00
%find_lang %{name} --all-name
%files -f %{name}.lang
%doc CONTRIBUTING.md NEWS README.md
2019-09-30 10:56:29 -04:00
%license COPYING
2022-04-13 11:20:30 +08:00
%{_libdir}/libgweather-4.so.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
2019-09-30 10:56:29 -04:00
%files devel
2022-04-13 11:20:30 +08:00
%{_includedir}/libgweather-4.0
%{_libdir}/libgweather-4.so
%{_libdir}/pkgconfig/gweather4.pc
%{_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
2019-09-30 10:56:29 -04:00
%files help
2022-04-13 11:20:30 +08:00
%license COPYING
%{_docdir}/libgweather-4.0
2019-09-30 10:56:29 -04:00
%changelog
2022-04-13 11:20:30 +08:00
* Mon Mar 28 2022 lin zhang <lin.zhang@turbolinux.com.cn> - 4.0.0-1
- Update to 4.0.0
* Mon May 24 2021 weijin deng <weijin.deng@turbolinux.com.cn> - 3.36.2-1
- Upgrade to 3.36.2
- Update Version, BuildRequires, stage 'install' and 'files'
2021-01-27 11:16:05 +08:00
* Wed Jan 27 2021 hanhui <hanhui15@huawei.com> - 3.36.1-1
- Type: enhancement
- ID: NA
- SUG: NA
- DESC: update to 3.36.1
2019-12-25 15:53:15 +08:00
* Mon Dec 23 2019 openEuler Buildteam <buildteam@openeuler.org> - 3.32.2-3
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:modify the patch
* Sat Dec 21 2019 openEuler Buildteam <buildteam@openeuler.org> - 3.32.2-2
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:bugfix about translations from Macau to Macao
2019-09-30 10:56:29 -04:00
* Fri Sep 20 2019 openEuler Buildteam <buildteam@openeuler.org> - 3.32.2-1
- Package init