This commit is contained in:
commit
a679aa4b5e
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
|
3
jakarta-regexp-1.3.tar.gz
Normal file
3
jakarta-regexp-1.3.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:4cff646b26b258897bf0bafe64dfb6d1422611ecbfaf4787a78f2e042be1366e
|
||||||
|
size 127069
|
14
regexp-java14compat.patch
Normal file
14
regexp-java14compat.patch
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
diff -Naur ../jakarta-regexp-1.3.orig/build.xml ./build.xml
|
||||||
|
--- ../jakarta-regexp-1.3.orig/build.xml 2003-09-02 20:56:46.000000000 +0200
|
||||||
|
+++ ./build.xml 2006-09-27 15:26:20.000000000 +0200
|
||||||
|
@@ -89,7 +89,9 @@
|
||||||
|
excludes="**/package.html"
|
||||||
|
debug="${debug}"
|
||||||
|
deprecation="${deprecation}"
|
||||||
|
- optimize="${optimize}"/>
|
||||||
|
+ optimize="${optimize}"
|
||||||
|
+ source="1.4"
|
||||||
|
+ target="1.4" />
|
||||||
|
</target>
|
||||||
|
|
||||||
|
<!-- =================================================================== -->
|
31
regexp.changes
Normal file
31
regexp.changes
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
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)
|
||||||
|
|
113
regexp.spec
Normal file
113
regexp.spec
Normal file
@ -0,0 +1,113 @@
|
|||||||
|
#
|
||||||
|
# spec file for package regexp (Version 1.3)
|
||||||
|
#
|
||||||
|
# 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: regexp
|
||||||
|
BuildRequires: ant java2-devel-packages xml-commons-apis
|
||||||
|
%define name regexp
|
||||||
|
%define full_name jakarta-%{name}
|
||||||
|
%define version 1.3
|
||||||
|
%define release 2jpp
|
||||||
|
%define section free
|
||||||
|
Version: 1.3
|
||||||
|
Release: 25
|
||||||
|
Summary: Simple regular expressions API
|
||||||
|
License: Apache
|
||||||
|
Group: Development/Libraries/Java
|
||||||
|
URL: http://jakarta.apache.org/regexp/
|
||||||
|
Source0: http://www.apache.org/dist/jakarta/regexp/jakarta-regexp-%{version}.tar.gz
|
||||||
|
Patch: %{name}-java14compat.patch
|
||||||
|
Buildarch: noarch
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
|
%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.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
%package javadoc
|
||||||
|
PreReq: coreutils
|
||||||
|
Group: Development/Libraries/Java
|
||||||
|
Summary: Javadoc for regexp
|
||||||
|
|
||||||
|
%description javadoc
|
||||||
|
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.
|
||||||
|
|
||||||
|
This package contains the javadoc documentation for regexp.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -n %{full_name}-%{version}
|
||||||
|
%patch
|
||||||
|
# remove all binary libs
|
||||||
|
find . -name "*.jar" -exec rm -f {} \;
|
||||||
|
|
||||||
|
%build
|
||||||
|
mkdir lib
|
||||||
|
ant -Djakarta-site2.dir=. jar javadocs
|
||||||
|
|
||||||
|
%install
|
||||||
|
# jars
|
||||||
|
install -d -m 755 $RPM_BUILD_ROOT%{_javadir}
|
||||||
|
install -m 644 build/*.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 -r docs/api/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}
|
||||||
|
rm -rf docs/api
|
||||||
|
|
||||||
|
%clean
|
||||||
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
%post javadoc
|
||||||
|
rm -f %{_javadocdir}/%{name}
|
||||||
|
ln -s %{name}-%{version} %{_javadocdir}/%{name}
|
||||||
|
|
||||||
|
%postun javadoc
|
||||||
|
if [ "$1" = "0" ]; then
|
||||||
|
rm -f %{_javadocdir}/%{name}
|
||||||
|
fi
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(0644,root,root,0755)
|
||||||
|
%doc LICENSE.txt
|
||||||
|
%{_javadir}/*.jar
|
||||||
|
|
||||||
|
%files javadoc
|
||||||
|
%defattr(0644,root,root,0755)
|
||||||
|
%{_javadocdir}/%{name}-%{version}
|
||||||
|
|
||||||
|
%changelog -n regexp
|
||||||
|
* Wed Sep 27 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
|
||||||
|
* Fri Jul 29 2005 - jsmeix@suse.de
|
||||||
|
- Adjustments in the spec file.
|
||||||
|
* Mon Jul 18 2005 - jsmeix@suse.de
|
||||||
|
- Current version 1.3 from JPackage.org
|
||||||
|
* Thu Sep 16 2004 - skh@suse.de
|
||||||
|
- Fix prerequires of javadoc subpackage
|
||||||
|
* Thu Sep 02 2004 - skh@suse.de
|
||||||
|
- Initial package created with version 1.3 (JPackage 1.5)
|
Loading…
Reference in New Issue
Block a user