Compare commits

...

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
d9f3e8023f
!7 Update to version 1.10.0
From: @chen-jan 
Reviewed-by: @caodongxia 
Signed-off-by: @caodongxia
2023-05-11 00:59:37 +00:00
chen-jan
cec15858f5 Update to version 1.10.0 2023-05-10 17:51:05 +08:00
openeuler-ci-bot
c162fef4e5
!5 upgrade to version 1.9.0
From: @wang--ge 
Reviewed-by: @zhuchunyi 
Signed-off-by: @zhuchunyi
2022-06-16 07:10:01 +00:00
wang--ge
bcc1b786f0 upgrade to version 1.9.0 2022-06-15 17:15:06 +08:00
openeuler-ci-bot
e01ac43f9d
!4 [sync] PR-3: openEuler-22.03-LTS-Next Packages upgrade
From: @openeuler-sync-bot 
Reviewed-by: @small_leek 
Signed-off-by: @small_leek
2022-04-20 01:11:24 +00:00
cherry530
3114a951cc remove unuse files
(cherry picked from commit 3946f3368fbdadd5d8086dcf68f2e95248993ab6)
2022-04-12 17:06:49 +08:00
openeuler-ci-bot
a6ec00f353 !2 Modify source0
From: @baizg1107
Reviewed-by: @yanzh_h
Signed-off-by: @yanzh_h
2020-09-15 14:53:24 +08:00
baizg1107
8541339e3f Modify source0 2020-09-14 10:28:13 +08:00
openeuler-ci-bot
0cd9a4383b !1 package init
Merge pull request !1 from small_leek/master
2020-08-18 20:26:45 +08:00
small_leek
b645fded2c package init 2020-07-31 15:41:24 +08:00
5 changed files with 142 additions and 0 deletions

View File

@ -0,0 +1,37 @@
From 56e8b640dbf2642dda8c49c2c1760ca7478b4e71 Mon Sep 17 00:00:00 2001
From: wang--ge <wang__ge@126.com>
Date: Wed, 15 Jun 2022 15:39:58 +0800
Subject: [PATCH] add javadoc plugin
---
pom.xml | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/pom.xml b/pom.xml
index fd2d55d..fa432b8 100644
--- a/pom.xml
+++ b/pom.xml
@@ -316,6 +316,20 @@
<artifactId>apache-rat-plugin</artifactId>
</plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-javadoc-plugin</artifactId>
+ <version>3.0.0-M1</version>
+ <executions>
+ <execution>
+ <id>attach-javadocs</id>
+ <goals>
+ <goal>jar</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+
</plugins>
</build>
--
2.27.0

74
apache-commons-csv.spec Normal file
View File

@ -0,0 +1,74 @@
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

5
apache-commons-csv.yaml Normal file
View File

@ -0,0 +1,5 @@
git_url: https://github.com/apache/commons-csv.git
version_control: github
src_repo: apache/commons-csv
tag_prefix: "commons-csv-"
seperator: "."

Binary file not shown.

26
xmvn-reactor Normal file
View File

@ -0,0 +1,26 @@
<?xml version="1.0" encoding="UTF-8"?>
<metadata xmlns="http://fedorahosted.org/xmvn/METADATA/3.0.0">
<artifacts>
<artifact>
<groupId>org.apache.commons</groupId>
<artifactId>commons-csv</artifactId>
<version>1.10.0</version>
<path>absolute-prefix/target/commons-csv-1.10.0.jar</path>
<properties>
<type>jar</type>
<requiresJava>1.8</requiresJava>
</properties>
</artifact>
<artifact>
<groupId>org.apache.commons</groupId>
<artifactId>commons-csv</artifactId>
<extension>pom</extension>
<version>1.10.0</version>
<path>absolute-prefix/pom.xml</path>
<properties>
<type>jar</type>
<requiresJava>1.8</requiresJava>
</properties>
</artifact>
</artifacts>
</metadata>