- update to the latest upstream version 2.4 (needed by fop 1.1)
* many bugfixes, features and enhancenments, like * XmlStreamReader support for UTF-32 * requires jdk6 or later * see RELEASE-NOTES.txt for details - target=1.5 - removed a build gcj support - removed a javadoc %post/postun - fixed a wrong end of line encoding - Initial package created with version 1.3.2 (JPackage 1.7) OBS-URL: https://build.opensuse.org/package/show/Java:packages/apache-commons-io?expand=0&rev=1
This commit is contained in:
commit
b17e3b94c8
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.osc
|
23
apache-commons-io.changes
Normal file
23
apache-commons-io.changes
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Oct 25 08:21:33 UTC 2012 - mvyskocil@suse.com
|
||||||
|
|
||||||
|
- update to the latest upstream version 2.4 (needed by fop 1.1)
|
||||||
|
* many bugfixes, features and enhancenments, like
|
||||||
|
* XmlStreamReader support for UTF-32
|
||||||
|
* requires jdk6 or later
|
||||||
|
* see RELEASE-NOTES.txt for details
|
||||||
|
- rename to apache-commons-io to stay compatible with upstream and fedora
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Aug 25 10:26:55 CEST 2008 - mvyskocil@suse.cz
|
||||||
|
|
||||||
|
- target=1.5
|
||||||
|
- removed a build gcj support
|
||||||
|
- removed a javadoc %post/postun
|
||||||
|
- fixed a wrong end of line encoding
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Mar 13 11:37:36 CET 2008 - mvyskocil@suse.cz
|
||||||
|
|
||||||
|
- Initial package created with version 1.3.2 (JPackage 1.7)
|
||||||
|
|
102
apache-commons-io.spec
Normal file
102
apache-commons-io.spec
Normal file
@ -0,0 +1,102 @@
|
|||||||
|
#
|
||||||
|
# spec file for package jakarta-commons-io (Version 1.3.2)
|
||||||
|
#
|
||||||
|
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
|
#
|
||||||
|
# All modifications and additions to the file contributed by third parties
|
||||||
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
|
# upon. The license for this file, and modifications and additions to the
|
||||||
|
# file, is the same license as for the pristine package itself (unless the
|
||||||
|
# license for the pristine package is not an Open Source License, in which
|
||||||
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
%define base_name io
|
||||||
|
%define short_name commons-%{base_name}
|
||||||
|
|
||||||
|
Name: apache-commons-io
|
||||||
|
Version: 2.4
|
||||||
|
Release: 0
|
||||||
|
Group: Development/Libraries/Java
|
||||||
|
Summary: Utilities to assist with developing IO functionality
|
||||||
|
License: Apache-2.0
|
||||||
|
URL: http://commons.apache.org/%{base_name}
|
||||||
|
Source0 http://archive.apache.org/dist/commons/%{base_name}/source/%{short_name}-%{version}-src.tar.gz
|
||||||
|
#PATCH-FIX-OPENSUSE: fix the version property to 2.4
|
||||||
|
Patch0: commons-io-version-property.patch
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
BuildRequires: jpackage-utils >= 1.7.2
|
||||||
|
BuildRequires: ant >= 1.6
|
||||||
|
BuildRequires: java-devel >= 1.6.0
|
||||||
|
BuildRequires: junit4
|
||||||
|
BuildRequires: unzip
|
||||||
|
|
||||||
|
Requires: jpackage-utils >= 1.7.2
|
||||||
|
|
||||||
|
Provides: %{short_name} = %{version}-%{release}
|
||||||
|
Provides: jakarta-%{short_name} = %{version}-%{release}
|
||||||
|
Obsoletes: jakarta-%{short_name} <= %{version}
|
||||||
|
|
||||||
|
%description
|
||||||
|
Commons-IO contains utility classes, stream implementations,
|
||||||
|
file filters, and endian classes. It is a library of utilities
|
||||||
|
to assist with developing IO functionality.
|
||||||
|
|
||||||
|
%package javadoc
|
||||||
|
License: Apache-2.0
|
||||||
|
Summary: Commons IO Package
|
||||||
|
Group: Development/Libraries/Java
|
||||||
|
|
||||||
|
%description javadoc
|
||||||
|
This package contains the API documentation for %{name}.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n %{short_name}-%{version}-src
|
||||||
|
%patch0 -p1
|
||||||
|
# wrong end of line encoding
|
||||||
|
sed -i -e 's/.$//' *.txt
|
||||||
|
|
||||||
|
%build
|
||||||
|
export OPT_JAR_LIST="junit4"
|
||||||
|
export CLASSPATH=
|
||||||
|
CLASSPATH=target/classes:target/test-classes:$CLASSPATH
|
||||||
|
ant -Dbuild.sysclasspath=only dist
|
||||||
|
|
||||||
|
%install
|
||||||
|
# jars
|
||||||
|
install -d -m 0755 %{buildroot}%{_javadir}
|
||||||
|
install -p -m 0644 target/%{short_name}-%{version}.jar \
|
||||||
|
%{buildroot}%{_javadir}/%{name}.jar
|
||||||
|
ln -sf %{name}.jar %{buildroot}%{_javadir}/%{short_name}.jar
|
||||||
|
|
||||||
|
# pom
|
||||||
|
install -d -m 755 %{buildroot}%{_mavenpomdir}
|
||||||
|
install -pm 644 pom.xml %{buildroot}%{_mavenpomdir}/JPP-%{short_name}.pom
|
||||||
|
|
||||||
|
%add_maven_depmap JPP-%{short_name}.pom %{short_name}.jar -a "org.apache.commons:commons-io"
|
||||||
|
|
||||||
|
# javadoc
|
||||||
|
install -d -m 755 %{buildroot}%{_javadocdir}/%{name}
|
||||||
|
cp -pr target/apidocs/* %{buildroot}%{_javadocdir}/%{name}
|
||||||
|
|
||||||
|
%clean
|
||||||
|
rm -rf %{buildroot}
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%doc LICENSE.txt NOTICE.txt RELEASE-NOTES.txt
|
||||||
|
%{_javadir}/*.jar
|
||||||
|
%{_mavenpomdir}/JPP-%{short_name}.pom
|
||||||
|
%{_mavendepmapfragdir}/*
|
||||||
|
|
||||||
|
%files javadoc
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%doc %{_javadocdir}/%{name}
|
||||||
|
|
||||||
|
%changelog
|
3
commons-io-2.4-src.tar.gz
Normal file
3
commons-io-2.4-src.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:961c8b41a891933c2d662d8e490667243ac82422668d1ccdd7bfedfdb944bb58
|
||||||
|
size 330961
|
13
commons-io-version-property.patch
Normal file
13
commons-io-version-property.patch
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
Index: commons-io-2.4-src/build.xml
|
||||||
|
===================================================================
|
||||||
|
--- commons-io-2.4-src.orig/build.xml 2012-06-13 00:18:07.000000000 +0200
|
||||||
|
+++ commons-io-2.4-src/build.xml 2012-10-25 10:19:14.012998318 +0200
|
||||||
|
@@ -55,7 +55,7 @@
|
||||||
|
<property name="component.title" value="Commons IO"/>
|
||||||
|
|
||||||
|
<!-- The current version number of this component -->
|
||||||
|
- <property name="component.version" value="2.2-SNAPSHOT"/>
|
||||||
|
+ <property name="component.version" value="2.4"/>
|
||||||
|
|
||||||
|
<!-- The base directory for component sources -->
|
||||||
|
<property name="source.home" value="src/main/java"/>
|
Loading…
x
Reference in New Issue
Block a user