Blame SPECS/tomcat.spec

aedfd1
%global pkg_name tomcat
aedfd1
%{?scl:%scl_package %{pkg_name}}
aedfd1
%{?java_common_find_provides_and_requires}
aedfd1
aedfd1
# Copyright (c) 2000-2008, JPackage Project
aedfd1
# All rights reserved.
aedfd1
#
aedfd1
# Redistribution and use in source and binary forms, with or without
aedfd1
# modification, are permitted provided that the following conditions
aedfd1
# are met:
aedfd1
#
aedfd1
# 1. Redistributions of source code must retain the above copyright
aedfd1
#    notice, this list of conditions and the following disclaimer.
aedfd1
# 2. Redistributions in binary form must reproduce the above copyright
aedfd1
#    notice, this list of conditions and the following disclaimer in the
aedfd1
#    documentation and/or other materials provided with the
aedfd1
#    distribution.
aedfd1
# 3. Neither the name of the JPackage Project nor the names of its
aedfd1
#    contributors may be used to endorse or promote products derived
aedfd1
#    from this software without specific prior written permission.
aedfd1
#
aedfd1
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
aedfd1
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
aedfd1
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
aedfd1
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
aedfd1
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
aedfd1
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
aedfd1
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
aedfd1
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
aedfd1
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
aedfd1
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
aedfd1
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
aedfd1
#
aedfd1
aedfd1
%global jspspec 2.2
aedfd1
%global major_version 7
aedfd1
%global minor_version 0
aedfd1
%global micro_version 42
aedfd1
%global packdname apache-tomcat-%{version}-src
aedfd1
%global servletspec 3.0
aedfd1
%global elspec 2.2
aedfd1
%global tcuid 91
aedfd1
aedfd1
# FHS 2.3 compliant tree structure - http://www.pathname.com/fhs/2.3/
aedfd1
%global libdir %{_javadir}/%{pkg_name}
aedfd1
aedfd1
Name:          %{?scl_prefix}%{pkg_name}
aedfd1
Epoch:         0
aedfd1
Version:       %{major_version}.%{minor_version}.%{micro_version}
aedfd1
Release:       1.20%{?dist}
aedfd1
Summary:       Apache Servlet/JSP Engine, RI for Servlet %{servletspec}/JSP %{jspspec} API
aedfd1
aedfd1
License:       ASL 2.0
aedfd1
URL:           http://tomcat.apache.org/
aedfd1
Source0:       http://www.apache.org/dist/tomcat/tomcat-%{major_version}/v%{version}/src/%{packdname}.tar.gz
aedfd1
Source1:       %{pkg_name}-%{major_version}.%{minor_version}.conf
aedfd1
Source2:       %{pkg_name}-%{major_version}.%{minor_version}.init
aedfd1
Source3:       %{pkg_name}-%{major_version}.%{minor_version}.sysconfig
aedfd1
Source4:       %{pkg_name}-%{major_version}.%{minor_version}.wrapper
aedfd1
Source5:       %{pkg_name}-%{major_version}.%{minor_version}.logrotate
aedfd1
Source6:       %{pkg_name}-%{major_version}.%{minor_version}-digest.script
aedfd1
Source7:       %{pkg_name}-%{major_version}.%{minor_version}-tool-wrapper.script
aedfd1
Source8:       servlet-api-OSGi-MANIFEST.MF
aedfd1
Source9:       jsp-api-OSGi-MANIFEST.MF
aedfd1
Source10:      %{pkg_name}-%{major_version}.%{minor_version}-log4j.properties
aedfd1
Source11:      %{pkg_name}-%{major_version}.%{minor_version}.service
aedfd1
Source12:      el-api-OSGi-MANIFEST.MF
aedfd1
Source13:      jasper-el-OSGi-MANIFEST.MF
aedfd1
Source14:      jasper-OSGi-MANIFEST.MF
aedfd1
Source15:      tomcat-api-OSGi-MANIFEST.MF
aedfd1
Source16:      tomcat-juli-OSGi-MANIFEST.MF
aedfd1
Source17:      %{pkg_name}-%{major_version}.%{minor_version}-tomcat-sysd
aedfd1
Source18:      %{pkg_name}-%{major_version}.%{minor_version}-tomcat-jsvc-sysd
aedfd1
Source19:      %{pkg_name}-%{major_version}.%{minor_version}-jsvc.wrapper
aedfd1
Source20:      %{pkg_name}-%{major_version}.%{minor_version}-jsvc.service
aedfd1
aedfd1
aedfd1
Patch0:        %{pkg_name}-%{major_version}.%{minor_version}-bootstrap-MANIFEST.MF.patch
aedfd1
Patch1:        %{pkg_name}-%{major_version}.%{minor_version}-tomcat-users-webapp.patch
aedfd1
aedfd1
BuildArch:     noarch
aedfd1
aedfd1
BuildRequires: %{?scl_prefix}ant
aedfd1
#BuildRequires: ant-nodeps
aedfd1
BuildRequires: %{?scl_prefix}ecj >= 1:4.2.1
aedfd1
BuildRequires: findutils
aedfd1
BuildRequires: %{?scl_prefix}apache-commons-collections
aedfd1
BuildRequires: %{?scl_prefix_maven}apache-commons-daemon
aedfd1
BuildRequires: %{?scl_prefix}apache-commons-dbcp
aedfd1
BuildRequires: %{?scl_prefix}apache-commons-pool
aedfd1
BuildRequires: %{?scl_prefix}jakarta-taglibs-standard
aedfd1
BuildRequires: %{?scl_prefix}javapackages-tools
aedfd1
BuildRequires: %{?scl_prefix}junit
aedfd1
BuildRequires: %{?scl_prefix}log4j
aedfd1
BuildRequires: %{?scl_prefix_maven}geronimo-jaxrpc
aedfd1
BuildRequires: %{?scl_prefix_maven}wsdl4j
aedfd1
BuildRequires: zip
aedfd1
Requires:      %{?scl_prefix_maven}apache-commons-daemon
aedfd1
Requires:      %{?scl_prefix}apache-commons-logging
aedfd1
Requires:      %{?scl_prefix}apache-commons-collections
aedfd1
Requires:      %{?scl_prefix}apache-commons-dbcp
aedfd1
Requires:      %{?scl_prefix}apache-commons-pool
aedfd1
Requires:      procps
aedfd1
Requires:      %{name}-lib = %{epoch}:%{version}-%{release}
aedfd1
aedfd1
%description
aedfd1
Tomcat is the servlet container that is used in the official Reference
aedfd1
Implementation for the Java Servlet and JavaServer Pages technologies.
aedfd1
The Java Servlet and JavaServer Pages specifications are developed by
aedfd1
Sun under the Java Community Process.
aedfd1
aedfd1
Tomcat is developed in an open and participatory environment and
aedfd1
released under the Apache Software License version 2.0. Tomcat is intended
aedfd1
to be a collaboration of the best-of-breed developers from around the world.
aedfd1
aedfd1
aedfd1
%package javadoc
aedfd1
Summary: Javadoc generated documentation for Apache Tomcat
aedfd1
aedfd1
%description javadoc
aedfd1
Javadoc generated documentation for Apache Tomcat.
aedfd1
aedfd1
%package jsp-%{jspspec}-api
aedfd1
Summary: Apache Tomcat JSP API implementation classes
aedfd1
Requires: %{name}-servlet-%{servletspec}-api = %{epoch}:%{version}-%{release}
aedfd1
aedfd1
%description jsp-%{jspspec}-api
aedfd1
Apache Tomcat JSP API implementation classes.
aedfd1
aedfd1
%package lib
aedfd1
Summary: Libraries needed to run the Tomcat Web container
aedfd1
Requires: %{name}-jsp-%{jspspec}-api = %{epoch}:%{version}-%{release}
aedfd1
Requires: %{name}-servlet-%{servletspec}-api = %{epoch}:%{version}-%{release}
aedfd1
Requires: %{name}-el-%{elspec}-api = %{epoch}:%{version}-%{release}
aedfd1
Requires: %{?scl_prefix}ecj >= 1:4.2.1
aedfd1
Requires: %{?scl_prefix}apache-commons-collections
aedfd1
Requires: %{?scl_prefix}apache-commons-dbcp
aedfd1
Requires: %{?scl_prefix}apache-commons-pool
aedfd1
Requires(preun): coreutils
aedfd1
aedfd1
%description lib
aedfd1
Libraries needed to run the Tomcat Web container.
aedfd1
aedfd1
%package servlet-%{servletspec}-api
aedfd1
Summary: Apache Tomcat Servlet API implementation classes
aedfd1
aedfd1
%description servlet-%{servletspec}-api
aedfd1
Apache Tomcat Servlet API implementation classes.
aedfd1
aedfd1
%package el-%{elspec}-api
aedfd1
Summary: Expression Language v1.0 API
aedfd1
aedfd1
%description el-%{elspec}-api
aedfd1
Expression Language 1.0.
aedfd1
aedfd1
%prep
aedfd1
%setup -q -n %{packdname}
aedfd1
%{?scl:scl enable %{scl_maven} %{scl} - <<"EOF"}
aedfd1
set -e -x
aedfd1
# remove pre-built binaries and windows files
aedfd1
find . -type f \( -name "*.bat" -o -name "*.class" -o -name Thumbs.db -o -name "*.gz" -o \
aedfd1
   -name "*.jar" -o -name "*.war" -o -name "*.zip" \) -delete
aedfd1
aedfd1
%patch0 -p0
aedfd1
%patch1 -p0
aedfd1
%{__ln_s} $(build-classpath jakarta-taglibs-core) webapps/examples/WEB-INF/lib/jstl.jar
aedfd1
%{__ln_s} $(build-classpath jakarta-taglibs-standard) webapps/examples/WEB-INF/lib/standard.jar
aedfd1
%{?scl:EOF}
aedfd1
aedfd1
%build
aedfd1
%{?scl:scl enable %{scl_maven} %{scl} - <<"EOF"}
aedfd1
set -e -x
aedfd1
export OPT_JAR_LIST="xalan-j2-serializer"
aedfd1
   # we don't care about the tarballs and we're going to replace
aedfd1
   # tomcat-dbcp.jar with apache-commons-{collections,dbcp,pool}-tomcat5.jar
aedfd1
   # so just create a dummy file for later removal
aedfd1
   touch HACK
aedfd1
   %{__mkdir_p} HACKDIR
aedfd1
   touch HACKDIR/build.xml
aedfd1
   # who needs a build.properties file anyway
aedfd1
   %{ant} -Dbase.path="." \
aedfd1
      -Dbuild.compiler="modern" \
aedfd1
      -Dcommons-collections.jar="$(build-classpath apache-commons-collections)" \
aedfd1
      -Dcommons-daemon.jar="$(build-classpath apache-commons-daemon)" \
aedfd1
      -Dcommons-daemon.native.src.tgz="HACK" \
aedfd1
      -Djasper-jdt.jar="$(build-classpath ecj)" \
aedfd1
      -Djdt.jar="$(build-classpath ecj)" \
aedfd1
      -Dtomcat-dbcp.jar="$(build-classpath apache-commons-dbcp)" \
aedfd1
      -Dtomcat-native.tar.gz="HACK" \
aedfd1
      -Dtomcat-native.home="." \
aedfd1
      -Dcommons-daemon.native.win.mgr.exe="HACK" \
aedfd1
      -Dnsis.exe="HACK" \
aedfd1
      -Djaxrpc-lib.jar="$(build-classpath jaxrpc)" \
aedfd1
      -Dwsdl4j-lib.jar="$(build-classpath wsdl4j)" \
aedfd1
      -Dcommons-pool.home="HACKDIR" \
aedfd1
      -Dcommons-dbcp.home="HACKDIR" \
aedfd1
      -Dno.build.dbcp=true \
aedfd1
      -Dversion="%{version}" \
aedfd1
      -Dversion.build="%{micro_version}" \
aedfd1
      deploy dist-prepare dist-source javadoc
aedfd1
aedfd1
    # remove some jars that we'll replace with symlinks later
aedfd1
   %{__rm} output/build/bin/commons-daemon.jar \
aedfd1
           output/build/lib/ecj.jar \
aedfd1
           output/build/lib/apache-commons-dbcp.jar
aedfd1
aedfd1
    # remove the cruft we created
aedfd1
   %{__rm} output/build/bin/tomcat-native.tar.gz
aedfd1
pushd output/dist/src/webapps/docs/appdev/sample/src
aedfd1
%{__mkdir_p} ../web/WEB-INF/classes
aedfd1
/usr/bin/javac -cp ../../../../../../../../output/build/lib/servlet-api.jar -d ../web/WEB-INF/classes mypackage/Hello.java
aedfd1
pushd ../web
aedfd1
/usr/bin/jar cf ../../../../../../../../output/build/webapps/docs/appdev/sample/sample.war *
aedfd1
popd
aedfd1
popd
aedfd1
aedfd1
# inject OSGi manifests
aedfd1
mkdir -p META-INF
aedfd1
cp -p %{SOURCE8} META-INF/MANIFEST.MF
aedfd1
touch META-INF/MANIFEST.MF
aedfd1
zip -u output/build/lib/servlet-api.jar META-INF/MANIFEST.MF
aedfd1
cp -p %{SOURCE9} META-INF/MANIFEST.MF
aedfd1
touch META-INF/MANIFEST.MF
aedfd1
zip -u output/build/lib/jsp-api.jar META-INF/MANIFEST.MF
aedfd1
cp -p %{SOURCE12} META-INF/MANIFEST.MF
aedfd1
touch META-INF/MANIFEST.MF
aedfd1
zip -u output/build/lib/el-api.jar META-INF/MANIFEST.MF
aedfd1
cp -p %{SOURCE13} META-INF/MANIFEST.MF
aedfd1
touch META-INF/MANIFEST.MF
aedfd1
zip -u output/build/lib/jasper-el.jar META-INF/MANIFEST.MF
aedfd1
cp -p %{SOURCE14} META-INF/MANIFEST.MF
aedfd1
touch META-INF/MANIFEST.MF
aedfd1
zip -u output/build/lib/jasper.jar META-INF/MANIFEST.MF
aedfd1
cp -p %{SOURCE15} META-INF/MANIFEST.MF
aedfd1
touch META-INF/MANIFEST.MF
aedfd1
zip -u output/build/lib/tomcat-api.jar META-INF/MANIFEST.MF
aedfd1
cp -p %{SOURCE16} META-INF/MANIFEST.MF
aedfd1
touch META-INF/MANIFEST.MF
aedfd1
zip -u output/build/bin/tomcat-juli.jar META-INF/MANIFEST.MF
aedfd1
%{?scl:EOF}
aedfd1
aedfd1
%install
aedfd1
%{?scl:scl enable %{scl_maven} %{scl} - <<"EOF"}
aedfd1
set -e -x
aedfd1
aedfd1
%{__install} -d -m 0755 ${RPM_BUILD_ROOT}%{_javadocdir}/%{pkg_name}
aedfd1
%{__install} -d -m 0755 ${RPM_BUILD_ROOT}%{libdir}
aedfd1
aedfd1
# move things into place
aedfd1
# First copy supporting libs to tomcat lib
aedfd1
pushd output/build
aedfd1
    %{__cp} -a bin/tomcat-juli.jar ${RPM_BUILD_ROOT}%{libdir}
aedfd1
    %{__cp} -a lib/*.jar ${RPM_BUILD_ROOT}%{libdir}
aedfd1
popd
aedfd1
aedfd1
aedfd1
# javadoc
aedfd1
%{__cp} -a output/dist/webapps/docs/api/* ${RPM_BUILD_ROOT}%{_javadocdir}/%{pkg_name}
aedfd1
aedfd1
# create jsp and servlet API symlinks
aedfd1
pushd ${RPM_BUILD_ROOT}%{_javadir}
aedfd1
   %{__mv} %{pkg_name}/jsp-api.jar %{pkg_name}-jsp-%{jspspec}-api.jar
aedfd1
   %{__ln_s} %{pkg_name}-jsp-%{jspspec}-api.jar %{pkg_name}-jsp-api.jar
aedfd1
   %{__mv} %{pkg_name}/servlet-api.jar %{pkg_name}-servlet-%{servletspec}-api.jar
aedfd1
   %{__ln_s} %{pkg_name}-servlet-%{servletspec}-api.jar %{pkg_name}-servlet-api.jar
aedfd1
   %{__mv} %{pkg_name}/el-api.jar %{pkg_name}-el-%{elspec}-api.jar
aedfd1
   %{__ln_s} %{pkg_name}-el-%{elspec}-api.jar %{pkg_name}-el-api.jar
aedfd1
popd
aedfd1
aedfd1
pushd ${RPM_BUILD_ROOT}%{libdir}
aedfd1
    # symlink JSP and servlet API jars
aedfd1
    %{__ln_s} ../%{pkg_name}-jsp-%{jspspec}-api.jar .
aedfd1
    %{__ln_s} ../%{pkg_name}-servlet-%{servletspec}-api.jar .
aedfd1
    %{__ln_s} ../%{pkg_name}-el-%{elspec}-api.jar .
aedfd1
    %{__ln_s} $(build-classpath apache-commons-collections) commons-collections.jar
aedfd1
    %{__ln_s} $(build-classpath apache-commons-dbcp) commons-dbcp.jar
aedfd1
    %{__ln_s} $(build-classpath apache-commons-pool) commons-pool.jar
aedfd1
    %{__ln_s} $(build-classpath log4j) log4j.jar
aedfd1
    %{__ln_s} $(build-classpath ecj) jasper-jdt.jar
aedfd1
popd
aedfd1
aedfd1
aedfd1
# Install the maven metadata
aedfd1
%{__install} -d -m 0755 ${RPM_BUILD_ROOT}%{_mavenpomdir}
aedfd1
pushd output/dist/src/res/maven
aedfd1
for pom in *.pom; do
aedfd1
    # fix-up version in all pom files
aedfd1
    sed -i 's/@MAVEN.DEPLOY.VERSION@/%{version}/g' $pom
aedfd1
done
aedfd1
aedfd1
# we won't install dbcp, juli-adapters and juli-extras pom files
aedfd1
for libname in annotations-api catalina jasper-el jasper catalina-ha; do
aedfd1
    %{__cp} -a %{pkg_name}-$libname.pom ${RPM_BUILD_ROOT}%{_mavenpomdir}/JPP.%{pkg_name}-$libname.pom
aedfd1
    %add_maven_depmap JPP.%{pkg_name}-$libname.pom %{pkg_name}/$libname.jar -f "tomcat-lib"
aedfd1
done
aedfd1
aedfd1
# servlet-api jsp-api and el-api are not in tomcat subdir, since they are widely re-used elsewhere
aedfd1
%{__cp} -a tomcat-jsp-api.pom ${RPM_BUILD_ROOT}%{_mavenpomdir}/JPP-tomcat-jsp-api.pom
aedfd1
%add_maven_depmap JPP-tomcat-jsp-api.pom tomcat-jsp-api.jar -f "tomcat-jsp-api" -a "org.eclipse.jetty.orbit:javax.servlet.jsp"
aedfd1
aedfd1
%{__cp} -a tomcat-el-api.pom ${RPM_BUILD_ROOT}%{_mavenpomdir}/JPP-tomcat-el-api.pom
aedfd1
%add_maven_depmap JPP-tomcat-el-api.pom tomcat-el-api.jar -f "tomcat-el-api" -a "org.eclipse.jetty.orbit:javax.el"
aedfd1
aedfd1
%{__cp} -a tomcat-servlet-api.pom ${RPM_BUILD_ROOT}%{_mavenpomdir}/JPP-tomcat-servlet-api.pom
aedfd1
# Generate a depmap fragment javax.servlet:servlet-api pointing to
aedfd1
# tomcat-servlet-3.0-api for backwards compatibility
aedfd1
# also provide jetty depmap (originally in jetty package, but it's cleaner to have it here
aedfd1
%add_maven_depmap JPP-tomcat-servlet-api.pom tomcat-servlet-api.jar -f "tomcat-servlet-api" -a "javax.servlet:servlet-api,javax.servlet:javax.servlet-api,org.mortbay.jetty:servlet-api,org.eclipse.jetty.orbit:javax.servlet"
aedfd1
aedfd1
# two special pom where jar files have different names
aedfd1
%{__cp} -a tomcat-tribes.pom ${RPM_BUILD_ROOT}%{_mavenpomdir}/JPP.%{pkg_name}-catalina-tribes.pom
aedfd1
%add_maven_depmap JPP.%{pkg_name}-catalina-tribes.pom %{pkg_name}/catalina-tribes.jar -f "tomcat-lib"
aedfd1
aedfd1
%{__cp} -a tomcat-coyote.pom ${RPM_BUILD_ROOT}%{_mavenpomdir}/JPP.%{pkg_name}-tomcat-coyote.pom
aedfd1
%add_maven_depmap JPP.%{pkg_name}-tomcat-coyote.pom %{pkg_name}/tomcat-coyote.jar -f "tomcat-lib"
aedfd1
aedfd1
%{__cp} -a tomcat-juli.pom ${RPM_BUILD_ROOT}%{_mavenpomdir}/JPP.%{pkg_name}-tomcat-juli.pom
aedfd1
%add_maven_depmap JPP.%{pkg_name}-tomcat-juli.pom %{pkg_name}/tomcat-juli.jar -f "tomcat-lib"
aedfd1
aedfd1
%{__cp} -a tomcat-api.pom ${RPM_BUILD_ROOT}%{_mavenpomdir}/JPP.%{pkg_name}-tomcat-api.pom
aedfd1
%add_maven_depmap JPP.%{pkg_name}-tomcat-api.pom %{pkg_name}/tomcat-api.jar -f "tomcat-lib"
aedfd1
aedfd1
%{__cp} -a tomcat-util.pom ${RPM_BUILD_ROOT}%{_mavenpomdir}/JPP.%{pkg_name}-tomcat-util.pom
aedfd1
%add_maven_depmap JPP.%{pkg_name}-tomcat-util.pom %{pkg_name}/tomcat-util.jar -f "tomcat-lib"
aedfd1
aedfd1
%{?scl:EOF}
aedfd1
aedfd1
aedfd1
%files javadoc
aedfd1
%defattr(-,root,root,-)
aedfd1
%{_javadocdir}/%{pkg_name}
aedfd1
aedfd1
%files jsp-%{jspspec}-api -f output/dist/src/res/maven/.mfiles-tomcat-jsp-api
aedfd1
%{_javadir}/%{pkg_name}-jsp-%{jspspec}*.jar
aedfd1
%defattr(-,root,root,-)
aedfd1
aedfd1
%files lib -f output/dist/src/res/maven/.mfiles-tomcat-lib
aedfd1
%defattr(-,root,root,-)
aedfd1
%{libdir}
aedfd1
%{_mavenpomdir}/JPP.%{pkg_name}-annotations-api.pom
aedfd1
%{_mavenpomdir}/JPP.%{pkg_name}-catalina-ha.pom
aedfd1
%{_mavenpomdir}/JPP.%{pkg_name}-catalina-tribes.pom
aedfd1
%{_mavenpomdir}/JPP.%{pkg_name}-catalina.pom
aedfd1
%{_mavenpomdir}/JPP.%{pkg_name}-jasper-el.pom
aedfd1
%{_mavenpomdir}/JPP.%{pkg_name}-jasper.pom
aedfd1
%{_mavenpomdir}/JPP.%{pkg_name}-tomcat-api.pom
aedfd1
%{_mavenpomdir}/JPP.%{pkg_name}-tomcat-juli.pom
aedfd1
%{_mavenpomdir}/JPP.%{pkg_name}-tomcat-coyote.pom
aedfd1
%{_mavenpomdir}/JPP.%{pkg_name}-tomcat-util.pom
aedfd1
aedfd1
%exclude %{libdir}/%{pkg_name}-el-%{elspec}-api.jar
aedfd1
aedfd1
%files servlet-%{servletspec}-api -f output/dist/src/res/maven/.mfiles-tomcat-servlet-api
aedfd1
%defattr(-,root,root,-)
aedfd1
%doc LICENSE
aedfd1
%{_javadir}/%{pkg_name}-servlet-%{servletspec}*.jar
aedfd1
aedfd1
%files el-%{elspec}-api -f output/dist/src/res/maven/.mfiles-tomcat-el-api
aedfd1
%defattr(-,root,root,-)
aedfd1
%doc LICENSE
aedfd1
%{_javadir}/%{pkg_name}-el-%{elspec}-api.jar
aedfd1
%dir %{libdir}
aedfd1
%{libdir}/%{pkg_name}-el-%{elspec}-api.jar
aedfd1
aedfd1
aedfd1
%changelog
aedfd1
* Thu Apr  2 2015 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:7.0.42-1.20
aedfd1
- Fix duplicate file ownership
aedfd1
aedfd1
* Thu Jan 15 2015 Michael Simacek <msimacek@redhat.com> - 0:7.0.42-1.19
aedfd1
- Fix common directory ownership
aedfd1
aedfd1
* Tue Jan 13 2015 Michael Simacek <msimacek@redhat.com> - 0:7.0.42-1.18
aedfd1
- Mass rebuild 2015-01-13
aedfd1
aedfd1
* Fri Jan 09 2015 Michal Srb <msrb@redhat.com> - 7.0.42-1.17
aedfd1
- Do not provide EE apis for JSP and EL
aedfd1
aedfd1
* Fri Jan 09 2015 Michal Srb <msrb@redhat.com> - 0:7.0.42-1.16
aedfd1
- Mass rebuild 2015-01-09
aedfd1
aedfd1
* Wed Jan 07 2015 Michal Srb <msrb@redhat.com> - 7.0.42-1.15
aedfd1
- Workaround issue with alternatives(?) on RHEL6
aedfd1
aedfd1
* Wed Jan 07 2015 Michal Srb <msrb@redhat.com> - 7.0.42-1.14
aedfd1
- Migrate to .mfiles
aedfd1
aedfd1
* Tue Dec 16 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:7.0.42-1.13
aedfd1
- Migrate requires and build-requires to rh-java-common
aedfd1
aedfd1
* Mon Dec 15 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:7.0.42-1.12
aedfd1
- Mass rebuild 2014-12-15
aedfd1
aedfd1
* Mon Dec 15 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:7.0.42-1.11
aedfd1
- Rebuild for rh-java-common collection
aedfd1
aedfd1
* Mon May 26 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:7.0.42-1.10
aedfd1
- Mass rebuild 2014-05-26
aedfd1
aedfd1
* Wed Feb 19 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:7.0.42-1.9
aedfd1
- Mass rebuild 2014-02-19
aedfd1
aedfd1
* Tue Feb 18 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:7.0.42-1.8
aedfd1
- Mass rebuild 2014-02-18
aedfd1
aedfd1
* Tue Feb 18 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:7.0.42-1.7
aedfd1
- Remove requires on java
aedfd1
aedfd1
* Tue Feb 18 2014 Michal Srb <msrb@redhat.com> - 0:7.0.42-1.6
aedfd1
- Fix problem with dangling symlink
aedfd1
- Remove unused macro definitions
aedfd1
aedfd1
* Fri Feb 14 2014 Michal Srb <msrb@redhat.com> - 0:7.0.42-1.5
aedfd1
- Fix BR/R
aedfd1
aedfd1
* Fri Feb 14 2014 Michal Srb <msrb@redhat.com> - 0:7.0.42-1.4
aedfd1
- SCL-ize inter-module deps
aedfd1
aedfd1
* Thu Feb 13 2014 Michal Srb <msrb@redhat.com> - 0:7.0.42-1.3
aedfd1
- Remove uneeded stuff (systemd files, sample webapps, ...)
aedfd1
aedfd1
* Thu Feb 13 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:7.0.42-1.2
aedfd1
- Rebuild to regenerate auto-requires
aedfd1
aedfd1
* Tue Feb 11 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:7.0.42-1.1
aedfd1
- First maven30 software collection build
aedfd1
aedfd1
* Tue Jan 21 2014 David Knox <dknox@redhat.com> - 0:7.0.42-1
aedfd1
- Resolves: rhbz#1051657 update to 7.0.42. Ant-nodeps is
aedfd1
- deprecated.
aedfd1
aedfd1
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 07.0.40-3
aedfd1
- Mass rebuild 2013-12-27
aedfd1
aedfd1
* Sat May 11 2013 Ivan Afonichev <ivan.afonichev@gmail.com> 0:7.0.40-1
aedfd1
- Updated to 7.0.40
aedfd1
- Resolves: rhbz 956569 added missing commons-pool link
aedfd1
aedfd1
* Mon Mar  4 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:7.0.37-2
aedfd1
- Add depmaps for org.eclipse.jetty.orbit
aedfd1
- Resolves: rhbz#917626
aedfd1
aedfd1
* Wed Feb 20 2013 Ivan Afonichev <ivan.afonichev@gmail.com> 0:7.0.39-1
aedfd1
- Updated to 7.0.39
aedfd1
aedfd1
* Wed Feb 20 2013 Ivan Afonichev <ivan.afonichev@gmail.com> 0:7.0.37-1
aedfd1
- Updated to 7.0.37
aedfd1
aedfd1
* Mon Feb 4 2013 Ivan Afonichev <ivan.afonichev@gmail.com> 0:7.0.35-1
aedfd1
- Updated to 7.0.35
aedfd1
- systemd SuccessExitStatus=143 for proper stop exit code processing
aedfd1
aedfd1
* Mon Dec 24 2012 Ivan Afonichev <ivan.afonichev@gmail.com> 0:7.0.34-1
aedfd1
- Updated to 7.0.34
aedfd1
- ecj >= 4.2.1 now required
aedfd1
- Resolves: rhbz 889395 concat classpath correctly; chdir to $CATALINA_HOME
aedfd1
aedfd1
* Fri Dec 7 2012 Ivan Afonichev <ivan.afonichev@gmail.com> 0:7.0.33-2
aedfd1
- Resolves: rhbz 883806 refix logdir ownership 
aedfd1
aedfd1
* Sun Dec 2 2012 Ivan Afonichev <ivan.afonichev@gmail.com> 0:7.0.33-1
aedfd1
- Updated to 7.0.33
aedfd1
- Resolves: rhbz 873620 need chkconfig for update-alternatives
aedfd1
aedfd1
* Wed Oct 17 2012 Ivan Afonichev <ivan.afonichev@gmail.com> 0:7.0.32-1
aedfd1
- Updated to 7.0.32
aedfd1
- Resolves: rhbz 842620 symlinks to taglibs
aedfd1
aedfd1
* Fri Aug 24 2012 Ivan Afonichev <ivan.afonichev@gmail.com> 0:7.0.29-1
aedfd1
- Updated to 7.0.29
aedfd1
- Add pidfile as tmpfile
aedfd1
- Use systemd for running as unprivileged user
aedfd1
- Resolves: rhbz 847751 upgrade path was broken
aedfd1
- Resolves: rhbz 850343 use new systemd-rpm macros
aedfd1
aedfd1
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:7.0.28-2
aedfd1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
aedfd1
aedfd1
* Mon Jul 2 2012 Ivan Afonichev <ivan.afonichev@gmail.com> 0:7.0.28-1
aedfd1
- Updated to 7.0.28
aedfd1
- Resolves: rhbz 820119 Remove bundled apache-commons-dbcp
aedfd1
- Resolves: rhbz 814900 Added tomcat-coyote POM
aedfd1
- Resolves: rhbz 810775 Remove systemv stuff from %post scriptlet
aedfd1
- Remove redhat-lsb R 
aedfd1
aedfd1
* Mon Apr 9 2012 Ivan Afonichev <ivan.afonichev@gmail.com> 0:7.0.27-2
aedfd1
- Fixed native download hack
aedfd1
aedfd1
* Sat Apr 7 2012 Ivan Afonichev <ivan.afonichev@gmail.com> 0:7.0.27-1
aedfd1
- Updated to 7.0.27
aedfd1
- Fixed jakarta-taglibs-standard BR and R
aedfd1
aedfd1
* Wed Mar 21 2012 Stanislav Ochotnicky <sochotnicky@redhat.com> - 0:7.0.26-2
aedfd1
- Add more depmaps to J2EE apis to help jetty/glassfish updates
aedfd1
aedfd1
* Wed Mar 14 2012 Juan Hernandez <juan.hernandez@redhat.com> 0:7.0.26-2
aedfd1
- Added the POM files for tomcat-api and tomcat-util (#803495)
aedfd1
aedfd1
* Wed Feb 22 2012 Ivan Afonichev <ivan.afonichev@gmail.com> 0:7.0.26-1
aedfd1
- Updated to 7.0.26
aedfd1
- Bug 790334: Change ownership of logdir for logrotate
aedfd1
aedfd1
* Thu Feb 16 2012 Krzysztof Daniel <kdaniel@redhat.com> 0:7.0.25-4
aedfd1
- Bug 790694: Priorities of jsp, servlet and el packages updated.
aedfd1
aedfd1
* Wed Feb 8 2012 Krzysztof Daniel <kdaniel@redhat.com> 0:7.0.25-3
aedfd1
- Dropped indirect dependecy to tomcat 5
aedfd1
aedfd1
* Sun Jan 22 2012 Ivan Afonichev <ivan.afonichev@gmail.com> 0:7.0.25-2
aedfd1
- Added hack for maven depmap of tomcat-juli absolute link [ -f ] pass correctly
aedfd1
aedfd1
* Sat Jan 21 2012 Ivan Afonichev <ivan.afonichev@gmail.com> 0:7.0.25-1
aedfd1
- Updated to 7.0.25
aedfd1
- Removed EntityResolver patch (changes already in upstream sources)
aedfd1
- Place poms and depmaps in the same package as jars
aedfd1
- Added javax.servlet.descriptor to export-package of servlet-api
aedfd1
- Move several chkconfig actions and reqs to systemv subpackage
aedfd1
- New maven depmaps generation method
aedfd1
- Add patch to support java7. (patch sent upstream).
aedfd1
- Require java >= 1:1.6.0
aedfd1
aedfd1
* Fri Jan 13 2012 Krzysztof Daniel <kdaniel@redhat.com> 0:7.0.23-5
aedfd1
- Exported javax.servlet.* packages in version 3.0 as 2.6 to make
aedfd1
  servlet-api compatible with Eclipse.
aedfd1
aedfd1
* Thu Jan 12 2012 Ivan Afonichev <ivan.afonichev@gmail.com> 0:7.0.23-4
aedfd1
- Move jsvc support to subpackage
aedfd1
aedfd1
* Wed Jan 11 2012 Alexander Kurtakov <akurtako@redhat.com> 0:7.0.23-2
aedfd1
- Add EntityResolver setter patch to jasper for jetty's need. (patch sent upstream).
aedfd1
aedfd1
* Mon Dec 12 2011 Joseph D. Wagner <joe@josephdwagner.info> 0:7.0.23-3
aedfd1
- Added support to /usr/sbin/tomcat-sysd and /usr/sbin/tomcat for
aedfd1
  starting tomcat with jsvc, which allows tomcat to perform some
aedfd1
  privileged operations (e.g. bind to a port < 1024) and then switch
aedfd1
  identity to a non-privileged user. Must add USE_JSVC="true" to
aedfd1
  /etc/tomcat/tomcat.conf or /etc/sysconfig/tomcat.
aedfd1
aedfd1
* Mon Nov 28 2011 Ivan Afonichev <ivan.afonichev@gmail.com> 0:7.0.23-1
aedfd1
- Updated to 7.0.23
aedfd1
aedfd1
* Fri Nov 11 2011 Ivan Afonichev <ivan.afonichev@gmail.com> 0:7.0.22-2
aedfd1
- Move tomcat-juli.jar to lib package
aedfd1
- Drop %%update_maven_depmap as in tomcat6
aedfd1
- Provide native systemd unit file ported from tomcat6
aedfd1
aedfd1
* Thu Oct 6 2011 Ivan Afonichev <ivan.afonichev@gmail.com> 0:7.0.22-1
aedfd1
- Updated to 7.0.22
aedfd1
aedfd1
* Mon Oct 03 2011 Rex Dieter <rdieter@fedoraproject.org> - 0:7.0.21-3.1
aedfd1
- rebuild (java), rel-eng#4932
aedfd1
aedfd1
* Mon Sep 26 2011 Ivan Afonichev <ivan.afonichev@gmail.com> 0:7.0.21-3
aedfd1
- Fix basedir mode
aedfd1
aedfd1
* Tue Sep 20 2011 Roland Grunberg <rgrunber@redhat.com> 0:7.0.21-2
aedfd1
- Add manifests for el-api, jasper-el, jasper, tomcat, and tomcat-juli.
aedfd1
aedfd1
* Thu Sep 8 2011 Ivan Afonichev <ivan.afonichev@gmail.com> 0:7.0.21-1
aedfd1
- Updated to 7.0.21
aedfd1
aedfd1
* Mon Aug 15 2011 Ivan Afonichev <ivan.afonichev@gmail.com> 0:7.0.20-3
aedfd1
- Require java = 1:1.6.0
aedfd1
aedfd1
* Mon Aug 15 2011 Ivan Afonichev <ivan.afonichev@gmail.com> 0:7.0.20-2
aedfd1
- Require java < 1.7.0
aedfd1
aedfd1
* Mon Aug 15 2011 Ivan Afonichev <ivan.afonichev@gmail.com> 0:7.0.20-1
aedfd1
- Updated to 7.0.20
aedfd1
aedfd1
* Tue Jul 26 2011 Ivan Afonichev <ivan.afonichev@gmail.com> 0:7.0.19-1
aedfd1
- Updated to 7.0.19
aedfd1
aedfd1
* Tue Jun 21 2011 Ivan Afonichev <ivan.afonichev@gmail.com> 0:7.0.16-1
aedfd1
- Updated to 7.0.16
aedfd1
aedfd1
* Mon Jun 6 2011 Ivan Afonichev <ivan.afonichev@gmail.com> 0:7.0.14-3
aedfd1
- Added initial systemd service
aedfd1
- Fix some paths
aedfd1
aedfd1
* Sat May 21 2011 Ivan Afonichev <ivan.afonichev@gmail.com> 0:7.0.14-2
aedfd1
- Fixed http source link
aedfd1
- Securify some permissions
aedfd1
- Added licenses for el-api and servlet-api
aedfd1
- Added dependency on jpackage-utils for the javadoc subpackage
aedfd1
aedfd1
* Sat May 14 2011 Ivan Afonichev <ivan.afonichev@gmail.com> 0:7.0.14-1
aedfd1
- Updated to 7.0.14
aedfd1
aedfd1
* Thu May 5 2011 Ivan Afonichev <ivan.afonichev@gmail.com> 0:7.0.12-4
aedfd1
- Provided local paths for libs
aedfd1
- Fixed dependencies
aedfd1
- Fixed update temp/work cleanup
aedfd1
aedfd1
* Mon May 2 2011 Ivan Afonichev <ivan.afonichev@gmail.com> 0:7.0.12-3
aedfd1
- Fixed package groups
aedfd1
- Fixed some permissions
aedfd1
- Fixed some links
aedfd1
- Removed old tomcat6 crap
aedfd1
aedfd1
* Thu Apr 28 2011 Ivan Afonichev <ivan.afonichev@gmail.com> 0:7.0.12-2
aedfd1
- Package now named just tomcat instead of tomcat7
aedfd1
- Removed Provides:  %{name}-log4j
aedfd1
- Switched to apache-commons-* names instead of jakarta-commons-* .
aedfd1
- Remove the old changelog
aedfd1
- BR/R java >= 1:1.6.0 , same for java-devel
aedfd1
- Removed old tomcat6 crap
aedfd1
aedfd1
* Wed Apr 27 2011 Ivan Afonichev <ivan.afonichev@gmail.com> 0:7.0.12-1
aedfd1
- Tomcat7