From 07bddd8678cfd0facfe73a1a37aed04289bebfc5 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Nov 02 2019 22:14:11 +0000 Subject: import regexp-1.5-13.el7 --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..6949b63 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/jakarta-regexp-1.5.tar.gz diff --git a/.regexp.metadata b/.regexp.metadata new file mode 100644 index 0000000..937c44e --- /dev/null +++ b/.regexp.metadata @@ -0,0 +1 @@ +a8c98ac37e2a34dd39fca1e9d4d632944ea930e1 SOURCES/jakarta-regexp-1.5.tar.gz diff --git a/SOURCES/jakarta-regexp-1.4.pom b/SOURCES/jakarta-regexp-1.4.pom new file mode 100644 index 0000000..9d9f2b9 --- /dev/null +++ b/SOURCES/jakarta-regexp-1.4.pom @@ -0,0 +1,6 @@ + + 4.0.0 + jakarta-regexp + jakarta-regexp + 1.4 + \ No newline at end of file diff --git a/SPECS/regexp.spec b/SPECS/regexp.spec new file mode 100644 index 0000000..26b176d --- /dev/null +++ b/SPECS/regexp.spec @@ -0,0 +1,292 @@ +# Copyright (c) 2000-2005, JPackage Project +# All rights reserved. +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions +# are met: +# +# 1. Redistributions of source code must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# 2. Redistributions in binary form must reproduce the above copyright +# notice, this list of conditions and the following disclaimer in the +# documentation and/or other materials provided with the +# distribution. +# 3. Neither the name of the JPackage Project nor the names of its +# contributors may be used to endorse or promote products derived +# from this software without specific prior written permission. +# +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# + +%global full_name jakarta-%{name} + +Name: regexp +Version: 1.5 +Release: 13%{dist} +Epoch: 0 +Summary: Simple regular expressions API +License: ASL 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: http://repo.maven.apache.org/maven2/%{full_name}/%{full_name}/1.4/%{full_name}-1.4.pom +BuildRequires: jpackage-utils >= 0:1.6 +Requires: java + +BuildRequires: ant >= 1.6 +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. + +%package javadoc +Group: Development/Java +Summary: Javadoc for %{name} + +%description javadoc +Javadoc for %{name}. + +%prep +%setup -q -n %{full_name}-%{version} +# 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 %{buildroot}%{_javadir} +install -m 644 build/*.jar %{buildroot}%{_javadir}/%{name}.jar + +# javadoc +install -d -m 755 %{buildroot}%{_javadocdir}/%{name}-%{version} +ln -s %{name}-%{version} %{buildroot}%{_javadocdir}/%{name} +cp -r docs/api/* %{buildroot}%{_javadocdir}/%{name}-%{version} + +install -d -m 755 %{buildroot}%{_mavenpomdir} +install -p -m 644 %{SOURCE1} %{buildroot}%{_mavenpomdir}/JPP-%{name}.pom +%add_maven_depmap -a regexp:regexp + +%check +ant -Djakarta-site2.dir=. test + +%files +%doc LICENSE +%{_javadir}/%{name}.jar +%{_mavenpomdir}/JPP-%{name}.pom +%{_mavendepmapfragdir}/%{name} + +%files javadoc +%doc LICENSE +%{_javadocdir}/%{name}-%{version} +%doc %{_javadocdir}/%{name} + +%changelog +* Fri Dec 27 2013 Daniel Mach - 01.5-13 +- Mass rebuild 2013-12-27 + +* Tue Jul 23 2013 Stanislav Ochotnicky - 0:1.5-12 +- Enable testsuite + +* Fri Jun 28 2013 Mikolaj Izdebski - 0:1.5-11 +- Rebuild to regenerate API documentation +- Resolves: CVE-2013-1571 + +* Thu Feb 14 2013 Fedora Release Engineering - 0:1.5-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Wed Oct 31 2012 Mikolaj Izdebski - 0:1.5-9 +- Install LICENSE file with javadoc package +- Add maven POM file +- Update to current packaging guidelines +- Convert versioned JAR to unversioned + +* Sat Jul 21 2012 Fedora Release Engineering - 0:1.5-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Sat Jan 14 2012 Fedora Release Engineering - 0:1.5-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Wed Feb 09 2011 Fedora Release Engineering - 0:1.5-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Wed Oct 6 2010 Alexander Kurtakov 0:1.5-5 +- Drop gcj support. + +* Fri Jan 08 2010 Andrew Overholt 1.5-4.3 +- Remove javadoc ghost symlinking. + +* Sun Jul 26 2009 Fedora Release Engineering - 0:1.5-4.2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Wed Feb 25 2009 Fedora Release Engineering - 0:1.5-3.2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Thu Jul 10 2008 Tom "spot" Callaway - 0:1.5-2.2 +- drop repotag + +* Mon Feb 18 2008 Fedora Release Engineering - 0:1.5-2jpp.1 +- Autorebuild for GCC 4.3 + +* Sat Feb 9 2008 Devrim GUNDUZ 0:1.5-1jpp.1 +- Update to 1.5 +- Fix license +- Cosmetic cleanup + +* Thu Feb 8 2007 Vivek Lakshmanan 0:1.4-3jpp.1.fc7 +- Resync with JPP +- Use the upstream tar ball as JPP does since they clean it off jars anyway +- Use JPackage exception compliant naming scheme +- Remove section definition +- Install unversioned symlink +- Add missing ghost for unversioned link +- Add requires on java + +* Fri Aug 4 2006 Vivek Lakshmanan 0:1.4-2jpp.2 +- Rebuild. + +* Fri Aug 4 2006 Vivek Lakshmanan 0:1.4-2jpp.1 +- Merge with latest from JPP. +- Remove prebuilt jars from new source tar ball. + +* Sat Jul 22 2006 Jakub Jelinek - 0:1.3-2jpp_9fc +- Rebuilt + +* Wed Jul 12 2006 Jesse Keating - 0:1.3-2jpp_8fc +- rebuild + +* Mon Mar 6 2006 Jeremy Katz - 0:1.3-2jpp_7fc +- stop scriptlet spew + +* Fri Feb 10 2006 Jesse Keating - 0:1.3-2jpp_6fc +- bump again for double-long bug on ppc(64) + +* Tue Feb 07 2006 Jesse Keating - 0:1.3-2jpp_5fc +- rebuilt for new gcc4.1 snapshot and glibc changes + +* Wed Dec 21 2005 Jesse Keating 0:1.2-2jpp_4fc +- rebuilt again + +* Tue Dec 13 2005 Jesse Keating +- rebuilt for new gcj + +* Fri Dec 09 2005 Jesse Keating +- rebuilt + +* Fri Jul 15 2005 Gary Benson 0:1.3-2jpp_3fc +- Build on ia64, ppc64, s390 and s390x. +- Switch to aot-compile-rpm. + +* Tue Jun 14 2005 Gary Benson 0:1.3-2jpp_2fc +- Remove jarfile from the tarball. + +* Thu May 26 2005 Gary Benson 0:1.3-2jpp_1fc +- Upgrade to 1.3-2jpp. +- Rearrange how BC-compiled stuff is built and installed. + +* Mon May 23 2005 Gary Benson 0:1.3-1jpp_6fc +- Add alpha to the list of build architectures (#157522). +- Use absolute paths for rebuild-gcj-db. + +* Thu May 5 2005 Gary Benson 0:1.3-1jpp_5fc +- BC-compile. + +* Tue Jan 11 2005 Gary Benson 0:1.3-1jpp_4fc +- Sync with RHAPS. + +* Thu Nov 4 2004 Gary Benson 0:1.3-1jpp_3fc +- Build into Fedora. + +* Fri Oct 1 2004 Andrew Overholt 0:1.3-1jpp_3rh +- add coreutils BuildRequires + +* Wed Aug 25 2004 Fernando Nasser 0:1.3-2jpp +- Require Ant > 1.6 +- Rebuild with Ant 1.6.2 + +* Fri Mar 26 2004 Frank Ch. Eigler 0:1.3-1jpp_2rh +- add RHUG upgrade cleanup + +* Thu Mar 3 2004 Frank Ch. Eigler 0:1.3-1jpp_1rh +- RH vacuuming + +* Thu Oct 09 2003 Henri Gomez 0:1.3-1jpp +- regexp 1.3 + +* Fri May 09 2003 David Walluck 0:1.2-14jpp +- update for JPackage 1.5 + +* Fri Mar 23 2003 Nicolas Mailhot 1.2-13jpp +- for jpackage-utils 1.5 + +* Tue Jul 02 2002 Guillaume Rousse 1.2-11jpp +- section marcro +- removed additional symlink + +* Mon Jun 24 2002 Henri Gomez 1.2-10jpp +- add official jakarta jarname (jakarta-regexp-1.2.jar) symlink to real + jarname + +* Mon Jun 10 2002 Henri Gomez 1.2-9jpp +- use sed instead of bash 2.x extension in link area to make spec compatible + with distro using bash 1.1x +- use official tarball + +* Fri Jan 18 2002 Guillaume Rousse 1.2-8jpp +- versioned dir for javadoc +- no dependencies javadoc package + +* Sat Dec 1 2001 Guillaume Rousse 1.2-7jpp +- javadoc in javadoc package +- official summary + +* Wed Nov 21 2001 Christian Zoffoli 1.2-5jpp +- removed packager tag +- new jpp extension + +* Sun Sep 30 2001 Guillaume Rousse 1.2-5jpp +- first unified release +- s/jPackage/JPackage + +* Sun Aug 26 2001 Guillaume Rousse 1.2-4mdk +- vendor tag +- packager tag +- s/Copyright/License/ +- truncated description to 72 columns in spec +- spec cleanup +- used versioned jar +- used new source packaging policy + +* Sat Feb 17 2001 Guillaume Rousse 1.2-3mdk +- spec cleanup +- changelog correction + +* Sun Feb 04 2001 Guillaume Rousse 1.2-2mdk +- merged with Henri Gomez specs: +- changed name to regexp +- changed javadir to /usr/share/java +- dropped jdk & jre requirement +- added Jikes support +- changed jar name to regexp.jar +- corrected doc + +* Sun Jan 14 2001 Guillaume Rousse 1.2-1mdk +- first Mandrake release