59 lines
1.5 KiB
RPMSpec
59 lines
1.5 KiB
RPMSpec
|
|
%global api_version 0.3
|
||
|
|
|
||
|
|
Name: libcloudproviders
|
||
|
|
Summary: Library for integration of cloud storage providers
|
||
|
|
Version: 0.3.1
|
||
|
|
Release: 1
|
||
|
|
License: LGPLv3+
|
||
|
|
URL: https://gitlab.gnome.org/World/libcloudproviders
|
||
|
|
Source0: https://ftp.gnome.org/pub/GNOME/sources/libcloudproviders/%{api_version}/libcloudproviders-%{version}.tar.xz
|
||
|
|
|
||
|
|
BuildRequires: gcc
|
||
|
|
BuildRequires: gtk-doc
|
||
|
|
BuildRequires: meson
|
||
|
|
BuildRequires: vala
|
||
|
|
|
||
|
|
BuildRequires: pkgconfig(gio-2.0)
|
||
|
|
BuildRequires: pkgconfig(glib-2.0)
|
||
|
|
BuildRequires: pkgconfig(gobject-introspection-1.0)
|
||
|
|
|
||
|
|
%description
|
||
|
|
Cross desktop library for desktop integration of cloud storage providers
|
||
|
|
and sync tools.
|
||
|
|
|
||
|
|
%package devel
|
||
|
|
Summary: Development files for %{name}
|
||
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||
|
|
|
||
|
|
%description devel
|
||
|
|
The %{name}-devel package contains libraries and header files for
|
||
|
|
developing applications that use %{name}.
|
||
|
|
|
||
|
|
%prep
|
||
|
|
%autosetup -p1
|
||
|
|
|
||
|
|
%build
|
||
|
|
%meson -Denable-gtk-doc=true
|
||
|
|
%meson_build
|
||
|
|
|
||
|
|
%install
|
||
|
|
%meson_install
|
||
|
|
|
||
|
|
%files
|
||
|
|
%doc CHANGELOG README.md
|
||
|
|
%license LICENSE
|
||
|
|
%{_libdir}/%{name}.so.0*
|
||
|
|
%{_libdir}/girepository-1.0/CloudProviders-%{api_version}.typelib
|
||
|
|
|
||
|
|
%files devel
|
||
|
|
%{_includedir}/cloudproviders/
|
||
|
|
%{_libdir}/pkgconfig/cloudproviders.pc
|
||
|
|
%{_libdir}/%{name}.so
|
||
|
|
%{_datadir}/gir-1.0/CloudProviders-%{api_version}.gir
|
||
|
|
%{_datadir}/gtk-doc/
|
||
|
|
%{_datadir}/vala/vapi/cloudproviders.*
|
||
|
|
|
||
|
|
%changelog
|
||
|
|
* Mon Jan 02 2023 lin zhang <lin.zhang@turbolinux.com.cn> - 0.3.1-1
|
||
|
|
- Init Packaging
|