update to 4.0.0 [release 4.0.0-1mamba;Fri Jun 24 2022]

This commit is contained in:
Silvan Calarco 2024-01-06 04:34:56 +01:00
parent f034c2c202
commit 6fb008f191

View File

@ -1,8 +1,9 @@
#% define apiver %(echo %version | cut -d. -f 1).0 #% define apiver %(echo %version | cut -d. -f 1).0
%define apiver 3.0 %define apiver 4.0
%define majver %(echo %version | cut -d. -f 1) %define majver %(echo %version | cut -d. -f 1)
Name: libgweather Name: libgweather
Version: 40.0 Epoch: 1
Version: 4.0.0
Release: 1mamba Release: 1mamba
Summary: GNOME weather library Summary: GNOME weather library
Group: System/Libraries Group: System/Libraries
@ -10,19 +11,16 @@ Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://www.gnome.org/ URL: https://www.gnome.org/
Source: http://ftp.acc.umu.se/pub/gnome/sources/libgweather/%{majver}/libgweather-%{version}.tar.xz Source: https://gitlab.gnome.org/GNOME/libgweather.git/%{version}/libgweather-%{version}.tar.bz2
License: GPL License: GPL
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel BuildRequires: glibc-devel
BuildRequires: libgeocode-glib-devel BuildRequires: libgeocode-glib-devel
BuildRequires: libglib-devel BuildRequires: libglib-devel
BuildRequires: libgtk3-devel BuildRequires: libsoup2-devel
BuildRequires: libsoup-devel
BuildRequires: libxml2-devel BuildRequires: libxml2-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRequires: glade-devel BuildRequires: glade-devel
BuildRequires: libgeocode-glib-devel
BuildRequires: libgnome-vfs-devel
%description %description
GNOME weather library. GNOME weather library.
@ -36,6 +34,14 @@ Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
GNOME weather library. GNOME weather library.
This package contains static libraries and header files needed for development. This package contains static libraries and header files needed for development.
%package apidocs
Summary: %{name} API documentation
Group: Documentation
Requires: gtk-doc
%description apidocs
%{name} API documentation.
%debug_package %debug_package
%prep %prep
@ -48,7 +54,6 @@ This package contains static libraries and header files needed for development.
%install %install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
export DESTDIR=%{buildroot}
%meson_install %meson_install
%find_lang %{name} --all-name %find_lang %{name} --all-name
@ -62,28 +67,36 @@ export DESTDIR=%{buildroot}
%files -f %{name}.lang %files -f %{name}.lang
%defattr(-,root,root) %defattr(-,root,root)
%{_libdir}/libgweather-3.so.* %{_libdir}/libgweather-4.so.*
%{_libdir}/girepository-1.0/GWeather-3.0.typelib %{_libdir}/girepository-1.0/GWeather-4.0.typelib
%dir %{_libdir}/libgweather %dir %{_libdir}/libgweather-4
%{_libdir}/libgweather/Locations.bin %{_libdir}/libgweather-4/Locations.bin
%{_datadir}/glib-2.0/schemas/org.gnome.GWeather.enums.xml %{_datadir}/glib-2.0/schemas/org.gnome.GWeather4.enums.xml
%{_datadir}/glib-2.0/schemas/org.gnome.GWeather.gschema.xml %{_datadir}/glib-2.0/schemas/org.gnome.GWeather4.gschema.xml
%dir %{_datadir}/libgweather %dir %{_datadir}/libgweather-4
%{_datadir}/libgweather/*.xml %{_datadir}/libgweather-4/*
%{_datadir}/libgweather/locations.dtd
%doc COPYING %doc COPYING
%files devel %files devel
%defattr(-,root,root) %defattr(-,root,root)
%dir %{_includedir}/libgweather-%{apiver}
%dir %{_includedir}/libgweather-%{apiver}/libgweather
%{_includedir}/libgweather-%{apiver}/libgweather/*.h %{_includedir}/libgweather-%{apiver}/libgweather/*.h
%{_datadir}/glade/catalogs/libgweather.xml %{_libdir}/libgweather-4.so
%{_libdir}/libgweather-3.so %{_datadir}/vala/vapi/gweather4.*
%{_datadir}/vala/vapi/gweather-3.0.* %{_datadir}/gir-1.0/GWeather-4.0.gir
%{_datadir}/gir-1.0/GWeather-3.0.gir
%{_libdir}/pkgconfig/*.pc %{_libdir}/pkgconfig/*.pc
%doc NEWS #%doc NEWS
%files apidocs
%defattr(-,root,root)
%dir %{_docdir}/libgweather-%{apiver}
%{_docdir}/libgweather-%{apiver}/*
%changelog %changelog
* Fri Jun 24 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 4.0.0-1mamba
- update to 4.0.0
* Tue May 25 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 40.0-1mamba * Tue May 25 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 40.0-1mamba
- update to 40.0 - update to 40.0