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