!1 Init Packaging, Add source files.
From: @dwl301 Reviewed-by: @zhang__3125 Signed-off-by: @zhang__3125
This commit is contained in:
commit
5d6d60a1dd
BIN
libcloudproviders-0.3.1.tar.xz
Normal file
BIN
libcloudproviders-0.3.1.tar.xz
Normal file
Binary file not shown.
58
libcloudproviders.spec
Normal file
58
libcloudproviders.spec
Normal file
@ -0,0 +1,58 @@
|
||||
%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
|
||||
4
libcloudproviders.yaml
Normal file
4
libcloudproviders.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
version_control: gitlab.gnome
|
||||
src_repo: libcloudproviders
|
||||
tag_prefix: ^
|
||||
separator: .
|
||||
Loading…
x
Reference in New Issue
Block a user