!3 Update version to 22.08
From: @xzyangha Reviewed-by: @leeffo Signed-off-by: @leeffo
This commit is contained in:
commit
9be6a69fc5
36
README.en.md
36
README.en.md
@ -1,36 +0,0 @@
|
|||||||
# libkomparediff2
|
|
||||||
|
|
||||||
#### Description
|
|
||||||
libkomparediff2 is library to compare files and strings ,used in Kompare and KDevelop.
|
|
||||||
|
|
||||||
#### 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 @@
|
|||||||
# libkomparediff2
|
|
||||||
|
|
||||||
#### 介绍
|
|
||||||
libkomparediff2 is library to compare files and strings ,used in Kompare and KDevelop.
|
|
||||||
|
|
||||||
#### 软件架构
|
|
||||||
软件架构说明
|
|
||||||
|
|
||||||
|
|
||||||
#### 安装教程
|
|
||||||
|
|
||||||
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
libkomparediff2-22.08.0.tar.xz
Normal file
BIN
libkomparediff2-22.08.0.tar.xz
Normal file
Binary file not shown.
99
libkomparediff2.spec
Normal file
99
libkomparediff2.spec
Normal file
@ -0,0 +1,99 @@
|
|||||||
|
Name: libkomparediff2
|
||||||
|
Summary: Library to compare files and strings
|
||||||
|
Version: 22.08.0
|
||||||
|
Release: 1
|
||||||
|
License: GPLv2+ and BSD
|
||||||
|
URL: https://invent.kde.org/sdk/%{name}.git
|
||||||
|
|
||||||
|
%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: gcc-c++
|
||||||
|
BuildRequires: kf5-rpm-macros
|
||||||
|
BuildRequires: extra-cmake-modules
|
||||||
|
BuildRequires: qt5-qtbase-devel
|
||||||
|
BuildRequires: kf5-kcoreaddons-devel
|
||||||
|
BuildRequires: kf5-kcodecs-devel
|
||||||
|
BuildRequires: kf5-kconfig-devel
|
||||||
|
BuildRequires: kf5-kxmlgui-devel
|
||||||
|
BuildRequires: kf5-ki18n-devel
|
||||||
|
BuildRequires: kf5-kio-devel
|
||||||
|
BuildRequires: kf5-kparts-devel
|
||||||
|
|
||||||
|
Conflicts: kde-l10n < 17.03
|
||||||
|
|
||||||
|
Requires: diffutils
|
||||||
|
|
||||||
|
Obsoletes: kompare-libs < 4.11.80
|
||||||
|
Obsoletes: kdesdk-kompare-libs < 4.10.80
|
||||||
|
|
||||||
|
%description
|
||||||
|
A shared library to compare files and strings using KDE Frameworks 5 and GNU
|
||||||
|
diff, used in Kompare and KDevelop.
|
||||||
|
|
||||||
|
%package devel
|
||||||
|
Summary: Developer files for %{name}
|
||||||
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||||
|
Requires: cmake
|
||||||
|
Requires: qt5-qtbase-devel
|
||||||
|
Requires: kf5-kcodecs-devel
|
||||||
|
Requires: kf5-kcoreaddons-devel
|
||||||
|
Requires: kf5-ki18n-devel
|
||||||
|
Requires: kf5-kio-devel
|
||||||
|
Requires: kf5-kxmlgui-devel
|
||||||
|
Conflicts: kompare-devel < 4.11.80
|
||||||
|
Conflicts: kdesdk-kompare < 4.10.80
|
||||||
|
%description devel
|
||||||
|
The %{name}-devel package contains libraries and header files for
|
||||||
|
developing applications that use %{name}.
|
||||||
|
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup
|
||||||
|
|
||||||
|
|
||||||
|
%build
|
||||||
|
mkdir %{_target_platform}
|
||||||
|
pushd %{_target_platform}
|
||||||
|
%{cmake_kf5} .. \
|
||||||
|
-DBUILD_TESTING:BOOL=%{?tests}%{!?tests:0}
|
||||||
|
popd
|
||||||
|
%make_build -C %{_target_platform}
|
||||||
|
|
||||||
|
|
||||||
|
%install
|
||||||
|
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
|
||||||
|
|
||||||
|
%find_lang %{name} --all-name
|
||||||
|
|
||||||
|
|
||||||
|
%check
|
||||||
|
%if 0%{?tests}
|
||||||
|
%ctest
|
||||||
|
%endif
|
||||||
|
|
||||||
|
|
||||||
|
%ldconfig_scriptlets
|
||||||
|
|
||||||
|
%files -f %{name}.lang
|
||||||
|
%license COPYING*
|
||||||
|
%{_kf5_datadir}/qlogging-categories5/libkomparediff2.categories
|
||||||
|
%{_libdir}/libkomparediff2.so.5*
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%{_includedir}/libkomparediff2/
|
||||||
|
%{_libdir}/libkomparediff2.so
|
||||||
|
%{_libdir}/cmake/LibKompareDiff2/
|
||||||
|
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Mon Sep 05 2022 liweiganga <liweiganga@uniontech.com> - 22.08.0-1
|
||||||
|
- update to upstream version 22.08.0
|
||||||
|
|
||||||
|
* Tue Jul 19 2022 misaka00251 <misaka00251@misakanet.cn> - 22.04.3-1
|
||||||
|
- Init package (Thanks to fedora team)
|
||||||
4
libkomparediff2.yml
Normal file
4
libkomparediff2.yml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
version_control: git
|
||||||
|
src_repo: https://invent.kde.org/sdk/libkomparediff2.git
|
||||||
|
tag_prefix: "^v"
|
||||||
|
separator: "."
|
||||||
Loading…
x
Reference in New Issue
Block a user