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