c59b26
Name:           regexp
c59b26
Epoch:          1
c59b26
Version:        1.5
c59b26
Release:        37%{?dist}
c59b26
Summary:        Simple regular expressions API
c59b26
License:        ASL 2.0
c59b26
URL:            http://jakarta.apache.org/%{name}/
c59b26
BuildArch:      noarch
c59b26
c59b26
Source0:        http://archive.apache.org/dist/jakarta/%{name}/jakarta-%{name}-%{version}.tar.gz
c59b26
Source2:        jakarta-%{name}-osgi-manifest.MF
c59b26
Patch0:         jakarta-%{name}-attach-osgi-manifest.patch
c59b26
c59b26
BuildRequires:  ant
c59b26
BuildRequires:  javapackages-local
c59b26
c59b26
Requires:       java-headless
c59b26
c59b26
%description
c59b26
Regexp is a 100% Pure Java Regular Expression package that was
c59b26
graciously donated to the Apache Software Foundation by Jonathan Locke.
c59b26
He originally wrote this software back in 1996 and it has stood up quite
c59b26
well to the test of time.
c59b26
It includes complete Javadoc documentation as well as a simple Applet
c59b26
for visual debugging and testing suite for compatibility.
c59b26
c59b26
%package javadoc
c59b26
Summary:        Javadoc for %{name}
c59b26
c59b26
%description javadoc
c59b26
Javadoc for %{name}.
c59b26
c59b26
%prep
c59b26
%setup -q -n jakarta-%{name}-%{version}
c59b26
%patch0
c59b26
cp -p %{SOURCE2} MANIFEST.MF
c59b26
# remove all binary libs
c59b26
find . -name "*.jar" -exec rm -f {} \;
c59b26
c59b26
cat > pom.xml << EOF
c59b26
<project>
c59b26
  <modelVersion>4.0.0</modelVersion>
c59b26
  <groupId>jakarta-%{name}</groupId>
c59b26
  <artifactId>jakarta-%{name}</artifactId>
c59b26
  <version>%{version}</version>
c59b26
</project>
c59b26
EOF
c59b26
c59b26
%mvn_file : %{name}
c59b26
c59b26
%mvn_alias jakarta-%{name}:jakarta-%{name} %{name}:%{name}
c59b26
c59b26
%build
c59b26
mkdir lib
c59b26
%ant -Djakarta-site2.dir=. jar javadocs
c59b26
c59b26
%mvn_artifact pom.xml build/*.jar
c59b26
c59b26
%install
c59b26
%mvn_install -J docs/api
c59b26
c59b26
%check
c59b26
%ant -Djakarta-site2.dir=. test
c59b26
c59b26
%files -f .mfiles
c59b26
%doc LICENSE
c59b26
c59b26
%files javadoc -f .mfiles-javadoc
c59b26
%doc LICENSE
c59b26
c59b26
%changelog
c59b26
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 1:1.5-37
c59b26
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
c59b26
  Related: rhbz#1991688
c59b26
c59b26
* Mon Jun 28 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:1.5-36
c59b26
- Remove deprecated() provides
c59b26
- Resolves: rhbz#1977001
c59b26
c59b26
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1:1.5-35
c59b26
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
c59b26
c59b26
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.5-34
c59b26
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
c59b26
c59b26
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.5-33
c59b26
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
c59b26
c59b26
* Sat Jul 11 2020 Jiri Vanek <jvanek@redhat.com> - 1:1.5-32
c59b26
- Rebuilt for JDK-11, see https://fedoraproject.org/wiki/Changes/Java11
c59b26
c59b26
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.5-31
c59b26
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
c59b26
c59b26
* Tue Nov 05 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:1.5-28
c59b26
- Mass rebuild for javapackages-tools 201902
c59b26
c59b26
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.5-30
c59b26
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
c59b26
c59b26
* Fri May 24 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:1.5-27
c59b26
- Mass rebuild for javapackages-tools 201901
c59b26
c59b26
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.5-29
c59b26
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
c59b26
c59b26
* Mon Jan 21 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:1.5-28
c59b26
- Mark package as deprecated
c59b26
c59b26
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.5-27
c59b26
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
c59b26
c59b26
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.5-26
c59b26
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
c59b26
c59b26
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.5-25
c59b26
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
c59b26
c59b26
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.5-24
c59b26
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
c59b26
c59b26
* Thu Feb 25 2016 Michael Simacek <msimacek@redhat.com> - 1:1.5-23
c59b26
- Install with XMVn and add minimal pom
c59b26
c59b26
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.5-22
c59b26
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
c59b26
c59b26
* Thu Jan 28 2016 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:1.5-21
c59b26
- Add OSGi manifest
c59b26
c59b26
* Tue Jul 14 2015 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:1.5-20
c59b26
- Add build-requires on javapackages-local
c59b26
c59b26
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.5-19
c59b26
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
c59b26
c59b26
* Wed Jul  9 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:1.5-18
c59b26
- Bump epoch as workaround for koji-shadow limitation
c59b26
c59b26
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5-17
c59b26
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
c59b26
c59b26
* Mon Jun  2 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.5-16
c59b26
- Fix dist tag
c59b26
c59b26
* Mon May 12 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.5-15
c59b26
- Update to current packaging guidelines
c59b26
- Resolves: rhbz#976723
c59b26
c59b26
* Tue Mar 04 2014 Stanislav Ochotnicky <sochotnicky@redhat.com> - 0:1.5-14
c59b26
- Use Requires: java-headless rebuild (#1067528)
c59b26
c59b26
* Fri Jul 26 2013 Stanislav Ochotnicky <sochotnicky@redhat.com> - 0:1.5-13
c59b26
- Rebuild for #988462
c59b26
c59b26
* Tue Jul 23 2013 Stanislav Ochotnicky <sochotnicky@redhat.com> - 0:1.5-12
c59b26
- Enable testsuite
c59b26
c59b26
* Fri Jun 28 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:1.5-11
c59b26
- Rebuild to regenerate API documentation
c59b26
- Resolves: CVE-2013-1571
c59b26
c59b26
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.5-10
c59b26
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
c59b26
c59b26
* Wed Oct 31 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:1.5-9
c59b26
- Install LICENSE file with javadoc package
c59b26
- Add maven POM file
c59b26
- Update to current packaging guidelines
c59b26
- Convert versioned JAR to unversioned
c59b26
c59b26
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.5-8
c59b26
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
c59b26
c59b26
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.5-7
c59b26
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
c59b26
c59b26
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.5-6
c59b26
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
c59b26
c59b26
* Wed Oct 6 2010 Alexander Kurtakov <akurtako@redhat.com> 0:1.5-5
c59b26
- Drop gcj support.
c59b26
c59b26
* Fri Jan 08 2010 Andrew Overholt <overholt@redhat.com> 1.5-4.3
c59b26
- Remove javadoc ghost symlinking.
c59b26
c59b26
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.5-4.2
c59b26
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
c59b26
c59b26
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.5-3.2
c59b26
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
c59b26
c59b26
* Thu Jul 10 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0:1.5-2.2
c59b26
- drop repotag
c59b26
c59b26
* Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0:1.5-2jpp.1
c59b26
- Autorebuild for GCC 4.3
c59b26
c59b26
* Sat Feb 9 2008 Devrim GUNDUZ <devrim@commandprompt.com> 0:1.5-1jpp.1
c59b26
- Update to 1.5
c59b26
- Fix license
c59b26
- Cosmetic cleanup
c59b26
c59b26
* Thu Feb 8 2007 Vivek Lakshmanan <vivekl at redhat.com> 0:1.4-3jpp.1.fc7
c59b26
- Resync with JPP
c59b26
- Use the upstream tar ball as JPP does since they clean it off jars anyway
c59b26
- Use JPackage exception compliant naming scheme
c59b26
- Remove section definition
c59b26
- Install unversioned symlink
c59b26
- Add missing ghost for unversioned link
c59b26
- Add requires on java
c59b26
c59b26
* Fri Aug 4 2006 Vivek Lakshmanan <vivekl@redhat.com> 0:1.4-2jpp.2
c59b26
- Rebuild.
c59b26
c59b26
* Fri Aug 4 2006 Vivek Lakshmanan <vivekl@redhat.com> 0:1.4-2jpp.1
c59b26
- Merge with latest from JPP.
c59b26
- Remove prebuilt jars from new source tar ball.
c59b26
c59b26
* Sat Jul 22 2006 Jakub Jelinek <jakub@redhat.com> - 0:1.3-2jpp_9fc
c59b26
- Rebuilt
c59b26
c59b26
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 0:1.3-2jpp_8fc
c59b26
- rebuild
c59b26
c59b26
* Mon Mar  6 2006 Jeremy Katz <katzj@redhat.com> - 0:1.3-2jpp_7fc
c59b26
- stop scriptlet spew
c59b26
c59b26
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 0:1.3-2jpp_6fc
c59b26
- bump again for double-long bug on ppc(64)
c59b26
c59b26
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 0:1.3-2jpp_5fc
c59b26
- rebuilt for new gcc4.1 snapshot and glibc changes
c59b26
c59b26
* Wed Dec 21 2005 Jesse Keating <jkeating@redhat.com> 0:1.2-2jpp_4fc
c59b26
- rebuilt again
c59b26
c59b26
* Tue Dec 13 2005 Jesse Keating <jkeating@redhat.com>
c59b26
- rebuilt for new gcj
c59b26
c59b26
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
c59b26
- rebuilt
c59b26
c59b26
* Fri Jul 15 2005 Gary Benson <gbenson@redhat.com> 0:1.3-2jpp_3fc
c59b26
- Build on ia64, ppc64, s390 and s390x.
c59b26
- Switch to aot-compile-rpm.
c59b26
c59b26
* Tue Jun 14 2005 Gary Benson <gbenson@redhat.com> 0:1.3-2jpp_2fc
c59b26
- Remove jarfile from the tarball.
c59b26
c59b26
* Thu May 26 2005 Gary Benson <gbenson@redhat.com> 0:1.3-2jpp_1fc
c59b26
- Upgrade to 1.3-2jpp.
c59b26
- Rearrange how BC-compiled stuff is built and installed.
c59b26
c59b26
* Mon May 23 2005 Gary Benson <gbenson@redhat.com> 0:1.3-1jpp_6fc
c59b26
- Add alpha to the list of build architectures (#157522).
c59b26
- Use absolute paths for rebuild-gcj-db.
c59b26
c59b26
* Thu May  5 2005 Gary Benson <gbenson@redhat.com> 0:1.3-1jpp_5fc
c59b26
- BC-compile.
c59b26
c59b26
* Tue Jan 11 2005 Gary Benson <gbenson@redhat.com> 0:1.3-1jpp_4fc
c59b26
- Sync with RHAPS.
c59b26
c59b26
* Thu Nov  4 2004 Gary Benson <gbenson@redhat.com> 0:1.3-1jpp_3fc
c59b26
- Build into Fedora.
c59b26
c59b26
* Fri Oct  1 2004 Andrew Overholt <overholt@redhat.com> 0:1.3-1jpp_3rh
c59b26
- add coreutils BuildRequires
c59b26
c59b26
* Wed Aug 25 2004 Fernando Nasser <fnasser@redhat.com> 0:1.3-2jpp
c59b26
- Require Ant > 1.6
c59b26
- Rebuild with Ant 1.6.2
c59b26
c59b26
* Fri Mar 26 2004 Frank Ch. Eigler <fche@redhat.com> 0:1.3-1jpp_2rh
c59b26
- add RHUG upgrade cleanup
c59b26
c59b26
* Thu Mar  3 2004 Frank Ch. Eigler <fche@redhat.com> 0:1.3-1jpp_1rh
c59b26
- RH vacuuming
c59b26
c59b26
* Thu Oct 09 2003 Henri Gomez <hgomez at users.sourceforge.net> 0:1.3-1jpp
c59b26
- regexp 1.3
c59b26
c59b26
* Fri May 09 2003 David Walluck <david@anti-microsoft.org> 0:1.2-14jpp
c59b26
- update for JPackage 1.5
c59b26
c59b26
* Fri Mar 23 2003 Nicolas Mailhot <Nicolas.Mailhot (at) JPackage.org> 1.2-13jpp
c59b26
- for jpackage-utils 1.5
c59b26
c59b26
* Tue Jul 02 2002 Guillaume Rousse <guillomovitch@users.sourceforge.net> 1.2-11jpp
c59b26
- section marcro
c59b26
- removed additional symlink
c59b26
c59b26
* Mon Jun 24 2002 Henri Gomez <hgomez@slib.fr> 1.2-10jpp
c59b26
- add official jakarta jarname (jakarta-regexp-1.2.jar) symlink to real
c59b26
  jarname
c59b26
c59b26
* Mon Jun 10 2002 Henri Gomez <hgomez@slib.fr> 1.2-9jpp
c59b26
- use sed instead of bash 2.x extension in link area to make spec compatible
c59b26
  with distro using bash 1.1x
c59b26
- use official tarball
c59b26
c59b26
* Fri Jan 18 2002 Guillaume Rousse <guillomovitch@users.sourceforge.net> 1.2-8jpp 
c59b26
- versioned dir for javadoc
c59b26
- no dependencies javadoc package
c59b26
c59b26
* Sat Dec 1 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 1.2-7jpp
c59b26
- javadoc in javadoc package
c59b26
- official summary
c59b26
c59b26
* Wed Nov 21 2001 Christian Zoffoli <czoffoli@littlepenguin.org> 1.2-5jpp
c59b26
- removed packager tag
c59b26
- new jpp extension
c59b26
c59b26
* Sun Sep 30 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 1.2-5jpp
c59b26
- first unified release
c59b26
- s/jPackage/JPackage
c59b26
c59b26
* Sun Aug 26 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 1.2-4mdk
c59b26
- vendor tag
c59b26
- packager tag
c59b26
- s/Copyright/License/
c59b26
- truncated description to 72 columns in spec
c59b26
- spec cleanup
c59b26
- used versioned jar
c59b26
- used new source packaging policy
c59b26
c59b26
* Sat Feb 17 2001 Guillaume Rousse <g.rousse@linux-mandrake.com> 1.2-3mdk
c59b26
- spec cleanup
c59b26
- changelog correction
c59b26
c59b26
* Sun Feb 04 2001 Guillaume Rousse <g.rousse@linux-mandrake.com> 1.2-2mdk
c59b26
- merged with Henri Gomez <hgomez@slib.fr> specs:
c59b26
- changed name to regexp
c59b26
-  changed javadir to /usr/share/java
c59b26
-  dropped jdk & jre requirement
c59b26
-  added Jikes support
c59b26
- changed jar name to regexp.jar
c59b26
- corrected doc
c59b26
c59b26
* Sun Jan 14 2001 Guillaume Rousse <g.rousse@linux-mandrake.com> 1.2-1mdk
c59b26
- first Mandrake release