Blame SPECS/apache-commons-el.spec

73c188
73c188
%global base_name       el
73c188
%global short_name      commons-%{base_name}
73c188
73c188
73c188
Name:           apache-%{short_name}
73c188
Version:        1.0
73c188
Release:        42%{?dist}
73c188
Summary:        The Apache Commons Extension Language
73c188
License:        ASL 1.1
73c188
URL:            http://commons.apache.org/%{base_name}
73c188
BuildArch:      noarch
73c188
Source0:        http://archive.apache.org/dist/commons/%{base_name}/source/%{short_name}-%{version}-src.tar.gz
73c188
Source1:        http://repo1.maven.org/maven2/%{short_name}/%{short_name}/%{version}/%{short_name}-%{version}.pom
73c188
Patch0:         %{short_name}-%{version}-license.patch
73c188
Patch1:         %{short_name}-eclipse-manifest.patch
73c188
Patch2:         %{short_name}-enum.patch
73c188
BuildRequires:  ant
73c188
BuildRequires:  junit
73c188
BuildRequires:  javapackages-local
73c188
BuildRequires:  apache-commons-logging
73c188
BuildRequires:  glassfish-jsp-api
73c188
BuildRequires:  glassfish-servlet-api
73c188
73c188
%description
73c188
An implementation of standard interfaces and abstract classes for
73c188
javax.servlet.jsp.el which is part of the JSP 2.0 specification.
73c188
73c188
%package        javadoc
73c188
Summary:        API documentation for %{name}
73c188
73c188
73c188
%description    javadoc
73c188
%{summary}.
73c188
73c188
73c188
%prep
73c188
%setup -q -n %{short_name}-%{version}-src
73c188
%patch0 -p1 -b .license
73c188
%patch1 -p1
73c188
%patch2 -p1
73c188
73c188
# remove all precompiled stuff
73c188
find . -type f -name "*.jar" -exec rm -f {} \;
73c188
73c188
cat > build.properties <
73c188
build.compiler=modern
73c188
junit.jar=$(build-classpath junit)
73c188
servlet-api.jar=$(build-classpath glassfish-servlet-api)
73c188
jsp-api.jar=$(build-classpath glassfish-jsp-api)
73c188
servletapi.build.notrequired=true
73c188
jspapi.build.notrequired=true
73c188
EOBP
73c188
73c188
# workaround for https://bugzilla.redhat.com/show_bug.cgi?id=1015612
73c188
find . -iname 'ELParser.java' -exec sed -i 's:enum:enum1:g' \{\} \;
73c188
73c188
%build
73c188
export CLASSPATH=
73c188
export OPT_JAR_LIST=:
73c188
%{ant} \
73c188
  -Dfinal.name=%{short_name} \
73c188
  -Dj2se.javadoc=%{_javadocdir}/java \
73c188
  jar javadoc
73c188
73c188
73c188
%install
73c188
%mvn_artifact %{SOURCE1} dist/%{short_name}.jar
73c188
%mvn_alias "commons-el:commons-el" "org.apache.commons:commons-el"
73c188
%mvn_file : %{name} %{short_name}
73c188
%mvn_install -J dist/docs/api
73c188
73c188
73c188
%files -f .mfiles
73c188
%license LICENSE.txt
73c188
%doc STATUS.html
73c188
73c188
%files javadoc -f .mfiles-javadoc
73c188
%license LICENSE.txt
73c188
73c188
73c188
%changelog
73c188
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-42
73c188
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
73c188
73c188
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-41
73c188
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
73c188
73c188
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-40
73c188
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
73c188
73c188
* Mon Dec 04 2017 Mat Booth <mat.booth@redhat.com> - 1.0-39
73c188
- Build against glassfish libs
73c188
- Install with xmvn
73c188
73c188
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-38
73c188
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
73c188
73c188
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-37
73c188
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
73c188
73c188
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-36
73c188
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
73c188
73c188
* Tue Jul 14 2015 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.0-35
73c188
- Add build-requires on javapackages-local
73c188
73c188
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-34
73c188
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
73c188
73c188
* Mon Mar 30 2015 Michael Simacek <msimacek@redhat.com> - 1.0-33
73c188
- Bump tomcat depenency versions
73c188
73c188
* Tue Oct 14 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.0-32
73c188
- Remove legacy Obsoletes/Provides for jakarta-commons
73c188
73c188
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-31
73c188
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
73c188
73c188
* Wed May 21 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.0-30
73c188
- Use .mfiles generated during build
73c188
73c188
* Tue Oct 08 2013 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.0-29
73c188
- Remove versioned symlinks
73c188
- Add workaround for rhbz#1015612
73c188
73c188
* Mon Aug 05 2013 Michal Srb <msrb@redhat.com> - 1.0-28
73c188
- Switch to %%add_maven_depmap (Resolves: #991969)
73c188
73c188
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-27
73c188
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
73c188
73c188
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-26
73c188
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
73c188
73c188
* Fri Dec 7 2012 Alexander Kurtakov <akurtako@redhat.com> 1.0-25
73c188
- Adapt to current guidelines.
73c188
- Build against tomcat 7.
73c188
73c188
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-24
73c188
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
73c188
73c188
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-23
73c188
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
73c188
73c188
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-22
73c188
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
73c188
73c188
* Thu Jul  8 2010 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.0-21
73c188
- Add license to javadoc subpackage
73c188
73c188
* Tue May 25 2010 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.0-20
73c188
- Use tomcat6-jsp and tomcat6-servlet APIs
73c188
73c188
* Mon May 24 2010 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.0-19
73c188
- Renamed package (jakarta-commons-el->apache-commons-el)
73c188
- Dropped epoch, cleanup spec
73c188
73c188
* Wed Sep 09 2009 Fernando Nasser <fnasser@redhat.com> - 0:1.0-18.1
73c188
- Merge with upstream for:
73c188
  Add pom and depmap fragment
73c188
  Removal of ghost symlink
73c188
  Some spec file cleanups
73c188
- Build without AOT compilation
73c188
73c188
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.0-11.5
73c188
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
73c188
73c188
* Wed Jul 08 2009 David Walluck <dwalluck@redhat.com> 0:1.0-18
73c188
- fix scriptlets
73c188
73c188
* Wed Jul 08 2009 David Walluck <dwalluck@redhat.com> 0:1.0-17
73c188
- fix pom install
73c188
73c188
* Wed Jul 08 2009 David Walluck <dwalluck@redhat.com> 0:1.0-16
73c188
- add pom
73c188
73c188
* Mon Apr 27 2009 Milos Jakubicek <xjakub@fi.muni.cz> - 0:1.0-10.5
73c188
- Fix FTBFS: added BR: tomcat5-jsp-2.0-api (resolves BZ#497179).
73c188
73c188
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.0-10.4
73c188
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
73c188
73c188
* Mon Feb 02 2009 David Walluck <dwalluck@redhat.com> 0:1.0-15
73c188
- fix component-info.xml
73c188
73c188
* Wed Jan 21 2009 David Walluck <dwalluck@redhat.com> 0:1.0-14
73c188
- fix jar name in repolib
73c188
73c188
* Tue Jan 20 2009 David Walluck <dwalluck@redhat.com> 0:1.0-13
73c188
- fix repolib location
73c188
73c188
* Tue Jan 20 2009 David Walluck <dwalluck@redhat.com> 0:1.0-12
73c188
- add repolib
73c188
73c188
* Wed Aug 13 2008 David Walluck <dwalluck@redhat.com> 0:1.0-11
73c188
- update header
73c188
73c188
* Wed Aug 13 2008 David Walluck <dwalluck@redhat.com> 0:1.0-10
73c188
- build for JPackage 5
73c188
73c188
* Mon Jul 14 2008 Andrew Overholt <overholt@redhat.com> 0:1.0-9.4
73c188
- Update OSGi metadata for Eclipse 3.4.
73c188
73c188
* Wed Jul  9 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0:1.0-9.3
73c188
- drop repotag
73c188
- fix license tag
73c188
73c188
* Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0:1.0-9jpp.2
73c188
- Autorebuild for GCC 4.3
73c188
73c188
* Wed Aug 29 2007 Fedora Release Engineering <rel-eng at fedoraproject dot org> - 1.0-8jpp.2
73c188
- Rebuild for selinux ppc32 issue.
73c188
73c188
* Wed Jul 11 2007 Ben Konrath <bkonrath@redhat.com> - 0:1.0-8jpp.1
73c188
- Add eclipse-manifest patch.
73c188
  From Fernando Nasser <fnasser@redhat.com>:
73c188
- Specify source 1.4 due to use of enum as identifier
73c188
73c188
* Fri Feb 09 2007 Fernando Nasser <fnasser@redhat.com> - 0:1.0-7jpp.1
73c188
- Remove duplicate name tag
73c188
- Rebuild
73c188
73c188
* Thu Aug 17 2006 Fernando Nasser <fnasser@redhat.com> - 0:1.0-7jpp.1
73c188
- Merge with upstream
73c188
73c188
* Thu Aug 17 2006 Fernando Nasser <fnasser@redhat.com> - 0:1.0-7jpp
73c188
- Fix AOT support
73c188
73c188
* Sat Jul 22 2006 Jakub Jelinek <jakub@redhat.com> - 0:1.0-5jpp_4fc
73c188
- Rebuilt
73c188
73c188
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 0:1.0-5jpp_3fc
73c188
- rebuild
73c188
73c188
* Fri May 19 2006 Fernando Nasser <fnasser@redhat.com> - 0:1.0-5jpp_2fc
73c188
- Build with gcj_support enabled
73c188
- Add missing BR for jsp (API)
73c188
73c188
* Fri May 19 2006 Fernando Nasser <fnasser@redhat.com> - 0:1.0-6jpp
73c188
- Add AOT support
73c188
73c188
* Fri May 19 2006 Fernando Nasser <fnasser@redhat.com> - 0:1.0-5jpp_1fc
73c188
- First build for FC6
73c188
73c188
* Fri May 19 2006 Fernando Nasser <fnasser@redhat.com> - 0:1.0-5jpp_0fc
73c188
- Add gcj_support
73c188
73c188
* Wed Apr 26 2006 Fernando Nasser <fnasser@redhat.com> - 0:1.0-5jpp
73c188
- First JPP 1.7 build
73c188
73c188
* Mon Mar  6 2006 Jeremy Katz <katzj@redhat.com> - 0:1.0-4jpp_6fc
73c188
- stop scriptlet spew
73c188
73c188
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 0:1.0-4jpp_5fc
73c188
- bump again for double-long bug on ppc(64)
73c188
73c188
* Wed Dec 21 2005 Jesse Keating <jkeating@redhat.com> - 0:1.0-4jpp_4fc
73c188
- rebuilt again
73c188
73c188
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com> - 0:1.0-4jpp_3fc
73c188
- rebuilt
73c188
73c188
* Tue Jul 19 2005 Gary Benson <gbenson at redhat.com> - 0:1.0-4jpp_2fc
73c188
- Build on ia64, ppc64, s390 and s390x.
73c188
- Switch to aot-compile-rpm.
73c188
73c188
* Tue Jun 14 2005 Gary Benson <gbenson at redhat.com> - 0:1.0-4jpp_1fc
73c188
- Upgrade to 1.0-4jpp.
73c188
73c188
* Thu May 26 2005 Gary Benson <gbenson at redhat.com> - 0:1.0-4jpp
73c188
- Don't bundle servletapi sources (which weren't used anyway).
73c188
73c188
* Thu May 26 2005 Gary Benson <gbenson@redhat.com> - 0:1.0-3jpp_1fc
73c188
- Upgrade to 1.0-3jpp.
73c188
- Rearrange how BC-compiled stuff is built and installed.
73c188
- Don't bundle servletapi sources (which weren't used anyway).
73c188
73c188
* Mon May 23 2005 Gary Benson <gbenson@redhat.com> - 0:1.0-2jpp_3fc
73c188
- Add alpha to the list of build architectures (#157522).
73c188
- Use absolute paths for rebuild-gcj-db.
73c188
73c188
* Thu May  5 2005 Gary Benson <gbenson@redhat.com> - 0:1.0-2jpp_2fc
73c188
- BC-compile.
73c188
73c188
* Thu Jan 20 2005 Gary Benson <gbenson@redhat.com> - 0:1.0-2jpp_1fc
73c188
- Build into Fedora.
73c188
73c188
* Thu Oct 21 2004 Fernando Nasser <fnasser@redhat.com> - 0:1.0-2jpp_2rh
73c188
- Rebuild (no changes)
73c188
73c188
* Sun Aug 22 2004 Randy Watler <rwatler at finali.com> - 0:1.0-3jpp
73c188
- Rebuild with ant-1.6.2
73c188
73c188
* Wed Jul 14 2004 Fernando Nasser <fnasser@redhat.com> - 0:1.0-2jpp_1rh
73c188
- Merge with upstream version that removes dependency on ant-optional
73c188
73c188
* Tue Jun 01 2004 Randy Watler <rwatler at finali.com> - 0:1.0-2jpp
73c188
- Upgrade to Ant 1.6.X
73c188
73c188
* Fri Jan  9 2004 Kaj J. Niemi <kajtzu@fi.basen.net> - 0:1.0-1jpp
73c188
- First build for JPackage
73c188
73c188
* Wed Dec 17 2003 Kaj J. Niemi <kajtzu@fi.basen.net> - 0:1.0-0.2
73c188
- With Javadocs
73c188
73c188
* Wed Dec 17 2003 Kaj J. Niemi <kajtzu@fi.basen.net> - 0:1.0-0.1
73c188
- First build