This commit is contained in:
commit
701cf9b184
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
|
BIN
jakarta-oro-2.0.8.tar.gz
(Stored with Git LFS)
Normal file
BIN
jakarta-oro-2.0.8.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
47
oro-java14compat.patch
Normal file
47
oro-java14compat.patch
Normal file
@ -0,0 +1,47 @@
|
||||
diff -Naur ../jakarta-oro-2.0.8.orig/build.xml ./build.xml
|
||||
--- ../jakarta-oro-2.0.8.orig/build.xml 2003-12-29 05:00:30.000000000 +0100
|
||||
+++ ./build.xml 2006-09-26 11:58:03.000000000 +0200
|
||||
@@ -81,7 +81,9 @@
|
||||
excludes="examples/**,tools/**"
|
||||
debug="${debug}"
|
||||
deprecation="${deprecation}"
|
||||
- optimize="${optimize}"/>
|
||||
+ optimize="${optimize}"
|
||||
+ source="1.4"
|
||||
+ target="1.4" />
|
||||
</target>
|
||||
|
||||
<!-- examples target. Compiles the example classes. -->
|
||||
@@ -93,7 +95,9 @@
|
||||
includes="examples/**"
|
||||
debug="${debug}"
|
||||
deprecation="${deprecation}"
|
||||
- optimize="${optimize}"/>
|
||||
+ optimize="${optimize}"
|
||||
+ source="1.4"
|
||||
+ target="1.4"/>
|
||||
</target>
|
||||
|
||||
<!-- tools target. Compiles the tool classes. -->
|
||||
@@ -105,7 +109,9 @@
|
||||
includes="tools/**"
|
||||
debug="${debug}"
|
||||
deprecation="${deprecation}"
|
||||
- optimize="${optimize}"/>
|
||||
+ optimize="${optimize}"
|
||||
+ source="1.4"
|
||||
+ target="1.4"/>
|
||||
</target>
|
||||
|
||||
<!-- tests target. Compiles and runs the unit tests. -->
|
||||
@@ -116,7 +122,9 @@
|
||||
destdir="${build.tests}"
|
||||
debug="${debug}"
|
||||
deprecation="${deprecation}"
|
||||
- optimize="${optimize}"/>
|
||||
+ optimize="${optimize}"
|
||||
+ source="1.4"
|
||||
+ target="1.4"/>
|
||||
</target>
|
||||
|
||||
<!-- jar target. Compiles the source directory and creates a .jar file -->
|
26
oro.changes
Normal file
26
oro.changes
Normal file
@ -0,0 +1,26 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 26 12:17:45 CEST 2006 - skh@suse.de
|
||||
|
||||
- don't use icecream
|
||||
- use source="1.4" and target="1.4" for build with java 1.5
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 25 21:47:21 CET 2006 - mls@suse.de
|
||||
|
||||
- converted neededforbuild to BuildRequires
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jul 28 17:39:08 CEST 2005 - jsmeix@suse.de
|
||||
|
||||
- Adjustments in the spec file.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 18 16:59:12 CEST 2005 - jsmeix@suse.de
|
||||
|
||||
- Current version 2.0.8 from JPackage.org
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 2 16:45:58 CEST 2004 - skh@suse.de
|
||||
|
||||
- Initial package created with version 2.08 (JPackage 1.5)
|
||||
|
110
oro.spec
Normal file
110
oro.spec
Normal file
@ -0,0 +1,110 @@
|
||||
#
|
||||
# spec file for package oro (Version 2.0.8)
|
||||
#
|
||||
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# This file and all modifications and additions to the pristine
|
||||
# package are under the same license as the package itself.
|
||||
#
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
# norootforbuild
|
||||
# icecream 0
|
||||
|
||||
Name: oro
|
||||
BuildRequires: ant java2-devel-packages xml-commons-apis
|
||||
%define name oro
|
||||
%define full_name jakarta-%{name}
|
||||
%define version 2.0.8
|
||||
%define release 2jpp
|
||||
%define section free
|
||||
Version: 2.0.8
|
||||
Release: 24
|
||||
Summary: Full regular expressions API
|
||||
License: Apache
|
||||
Group: Development/Libraries/Java
|
||||
Source0: %{full_name}-%{version}.tar.gz
|
||||
Patch: %{name}-java14compat.patch
|
||||
URL: http://jakarta.apache.org/oro/
|
||||
Buildarch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
The Jakarta-ORO Java classes are a set of text-processing Java classes
|
||||
that provide Perl5 compatible regular expressions, AWK-like regular
|
||||
expressions, glob expressions, and utility classes for performing
|
||||
substitutions, splits, filtering filenames, etc. This library is the
|
||||
successor to the OROMatcher, AwkTools, PerlTools, and TextTools
|
||||
libraries from ORO, Inc. (www.oroinc.com). They have been donated to
|
||||
the Jakarta Project by Daniel Savarese (www.savarese.org), the
|
||||
copyright holder of the ORO libraries. Daniel will continue to
|
||||
participate in their development under the Jakarta Project.
|
||||
|
||||
|
||||
|
||||
%package javadoc
|
||||
PreReq: coreutils
|
||||
Group: Development/Libraries/Java
|
||||
Summary: Javadoc for oro
|
||||
|
||||
%description javadoc
|
||||
The Jakarta-ORO Java classes are a set of text-processing Java classes
|
||||
that provide Perl5 compatible regular expressions, AWK-like regular
|
||||
expressions, glob expressions, and utility classes for performing
|
||||
substitutions, splits, filtering filenames, etc. This library is the
|
||||
successor to the OROMatcher, AwkTools, PerlTools, and TextTools
|
||||
libraries from ORO, Inc. (www.oroinc.com). They have been donated to
|
||||
the Jakarta Project by Daniel Savarese (www.savarese.org), the
|
||||
copyright holder of the ORO libraries. Daniel will continue to
|
||||
participate in their development under the Jakarta Project.
|
||||
|
||||
This package contains the javadoc documentation for ORO.
|
||||
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n %{full_name}-%{version}
|
||||
%patch
|
||||
# remove all binary libs
|
||||
find . -name "*.jar" -exec rm -f {} \;
|
||||
# remove all CVS files
|
||||
for dir in `find . -type d -name CVS`; do rm -rf $dir; done
|
||||
for file in `find . -type f -name .cvsignore`; do rm -rf $file; done
|
||||
|
||||
%build
|
||||
ant -Dfinal.name=%{name} jar javadocs
|
||||
|
||||
%install
|
||||
#jars
|
||||
install -d -m 755 $RPM_BUILD_ROOT%{_javadir}
|
||||
install -m 644 %{name}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}-%{version}.jar
|
||||
(cd $RPM_BUILD_ROOT%{_javadir} && for jar in *-%{version}*; do ln -sf ${jar} `echo $jar| sed "s|-%{version}||g"`; done)
|
||||
#javadoc
|
||||
install -d -m 755 $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}
|
||||
cp -pr docs/api/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}
|
||||
rm -rf docs/api
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc COMPILE ISSUES README TODO CHANGES CONTRIBUTORS LICENSE STYLE
|
||||
%{_javadir}/*.jar
|
||||
|
||||
%files javadoc
|
||||
%defattr(-,root,root)
|
||||
%{_javadocdir}/%{name}-%{version}
|
||||
|
||||
%changelog -n oro
|
||||
* Tue Sep 26 2006 - skh@suse.de
|
||||
- don't use icecream
|
||||
- use source="1.4" and target="1.4" for build with java 1.5
|
||||
* Wed Jan 25 2006 - mls@suse.de
|
||||
- converted neededforbuild to BuildRequires
|
||||
* Thu Jul 28 2005 - jsmeix@suse.de
|
||||
- Adjustments in the spec file.
|
||||
* Mon Jul 18 2005 - jsmeix@suse.de
|
||||
- Current version 2.0.8 from JPackage.org
|
||||
* Thu Sep 02 2004 - skh@suse.de
|
||||
- Initial package created with version 2.08 (JPackage 1.5)
|
Loading…
Reference in New Issue
Block a user