Package init
This commit is contained in:
commit
30eb9ffd26
BIN
libgweather-3.32.2.tar.xz
Normal file
BIN
libgweather-3.32.2.tar.xz
Normal file
Binary file not shown.
63
libgweather.spec
Normal file
63
libgweather.spec
Normal file
@ -0,0 +1,63 @@
|
||||
Name: libgweather
|
||||
Version: 3.32.2
|
||||
Release: 1
|
||||
Summary: A library for weather information
|
||||
|
||||
License: GPLv2+
|
||||
URL: https://wiki.gnome.org/Projects/LibGWeather
|
||||
Source0: https://download.gnome.org/sources/libgweather/3.32/%{name}-%{version}.tar.xz
|
||||
|
||||
BuildRequires: gettext gtk-doc meson vala geocode-glib-devel glade-devel
|
||||
BuildRequires: gobject-introspection-devel gtk3-devel libsoup-devel libxml2-devel
|
||||
|
||||
%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
|
||||
%autosetup -n %{name}-%{version} -p1
|
||||
|
||||
%build
|
||||
%meson -Dgtk_doc=true
|
||||
%meson_build
|
||||
|
||||
%install
|
||||
%meson_install
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%license COPYING
|
||||
%{_libdir}/libgweather-3.so.15*
|
||||
%{_libdir}/girepository-1.0/GWeather-3.0.typelib
|
||||
%{_datadir}/libgweather/*
|
||||
%{_datadir}/glib-2.0/schemas/*
|
||||
%{_datadir}/locale/*
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%{_includedir}/libgweather-3.0
|
||||
%{_libdir}/libgweather-3.so
|
||||
%{_libdir}/pkgconfig/gweather-3.0.pc
|
||||
%{_datadir}/gir-1.0/GWeather-3.0.gir
|
||||
%{_datadir}/glade/catalogs/libgweather.xml
|
||||
%{_datadir}/vala/vapi/*
|
||||
|
||||
%files help
|
||||
%defattr(-,root,root)
|
||||
%doc NEWS HACKING README.md
|
||||
%{_datadir}/gtk-doc/html/libgweather/
|
||||
|
||||
%changelog
|
||||
* Fri Sep 20 2019 openEuler Buildteam <buildteam@openeuler.org> - 3.32.2-1
|
||||
- Package init
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user