1 Star 0 Fork 6

huanghaitao/canal

forked from src-openEuler/canal 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
canal.spec 1.53 KB
一键复制 编辑 原始数据 按行查看 历史
huanghaitao 提交于 2021-07-22 15:31 . Package init
Name: canal
Version: 1.1.5
Release: 1
Summary: MySQL Binlog Incremental Subscription & Consuming Components
License: ASL 2.0
URL: https://github.com/alibaba/canal
Source0: https://github.com/alibaba/canal/archive/refs/tags/canal-1.1.5.tar.gz
Patch0: Modify-JAVA_OPTS-to-fix-startup-failure.patch
BuildRequires: maven java
Requires: java
BuildArch: noarch
%description
MySQL Binlog Incremental Subscription & Consuming Components
%package javadoc
Summary: Javadoc for %{name}
%description javadoc
This package contains javadoc for %{name}.
%prep
%autosetup -n canal-canal-%{version} -p1
find -name "*.jar" -delete
find -name "*.class" -delete
%build
mvn package
%install
install -d %{buildroot}%{_datadir}/canal
cp -r deployer/target/canal/bin %{buildroot}%{_datadir}/canal
cp -r deployer/target/canal/conf %{buildroot}%{_datadir}/canal
cp -r deployer/target/canal/lib %{buildroot}%{_datadir}/canal
cp -r deployer/target/canal/logs %{buildroot}%{_datadir}/canal
install -d %{buildroot}%{_javadir}
find . -name "*.jar" | cp --parents `xargs` %{buildroot}%{_javadir}
install -d %{buildroot}%{_datadir}/canal/javadoc
find . -name "*.xml" | cp --parents `xargs` %{buildroot}%{_datadir}/canal/javadoc
%files
%license LICENSE.txt
%{_datadir}/canal/{bin,lib,conf,logs}
%{_javadir}
%files javadoc
%doc README.md
%{_datadir}/canal/javadoc
%changelog
* Mon Jul 19 2021 huanghaitao <[email protected]> - 1.1.5-1
- package init
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/hht8/canal.git
[email protected]:hht8/canal.git
hht8
canal
canal
master

搜索帮助