update to 40.0 [release 40.0-1mamba;Tue May 25 2021]

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

View File

@ -1,56 +1,28 @@
%define apiver %(echo %version | cut -d. -f 1).0
%define majver %(echo %version | cut -d. -f 1-2)
#% define apiver %(echo %version | cut -d. -f 1).0
%define apiver 3.0
%define majver %(echo %version | cut -d. -f 1)
Name: libgweather
Version: 3.36.1
Version: 40.0
Release: 1mamba
Summary: GNOME weather library
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.gnome.org
URL: https://www.gnome.org/
Source: http://ftp.acc.umu.se/pub/gnome/sources/libgweather/%{majver}/libgweather-%{version}.tar.xz
License: GPL
BuildRequires: libgnome-vfs-devel
## AUTOBUILDREQ-BEGIN
BuildRequires: GConf-devel
BuildRequires: glibc-devel
BuildRequires: libatk-devel
BuildRequires: libbzip2-devel
BuildRequires: libcairo-devel
BuildRequires: libdbus-devel
BuildRequires: libdbus-glib-devel
BuildRequires: libexpat-devel
BuildRequires: libfontconfig-devel
BuildRequires: libfreetype-devel
BuildRequires: libgcrypt-devel
BuildRequires: libgdk-pixbuf-devel
BuildRequires: libGL-devel
BuildRequires: libgeocode-glib-devel
BuildRequires: libglib-devel
BuildRequires: libgnome-keyring-devel
BuildRequires: libgpg-error-devel
BuildRequires: libgtk-devel
BuildRequires: libpango-devel
BuildRequires: libpixman-devel
BuildRequires: libpng-devel
BuildRequires: libpthread-stubs-devel
BuildRequires: libselinux-devel
BuildRequires: libgtk3-devel
BuildRequires: libsoup-devel
BuildRequires: libsqlite-devel
BuildRequires: libstdc++6-devel
BuildRequires: libX11-devel
BuildRequires: libXau-devel
BuildRequires: libxcb-devel
BuildRequires: libXdmcp-devel
BuildRequires: libxml2-devel
BuildRequires: libXrender-devel
BuildRequires: libz-devel
BuildRequires: ORBit2-devel
BuildRequires: udev-devel
## AUTOBUILDREQ-END
BuildRequires: glade-devel
BuildRequires: libgeocode-glib-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-root
BuildRequires: libgnome-vfs-devel
%description
GNOME weather library.
@ -62,7 +34,9 @@ Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description devel
GNOME weather library.
This package contains static libraries and header files need for development.
This package contains static libraries and header files needed for development.
%debug_package
%prep
%setup -q
@ -77,10 +51,7 @@ This package contains static libraries and header files need for development.
export DESTDIR=%{buildroot}
%meson_install
%find_lang %{name}-locations
%find_lang %{name}-%{apiver}
cat %{name}-locations.lang >> %{name}-%{apiver}.lang
%find_lang %{name} --all-name
%post -p /sbin/ldconfig
@ -89,15 +60,15 @@ cat %{name}-locations.lang >> %{name}-%{apiver}.lang
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files -f %{name}-%{apiver}.lang
%files -f %{name}.lang
%defattr(-,root,root)
#%{_sysconfdir}/gconf/schemas/gweather.schemas
%{_libdir}/libgweather-3.so.*
%{_libdir}/girepository-1.0/GWeather-3.0.typelib
%dir %{_libdir}/libgweather
%{_libdir}/libgweather/Locations.bin
%{_datadir}/glib-2.0/schemas/org.gnome.GWeather.enums.xml
%{_datadir}/glib-2.0/schemas/org.gnome.GWeather.gschema.xml
#%{_datadir}/icons/gnome/*/status/*.png
#%{_datadir}/icons/gnome/scalable/status/*.svg
%dir %{_datadir}/libgweather
%{_datadir}/libgweather/*.xml
%{_datadir}/libgweather/locations.dtd
%doc COPYING
@ -106,15 +77,16 @@ cat %{name}-locations.lang >> %{name}-%{apiver}.lang
%defattr(-,root,root)
%{_includedir}/libgweather-%{apiver}/libgweather/*.h
%{_datadir}/glade/catalogs/libgweather.xml
#%{_datadir}/gtk-doc/html/libgweather-%{apiver}/*
#%{_libdir}/libgweather-3.la
%{_libdir}/libgweather-3.so
%{_datadir}/vala/vapi/gweather-3.0.*
%{_datadir}/gir-1.0/GWeather-3.0.gir
%{_libdir}/pkgconfig/*.pc
%doc NEWS README
%doc NEWS
%changelog
* Tue May 25 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 40.0-1mamba
- update to 40.0
* Fri Jun 19 2020 Automatic Build System <autodist@mambasoft.it> 3.36.1-1mamba
- automatic version update by autodist