7 Star 0 Fork 16

src-openEuler/apache-commons-csv

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
apache-commons-csv.spec 2.22 KB
一键复制 编辑 原始数据 按行查看 历史
chen-jan 提交于 2年前 . Update to version 1.10.0
Name: apache-commons-csv
Version: 1.10.0
Release: 1
Summary: Utilities to assist with handling of CSV files
License: Apache-2.0
URL: https://commons.apache.org/proper/commons-csv/
BuildArch: noarch
Source0: http://archive.apache.org/dist/commons/csv/source/commons-csv-%{version}-src.tar.gz
Source1: xmvn-reactor
Patch1: 0001-add-javadoc-plugin.patch
BuildRequires: maven-local
BuildRequires: java-1.8.0-openjdk-devel maven
%description
Commons CSV was started to unify a common and simple interface for
reading and writing CSV files under an ASL license.
%package javadoc
Summary: API documentation for %{name}
%description javadoc
This package contains the API documentation for %{name}.
%prep
%setup -q -n commons-csv-%{version}-src
%patch1 -p1
sed -i 's/\r//' *.txt
find -name profile.jacoco -delete
%pom_remove_plugin :maven-assembly-plugin
%pom_remove_plugin :apache-rat-plugin
%pom_remove_plugin :maven-checkstyle-plugin
%pom_remove_dep :h2
rm src/test/java/org/apache/commons/csv/CSVPrinterTest.java
%mvn_file ":{*}" %{name} @1
%mvn_alias : commons-csv:
cp %{SOURCE1} ./.xmvn-reactor
echo `pwd` > absolute_prefix.log
sed -i 's/\//\\\//g' absolute_prefix.log
absolute_prefix=`head -n 1 absolute_prefix.log`
sed -i 's/absolute-prefix/'"$absolute_prefix"'/g' .xmvn-reactor
%build
export LC_ALL=en_US.UTF-8
mvn package -DskipTests -Dtar -Drat.skip=true
%install
%mvn_install
install -d -m 0755 %{buildroot}/%{_javadocdir}/%{name}
install -m 0755 target/commons-csv-%{version}-javadoc.jar %{buildroot}/%{_javadocdir}/%{name}
%files -f .mfiles
%doc RELEASE-NOTES.txt
%license LICENSE.txt NOTICE.txt
%files javadoc
%{_javadocdir}/%{name}
%license LICENSE.txt NOTICE.txt
%changelog
* Wed May 10 2023 chenchen <chen_aka_jan@163.com> - 1.10.0-1
- Update to version 1.10.0
* Mon Jun 13 2022 Ge Wang <wangge20@h-partners.com> - 1.9.0-1
- Upgrade to version 1.9.0
* Tue Jan 18 2022 SimpleUpdate Robot <tc@openeuler.org> - 1.7-1
- Upgrade to version 1.7
* Mon Sep 14 2020 baizhonggui <baizhonggui@huawei.com> - 1.5-2
- Modify source0
* Sat Jul 25 2020 chengzihan <chengzihan2@huawei.com> - 1.5-1
- Package init
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/apache-commons-csv.git
git@gitee.com:src-openeuler/apache-commons-csv.git
src-openeuler
apache-commons-csv
apache-commons-csv
openEuler-24.03-LTS

搜索帮助