From 701cf9b1849ebd9724d1a51dd5710e26c04e497847237f87327f122acf267824 Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Mon, 15 Jan 2007 23:28:48 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/oro?expand=0&rev=1 --- .gitattributes | 23 ++++++++ .gitignore | 1 + jakarta-oro-2.0.8.tar.gz | 3 ++ oro-java14compat.patch | 47 +++++++++++++++++ oro.changes | 26 +++++++++ oro.spec | 110 +++++++++++++++++++++++++++++++++++++++ ready | 0 7 files changed, 210 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 jakarta-oro-2.0.8.tar.gz create mode 100644 oro-java14compat.patch create mode 100644 oro.changes create mode 100644 oro.spec create mode 100644 ready diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/jakarta-oro-2.0.8.tar.gz b/jakarta-oro-2.0.8.tar.gz new file mode 100644 index 0000000..856f014 --- /dev/null +++ b/jakarta-oro-2.0.8.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4c4f3c7c479994c3ce09f542d4fbdc03eed58a2d7f320d32f2baf238b5b6f566 +size 345304 diff --git a/oro-java14compat.patch b/oro-java14compat.patch new file mode 100644 index 0000000..614013d --- /dev/null +++ b/oro-java14compat.patch @@ -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" /> + + + +@@ -93,7 +95,9 @@ + includes="examples/**" + debug="${debug}" + deprecation="${deprecation}" +- optimize="${optimize}"/> ++ optimize="${optimize}" ++ source="1.4" ++ target="1.4"/> + + + +@@ -105,7 +109,9 @@ + includes="tools/**" + debug="${debug}" + deprecation="${deprecation}" +- optimize="${optimize}"/> ++ optimize="${optimize}" ++ source="1.4" ++ target="1.4"/> + + + +@@ -116,7 +122,9 @@ + destdir="${build.tests}" + debug="${debug}" + deprecation="${deprecation}" +- optimize="${optimize}"/> ++ optimize="${optimize}" ++ source="1.4" ++ target="1.4"/> + + + diff --git a/oro.changes b/oro.changes new file mode 100644 index 0000000..0006334 --- /dev/null +++ b/oro.changes @@ -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) + diff --git a/oro.spec b/oro.spec new file mode 100644 index 0000000..ddc93d2 --- /dev/null +++ b/oro.spec @@ -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) diff --git a/ready b/ready new file mode 100644 index 0000000..473a0f4