!1 Init package
From: @misaka00251 Reviewed-by: @weidongkl Signed-off-by: @weidongkl
This commit is contained in:
commit
fecef674cd
36
README.en.md
36
README.en.md
@ -1,36 +0,0 @@
|
|||||||
# libkgapi
|
|
||||||
|
|
||||||
#### Description
|
|
||||||
Library for accessing various Google services via their public API
|
|
||||||
|
|
||||||
#### Software Architecture
|
|
||||||
Software architecture description
|
|
||||||
|
|
||||||
#### Installation
|
|
||||||
|
|
||||||
1. xxxx
|
|
||||||
2. xxxx
|
|
||||||
3. xxxx
|
|
||||||
|
|
||||||
#### Instructions
|
|
||||||
|
|
||||||
1. xxxx
|
|
||||||
2. xxxx
|
|
||||||
3. xxxx
|
|
||||||
|
|
||||||
#### Contribution
|
|
||||||
|
|
||||||
1. Fork the repository
|
|
||||||
2. Create Feat_xxx branch
|
|
||||||
3. Commit your code
|
|
||||||
4. Create Pull Request
|
|
||||||
|
|
||||||
|
|
||||||
#### Gitee Feature
|
|
||||||
|
|
||||||
1. You can use Readme\_XXX.md to support different languages, such as Readme\_en.md, Readme\_zh.md
|
|
||||||
2. Gitee blog [blog.gitee.com](https://blog.gitee.com)
|
|
||||||
3. Explore open source project [https://gitee.com/explore](https://gitee.com/explore)
|
|
||||||
4. The most valuable open source project [GVP](https://gitee.com/gvp)
|
|
||||||
5. The manual of Gitee [https://gitee.com/help](https://gitee.com/help)
|
|
||||||
6. The most popular members [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)
|
|
||||||
37
README.md
37
README.md
@ -1,37 +0,0 @@
|
|||||||
# libkgapi
|
|
||||||
|
|
||||||
#### 介绍
|
|
||||||
Library for accessing various Google services via their public API
|
|
||||||
|
|
||||||
#### 软件架构
|
|
||||||
软件架构说明
|
|
||||||
|
|
||||||
|
|
||||||
#### 安装教程
|
|
||||||
|
|
||||||
1. xxxx
|
|
||||||
2. xxxx
|
|
||||||
3. xxxx
|
|
||||||
|
|
||||||
#### 使用说明
|
|
||||||
|
|
||||||
1. xxxx
|
|
||||||
2. xxxx
|
|
||||||
3. xxxx
|
|
||||||
|
|
||||||
#### 参与贡献
|
|
||||||
|
|
||||||
1. Fork 本仓库
|
|
||||||
2. 新建 Feat_xxx 分支
|
|
||||||
3. 提交代码
|
|
||||||
4. 新建 Pull Request
|
|
||||||
|
|
||||||
|
|
||||||
#### 特技
|
|
||||||
|
|
||||||
1. 使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md
|
|
||||||
2. Gitee 官方博客 [blog.gitee.com](https://blog.gitee.com)
|
|
||||||
3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解 Gitee 上的优秀开源项目
|
|
||||||
4. [GVP](https://gitee.com/gvp) 全称是 Gitee 最有价值开源项目,是综合评定出的优秀开源项目
|
|
||||||
5. Gitee 官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help)
|
|
||||||
6. Gitee 封面人物是一档用来展示 Gitee 会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)
|
|
||||||
BIN
libkgapi-22.08.0.tar.xz
Normal file
BIN
libkgapi-22.08.0.tar.xz
Normal file
Binary file not shown.
118
libkgapi.spec
Normal file
118
libkgapi.spec
Normal file
@ -0,0 +1,118 @@
|
|||||||
|
%global framework libkgapi
|
||||||
|
# libkgapi built with LTO causes crashes
|
||||||
|
%global _lto_cflags %{nil}
|
||||||
|
|
||||||
|
Name: libkgapi
|
||||||
|
Version: 22.08.0
|
||||||
|
Release: 1
|
||||||
|
Summary: Library to access to Google services
|
||||||
|
|
||||||
|
License: GPLv2+
|
||||||
|
URL: https://invent.kde.org/pim/%{name}
|
||||||
|
|
||||||
|
%global revision %(echo %{version} | cut -d. -f3)
|
||||||
|
%if %{revision} >= 50
|
||||||
|
%global stable unstable
|
||||||
|
%else
|
||||||
|
%global stable stable
|
||||||
|
%endif
|
||||||
|
Source0: http://download.kde.org/%{stable}/release-service/%{version}/src/%{name}-%{version}.tar.xz
|
||||||
|
|
||||||
|
BuildRequires: kf5-rpm-macros
|
||||||
|
BuildRequires: extra-cmake-modules
|
||||||
|
BuildRequires: qt5-qtbase-devel
|
||||||
|
BuildRequires: qt5-qtxmlpatterns-devel
|
||||||
|
BuildRequires: qt5-qttools-static
|
||||||
|
|
||||||
|
BuildRequires: kf5-kcoreaddons-devel
|
||||||
|
BuildRequires: kf5-ki18n-devel
|
||||||
|
BuildRequires: kf5-kio-devel
|
||||||
|
BuildRequires: kf5-kwallet-devel
|
||||||
|
BuildRequires: kf5-kwindowsystem-devel
|
||||||
|
|
||||||
|
BuildRequires: kf5-kcalendarcore-devel >= %{version}
|
||||||
|
BuildRequires: kf5-kcontacts-devel >= %{version}
|
||||||
|
|
||||||
|
BuildRequires: cyrus-sasl-devel
|
||||||
|
|
||||||
|
Obsoletes: libkgoogle < 0.3.2
|
||||||
|
Provides: libkgoogle = %{version}-%{release}
|
||||||
|
|
||||||
|
%description
|
||||||
|
Library to access to Google services, this package is needed by kdepim-runtime
|
||||||
|
to build akonadi-google resources.
|
||||||
|
|
||||||
|
%package devel
|
||||||
|
Summary: Development files for %{name}
|
||||||
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||||
|
Requires: kf5-kcoreaddons-devel
|
||||||
|
Requires: kf5-kcalendarcore-devel
|
||||||
|
Requires: kf5-kcontacts-devel
|
||||||
|
Obsoletes: libkgoogle-devel < 0.3.2
|
||||||
|
Provides: libkgoogle-devel = %{version}-%{release}
|
||||||
|
|
||||||
|
%description devel
|
||||||
|
Libraries and header files for developing applications that use akonadi-google
|
||||||
|
resources.
|
||||||
|
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -n %{name}-%{version}
|
||||||
|
|
||||||
|
|
||||||
|
%build
|
||||||
|
mkdir %{_target_platform}
|
||||||
|
pushd %{_target_platform}
|
||||||
|
%{cmake_kf5} ..
|
||||||
|
popd
|
||||||
|
%make_build -C %{_target_platform}
|
||||||
|
|
||||||
|
|
||||||
|
%install
|
||||||
|
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
|
||||||
|
|
||||||
|
%find_lang_kf5 libkgapi_qt
|
||||||
|
|
||||||
|
|
||||||
|
%ldconfig_scriptlets
|
||||||
|
|
||||||
|
%files -f libkgapi_qt.lang
|
||||||
|
%doc README*
|
||||||
|
%license LICENSES/*
|
||||||
|
%{_kf5_datadir}/qlogging-categories5/*%{framework}.*
|
||||||
|
%{_kf5_libdir}/libKPimGAPIBlogger.so.5*
|
||||||
|
%{_kf5_libdir}/libKPimGAPICalendar.so.*
|
||||||
|
%{_kf5_libdir}/libKPimGAPIContacts.so.*
|
||||||
|
%{_kf5_libdir}/libKPimGAPICore.so.*
|
||||||
|
%{_kf5_libdir}/libKPimGAPIDrive.so.*
|
||||||
|
%{_kf5_libdir}/libKPimGAPILatitude.so.*
|
||||||
|
%{_kf5_libdir}/libKPimGAPIMaps.so.*
|
||||||
|
%{_kf5_libdir}/libKPimGAPITasks.so.*
|
||||||
|
%{_libdir}/sasl2/libkdexoauth2.so*
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%{_kf5_libdir}/libKPimGAPIBlogger.so
|
||||||
|
%{_kf5_archdatadir}/mkspecs/modules/qt_KGAPIBlogger.pri
|
||||||
|
%{_kf5_libdir}/libKPimGAPICalendar.so
|
||||||
|
%{_kf5_archdatadir}/mkspecs/modules/qt_KGAPICalendar.pri
|
||||||
|
%{_kf5_libdir}/libKPimGAPIContacts.so
|
||||||
|
%{_kf5_archdatadir}/mkspecs/modules/qt_KGAPIContacts.pri
|
||||||
|
%{_kf5_libdir}/libKPimGAPICore.so
|
||||||
|
%{_kf5_archdatadir}/mkspecs/modules/qt_KGAPICore.pri
|
||||||
|
%{_kf5_libdir}/libKPimGAPIDrive.so
|
||||||
|
%{_kf5_archdatadir}/mkspecs/modules/qt_KGAPIDrive.pri
|
||||||
|
%{_kf5_libdir}/libKPimGAPILatitude.so
|
||||||
|
%{_kf5_archdatadir}/mkspecs/modules/qt_KGAPILatitude.pri
|
||||||
|
%{_kf5_libdir}/libKPimGAPIMaps.so
|
||||||
|
%{_kf5_archdatadir}/mkspecs/modules/qt_KGAPIMaps.pri
|
||||||
|
%{_kf5_libdir}/libKPimGAPITasks.so
|
||||||
|
%{_kf5_archdatadir}/mkspecs/modules/qt_KGAPITasks.pri
|
||||||
|
%{_kf5_libdir}/cmake/KPimGAPI/
|
||||||
|
%dir %{_includedir}/KPim/
|
||||||
|
%{_includedir}/KPim/KGAPI/
|
||||||
|
%{_includedir}/KPim/kgapi_version.h
|
||||||
|
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Fri Nov 25 2022 misaka00251 <liuxin@iscas.ac.cn> - 22.08.0-1
|
||||||
|
- Init package
|
||||||
4
libkgapi.yaml
Normal file
4
libkgapi.yaml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
version_control: git
|
||||||
|
src_repo: https://github.com/KDE/libkgapi.git
|
||||||
|
tag_prefix: "^v"
|
||||||
|
seperator: "."
|
||||||
Loading…
x
Reference in New Issue
Block a user