Blame SPECS/apache-commons-el.spec

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