fc70672
Name:           apache-commons-csv
019ec34
Version:        1.4
dbb4bb5
Release:        2%{?dist}
fc70672
Summary:        Utilities to assist with handling of CSV files
fc70672
License:        ASL 2.0
fc70672
URL:            https://commons.apache.org/proper/commons-csv/
fc70672
BuildArch:      noarch
fc70672
fc70672
Source0:        http://www.apache.org/dist/commons/csv/source/commons-csv-%{version}-src.tar.gz
fc70672
fc70672
BuildRequires:  maven-local
fc70672
BuildRequires:  mvn(commons-io:commons-io)
fc70672
BuildRequires:  mvn(junit:junit)
019ec34
BuildRequires:  mvn(org.apache.commons:commons-lang3)
fc70672
BuildRequires:  mvn(org.apache.commons:commons-parent:pom:)
019ec34
BuildRequires:  mvn(org.apache.maven.plugins:maven-antrun-plugin)
Stanislav Ochotnicky b62ae61
Stanislav Ochotnicky b62ae61
%description
Stanislav Ochotnicky b62ae61
Commons CSV was started to unify a common and simple interface for
Stanislav Ochotnicky b62ae61
reading and writing CSV files under an ASL license.
Stanislav Ochotnicky b62ae61
Stanislav Ochotnicky b62ae61
%package javadoc
Stanislav Ochotnicky b62ae61
Summary:          API documentation for %{name}
Stanislav Ochotnicky b62ae61
Stanislav Ochotnicky b62ae61
%description javadoc
Stanislav Ochotnicky b62ae61
This package contains the API documentation for %{name}.
Stanislav Ochotnicky b62ae61
Stanislav Ochotnicky b62ae61
%prep
fc70672
%setup -q -n commons-csv-%{version}-src
Stanislav Ochotnicky b62ae61
sed -i 's/\r//' *.txt
fc70672
find -name profile.jacoco -delete
Stanislav Ochotnicky b62ae61
bcb9c6d
# Unwanted plugins
bcb9c6d
%pom_remove_plugin :maven-assembly-plugin
fc70672
%pom_remove_plugin :apache-rat-plugin
fc70672
%pom_remove_plugin :maven-checkstyle-plugin
bcb9c6d
dbb4bb5
# unwanted dependency
dbb4bb5
%pom_remove_dep :h2
dbb4bb5
rm src/test/java/org/apache/commons/csv/CSVPrinterTest.java
dbb4bb5
fc70672
%mvn_file ":{*}" %{name} @1
fc70672
%mvn_alias : commons-csv:
bcb9c6d
bcb9c6d
%build
ff5bdf3
%mvn_build
Stanislav Ochotnicky b62ae61
Stanislav Ochotnicky b62ae61
%install
ff5bdf3
%mvn_install
Stanislav Ochotnicky b62ae61
ff5bdf3
%files -f .mfiles
bcb9c6d
%doc RELEASE-NOTES.txt
bcb9c6d
%license LICENSE.txt NOTICE.txt
Stanislav Ochotnicky b62ae61
ff5bdf3
%files javadoc -f .mfiles-javadoc
bcb9c6d
%license LICENSE.txt NOTICE.txt
Stanislav Ochotnicky b62ae61
Stanislav Ochotnicky b62ae61
%changelog
dbb4bb5
* Mon Feb 06 2017 Michael Simacek <msimacek@redhat.com> - 1.4-2
dbb4bb5
- Remove build dep on h2
dbb4bb5
019ec34
* Thu Jun 23 2016 Michael Simacek <msimacek@redhat.com> - 1.4-1
019ec34
- Update to upstream version 1.4
019ec34
3ea636c
* Mon Feb 15 2016 Michael Simacek <msimacek@redhat.com> - 1.2-1
3ea636c
- Update to upstream version 1.2
3ea636c
7f7b289
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-3
7f7b289
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
7f7b289
5f71cd6
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-2
5f71cd6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
5f71cd6
bcb9c6d
* Sat Apr 11 2015 gil cattaneo <puntogil@libero.it> 1.1-1
bcb9c6d
- update to 1.1
bcb9c6d
- adapt to current guideline
bcb9c6d
- introduce license macro
bcb9c6d
- fix Url and Source0 field
bcb9c6d
bc143c8
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-0.11.svn1071189
bc143c8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
bc143c8
e4b36fc
* Mon May 26 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.0-0.10.svn1071189
e4b36fc
- Migrate BuildRequires from junit4 to junit
e4b36fc
4722c3f
* Mon May 26 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.0-0.9.svn1071189
4722c3f
- Remove BuildRequires on maven-surefire-provider-junit4
4722c3f
Stanislav Ochotnicky cb39bc1
* Tue Mar 04 2014 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.0-0.8.svn1071189
Stanislav Ochotnicky cb39bc1
- Use Requires: java-headless rebuild (#1067528)
Stanislav Ochotnicky cb39bc1
c1e1657
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-0.7.svn1071189
c1e1657
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
c1e1657
1161c70
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-0.6.svn1071189
1161c70
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
1161c70
Stanislav Ochotnicky 2641ee3
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 1.0-0.5.svn1071189
Stanislav Ochotnicky 2641ee3
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
Stanislav Ochotnicky 2641ee3
- Replace maven BuildRequires with maven-local
Stanislav Ochotnicky 2641ee3
ff5bdf3
* Tue Jan 15 2013 Michal Srb <msrb@redhat.com> - 1.0-0.4.svn1071189
ff5bdf3
- Build with xmvn
ff5bdf3
- Spec file cleanup
ff5bdf3
1d23a9b
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-0.3.svn1071189
1d23a9b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
1d23a9b
9c56734
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-0.2.svn1071189
9c56734
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
9c56734
Stanislav Ochotnicky b62ae61
* Thu Feb 17 2011 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.0-0.1.svn1071189
Stanislav Ochotnicky b62ae61
- Initial version of the package
Stanislav Ochotnicky b62ae61