Sync from SUSE:SLFO:Main oro revision 97deb716160cd381560b7bbc75f3d961
This commit is contained in:
commit
cecf509b40
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
|
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.
6
oro-2.0.8.pom
Normal file
6
oro-2.0.8.pom
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
<project>
|
||||||
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
<groupId>oro</groupId>
|
||||||
|
<artifactId>oro</artifactId>
|
||||||
|
<version>2.0.8</version>
|
||||||
|
</project>
|
66
oro.changes
Normal file
66
oro.changes
Normal file
@ -0,0 +1,66 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Mar 19 12:44:52 UTC 2022 - Fridrich Strba <fstrba@suse.com>
|
||||||
|
|
||||||
|
- Build with source/target levels 8
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Feb 14 08:46:56 UTC 2019 - Fridrich Strba <fstrba@suse.com>
|
||||||
|
|
||||||
|
- Add the maven pom file
|
||||||
|
- Build and distribute the api documentation too
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Sep 10 07:06:34 UTC 2017 - fstrba@suse.com
|
||||||
|
|
||||||
|
- Specify java source and target level 1.6 in order to allow
|
||||||
|
building with jdk9
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jun 9 10:22:50 UTC 2017 - tchvatal@suse.com
|
||||||
|
|
||||||
|
- Drop javadoc so we can bootstrap using gcj
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat May 20 18:16:52 UTC 2017 - tchvatal@suse.com
|
||||||
|
|
||||||
|
- Do not require dead package
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jun 27 12:01:25 UTC 2014 - tchvatal@suse.com
|
||||||
|
|
||||||
|
- Cleanup with spec-cleaner
|
||||||
|
- Add support for SLE11 again.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Mar 30 11:34:33 UTC 2010 - mvyskocil@suse.cz
|
||||||
|
|
||||||
|
- remove source 1.4 from build
|
||||||
|
- provide jakarta-oro symbols and jars to ensure compatibility with
|
||||||
|
jpackage.org
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
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)
|
||||||
|
|
94
oro.spec
Normal file
94
oro.spec
Normal file
@ -0,0 +1,94 @@
|
|||||||
|
#
|
||||||
|
# spec file for package oro
|
||||||
|
#
|
||||||
|
# Copyright (c) 2022 SUSE LLC
|
||||||
|
#
|
||||||
|
# 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 https://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%define full_name jakarta-%{name}
|
||||||
|
Name: oro
|
||||||
|
Version: 2.0.8
|
||||||
|
Release: 0
|
||||||
|
Summary: Full regular expressions API
|
||||||
|
License: Apache-2.0
|
||||||
|
Group: Development/Libraries/Java
|
||||||
|
URL: https://jakarta.apache.org/oro/
|
||||||
|
Source0: https://archive.apache.org/dist/jakarta/oro/%{full_name}-%{version}.tar.gz
|
||||||
|
Source1: https://repo1.maven.org/maven2/%{name}/%{name}/%{version}/%{name}-%{version}.pom
|
||||||
|
BuildRequires: ant
|
||||||
|
BuildRequires: fdupes
|
||||||
|
BuildRequires: java-devel >= 1.8
|
||||||
|
BuildRequires: javapackages-local
|
||||||
|
BuildRequires: xml-commons-apis
|
||||||
|
Provides: %{full_name} = %{version}-%{release}
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
%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
|
||||||
|
Summary: Javadoc for %{name}
|
||||||
|
Group: Development/Libraries/Java
|
||||||
|
|
||||||
|
%description javadoc
|
||||||
|
Javadoc for %{name}.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n %{full_name}-%{version}
|
||||||
|
# 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
|
||||||
|
|
||||||
|
perl -pi -e 's#\@version\@#VERSION#g' $(grep -rl \@version\@ . |xargs)
|
||||||
|
|
||||||
|
%build
|
||||||
|
%ant \
|
||||||
|
-Dant.build.javac.source=1.8 -Dant.build.javac.target=1.8 \
|
||||||
|
-Dfinal.name=%{name} jar javadocs
|
||||||
|
|
||||||
|
%install
|
||||||
|
# jar
|
||||||
|
install -dm 0755 %{buildroot}%{_javadir}
|
||||||
|
install -pm 0644 %{name}.jar %{buildroot}%{_javadir}/
|
||||||
|
ln -sf %{name}.jar %{buildroot}%{_javadir}/%{full_name}.jar
|
||||||
|
# pom
|
||||||
|
install -dm 0755 %{buildroot}%{_mavenpomdir}
|
||||||
|
install -pm 0644 %{SOURCE1} %{buildroot}%{_mavenpomdir}/%{name}.pom
|
||||||
|
%add_maven_depmap %{name}.pom %{name}.jar
|
||||||
|
# javadoc
|
||||||
|
install -dm 0755 %{buildroot}%{_javadocdir}/%{name}
|
||||||
|
cp -pr docs/api/* %{buildroot}%{_javadocdir}/%{name}/
|
||||||
|
%fdupes %{buildroot}%{_javadocdir}
|
||||||
|
|
||||||
|
%files -f .mfiles
|
||||||
|
%doc COMPILE ISSUES README TODO CHANGES CONTRIBUTORS STYLE
|
||||||
|
%license LICENSE
|
||||||
|
%{_javadir}/%{full_name}.jar
|
||||||
|
|
||||||
|
%files javadoc
|
||||||
|
%license LICENSE
|
||||||
|
%{_javadocdir}/%{name}
|
||||||
|
|
||||||
|
%changelog
|
Loading…
Reference in New Issue
Block a user