Sync from SUSE:SLFO:Main regexp revision d557e523025d5a329ee438562c645477

This commit is contained in:
Adrian Schröter 2024-05-04 00:03:25 +02:00
commit 684a08a182
5 changed files with 192 additions and 0 deletions

23
.gitattributes vendored Normal file
View 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-regexp-1.5.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

6
regexp-1.5.pom Normal file
View File

@ -0,0 +1,6 @@
<project>
<modelVersion>4.0.0</modelVersion>
<groupId>regexp</groupId>
<artifactId>regexp</artifactId>
<version>1.5</version>
</project>

81
regexp.changes Normal file
View File

@ -0,0 +1,81 @@
-------------------------------------------------------------------
Fri Mar 18 16:43:40 UTC 2022 - Fridrich Strba <fstrba@suse.com>
- Build with source/target levels 8
-------------------------------------------------------------------
Thu Nov 15 10:23:30 UTC 2018 - Fridrich Strba <fstrba@suse.com>
- Add jakarta-regexp:jakarta-regexp alias to the maven artifact
-------------------------------------------------------------------
Tue Oct 3 10:48:19 UTC 2017 - fstrba@suse.com
- Don't depend on java-gcj-compat, since it is bound to go
- Specify java source and target level 1.6
-------------------------------------------------------------------
Fri May 19 11:22:28 UTC 2017 - dziolkowski@suse.com
- New build dependency: javapackages-local
- spec cleaned using spec-cleaner
-------------------------------------------------------------------
Wed Mar 18 09:46:19 UTC 2015 - tchvatal@suse.com
- Fix build with new javapackages-tools
-------------------------------------------------------------------
Mon Sep 9 11:06:18 UTC 2013 - tchvatal@suse.com
- Move from jpackage-utils to javapackage-tools
-------------------------------------------------------------------
Fri Aug 23 11:13:04 UTC 2013 - mvyskocil@suse.com
- disable javadoc build
-------------------------------------------------------------------
Mon Nov 8 09:57:25 UTC 2010 - mvyskocil@suse.cz
- merge with regexp-1.5-1.jpp5.src.rpm
- update to 1.5 bugfix and optimization release
http://jakarta.apache.org/regexp/changes.html
- ignore also jaxp-1.3-apis
-------------------------------------------------------------------
Sun Jul 27 13:32:47 CEST 2008 - coolo@suse.de
- build with gcj to avoid bootstrapping problems with openjdk
-------------------------------------------------------------------
Wed Sep 27 15:30:34 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:40 CET 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
-------------------------------------------------------------------
Fri Jul 29 10:09:48 CEST 2005 - jsmeix@suse.de
- Adjustments in the spec file.
-------------------------------------------------------------------
Mon Jul 18 17:04:57 CEST 2005 - jsmeix@suse.de
- Current version 1.3 from JPackage.org
-------------------------------------------------------------------
Thu Sep 16 15:25:56 CEST 2004 - skh@suse.de
- Fix prerequires of javadoc subpackage
-------------------------------------------------------------------
Thu Sep 2 16:19:53 CEST 2004 - skh@suse.de
- Initial package created with version 1.3 (JPackage 1.5)

79
regexp.spec Normal file
View File

@ -0,0 +1,79 @@
#
# spec file for package regexp
#
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2000-2008, JPackage Project
#
# 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}
%define section free
Name: regexp
Version: 1.5
Release: 0
Summary: Simple regular expressions API
License: Apache-2.0
Group: Development/Libraries/Java
URL: http://jakarta.apache.org/%{name}/
Source0: http://www.apache.org/dist/jakarta/regexp/jakarta-regexp-%{version}.tar.gz
Source1: regexp-%{version}.pom
BuildRequires: ant
BuildRequires: ant >= 1.6
BuildRequires: java-devel
BuildRequires: javapackages-local
BuildRequires: javapackages-tools
BuildRequires: xml-commons-apis-bootstrap
BuildRoot: %{_tmppath}/%{name}-%{version}-build
#!BuildIgnore: xml-commons-apis xml-commons-resolver xml-commons xerces-j2
#!BuildIgnore: xml-commons-jaxp-1.3-apis
BuildArch: noarch
%description
Regexp is a 100% Pure Java Regular Expression package that was
graciously donated to the Apache Software Foundation by Jonathan Locke.
He originally wrote this software back in 1996 and it has stood up
quite well to the test of time. It includes complete Javadoc
documentation as well as a simple Applet for visual debugging and
testing suite for compatibility.
%prep
%setup -q -n %{full_name}-%{version}
# remove all binary libs
find . -type f -name "*.jar" | xargs -t rm
%build
export OPT_JAR_LIST=:
export CLASSPATH=
mkdir lib
ant -Djakarta-site2.dir=. -Dant.build.javac.source=1.8 -Dant.build.javac.target=1.8 jar
%install
# jars
install -d -m 755 %{buildroot}%{_javadir}
install -m 644 build/*.jar %{buildroot}%{_javadir}/%{name}-%{version}.jar
(cd %{buildroot}%{_javadir} && for jar in *-%{version}*; do ln -sf ${jar} `echo $jar| sed "s|-%{version}||g"`; done)
[ -d docs/api ] && rm -rf docs/api
# pom
mkdir -p %{buildroot}%{_mavenpomdir}
install -p -m 0644 %{SOURCE1} %{buildroot}%{_mavenpomdir}/JPP-%{name}.pom
%add_maven_depmap JPP-%{name}.pom %{name}.jar -a %{full_name}:%{full_name}
%files
%defattr(0644,root,root,0755)
%doc LICENSE
%{_javadir}/*.jar
%{_mavenpomdir}/*
%{_datadir}/maven-metadata/%{name}.xml*
%changelog