update to 4.0.0 [release 4.0.0-1mamba;Fri Jun 24 2022]
This commit is contained in:
parent
f034c2c202
commit
6fb008f191
@ -1,8 +1,9 @@
|
||||
#% 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)
|
||||
Name: libgweather
|
||||
Version: 40.0
|
||||
Epoch: 1
|
||||
Version: 4.0.0
|
||||
Release: 1mamba
|
||||
Summary: GNOME weather library
|
||||
Group: System/Libraries
|
||||
@ -10,19 +11,16 @@ Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
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
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: glibc-devel
|
||||
BuildRequires: libgeocode-glib-devel
|
||||
BuildRequires: libglib-devel
|
||||
BuildRequires: libgtk3-devel
|
||||
BuildRequires: libsoup-devel
|
||||
BuildRequires: libsoup2-devel
|
||||
BuildRequires: libxml2-devel
|
||||
## AUTOBUILDREQ-END
|
||||
BuildRequires: glade-devel
|
||||
BuildRequires: libgeocode-glib-devel
|
||||
BuildRequires: libgnome-vfs-devel
|
||||
|
||||
%description
|
||||
GNOME weather library.
|
||||
@ -36,6 +34,14 @@ Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||
GNOME weather library.
|
||||
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
|
||||
|
||||
%prep
|
||||
@ -48,7 +54,6 @@ This package contains static libraries and header files needed for development.
|
||||
|
||||
%install
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
export DESTDIR=%{buildroot}
|
||||
%meson_install
|
||||
|
||||
%find_lang %{name} --all-name
|
||||
@ -62,28 +67,36 @@ export DESTDIR=%{buildroot}
|
||||
|
||||
%files -f %{name}.lang
|
||||
%defattr(-,root,root)
|
||||
%{_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
|
||||
%dir %{_datadir}/libgweather
|
||||
%{_datadir}/libgweather/*.xml
|
||||
%{_datadir}/libgweather/locations.dtd
|
||||
%{_libdir}/libgweather-4.so.*
|
||||
%{_libdir}/girepository-1.0/GWeather-4.0.typelib
|
||||
%dir %{_libdir}/libgweather-4
|
||||
%{_libdir}/libgweather-4/Locations.bin
|
||||
%{_datadir}/glib-2.0/schemas/org.gnome.GWeather4.enums.xml
|
||||
%{_datadir}/glib-2.0/schemas/org.gnome.GWeather4.gschema.xml
|
||||
%dir %{_datadir}/libgweather-4
|
||||
%{_datadir}/libgweather-4/*
|
||||
%doc COPYING
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%dir %{_includedir}/libgweather-%{apiver}
|
||||
%dir %{_includedir}/libgweather-%{apiver}/libgweather
|
||||
%{_includedir}/libgweather-%{apiver}/libgweather/*.h
|
||||
%{_datadir}/glade/catalogs/libgweather.xml
|
||||
%{_libdir}/libgweather-3.so
|
||||
%{_datadir}/vala/vapi/gweather-3.0.*
|
||||
%{_datadir}/gir-1.0/GWeather-3.0.gir
|
||||
%{_libdir}/libgweather-4.so
|
||||
%{_datadir}/vala/vapi/gweather4.*
|
||||
%{_datadir}/gir-1.0/GWeather-4.0.gir
|
||||
%{_libdir}/pkgconfig/*.pc
|
||||
%doc NEWS
|
||||
#%doc NEWS
|
||||
|
||||
%files apidocs
|
||||
%defattr(-,root,root)
|
||||
%dir %{_docdir}/libgweather-%{apiver}
|
||||
%{_docdir}/libgweather-%{apiver}/*
|
||||
|
||||
%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
|
||||
- update to 40.0
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user