]> git.pld-linux.org Git - packages/tomcat.git/blame - tomcat.spec
- updated pl
[packages/tomcat.git] / tomcat.spec
CommitLineData
f045ab88 1#
eca62e60
ER
2# Conditional build:
3%bcond_with binary # build from binary source
4%bcond_without javadoc # skip building javadocs
5#
6Summary: Apache Servlet/JSP Engine, RI for Servlet 2.4/JSP 2.0 API
f045ab88 7Summary(pl.UTF-8): Silnik Servlet/JSP Apache będący wzorcową implementacją API Servlet 2.4/JSP 2.0
623f0978 8Name: jakarta-tomcat
eca62e60
ER
9Version: 5.5.23
10Release: 0.1
802a649b 11License: Apache
623f0978 12Group: Development/Languages/Java
eca62e60
ER
13#Source0: http://www.apache.org/dist/tomcat/tomcat-5/v5.0.30/src/%{name}-%{version}-src.tar.gz
14Source0: http://www.apache.org/dist/tomcat/tomcat-5/v%{version}/src/apache-tomcat-%{version}-src.tar.gz
15# Source0-md5: 362d1d8b15dc09882440dcab8c592dd7
16#Source0: http://apache.zone-h.org/
17Source1: %{name}.init
7bfc9a0d
ER
18Patch0: apache-tomcat-skip-servletapi.patch
19Patch1: apache-tomcat-nsis.patch
20Patch2: apache-tomcat-native.patch
21Patch3: apache-tomcat-skip-jdt.patch
aef723ef 22URL: http://tomcat.apache.org/
a0446376 23# required:
498e9275 24BuildRequires: ant >= 1.5.3
6c0937ca 25BuildRequires: jaas
cb354147 26BuildRequires: jakarta-commons-beanutils
8129909e 27BuildRequires: jakarta-commons-collections
7bfc9a0d
ER
28BuildRequires: jakarta-commons-collections-source
29BuildRequires: jakarta-commons-daemon
30BuildRequires: jakarta-commons-dbcp
31BuildRequires: jakarta-commons-dbcp-source
cb354147 32BuildRequires: jakarta-commons-digester
3389dfb4 33BuildRequires: jakarta-commons-fileupload
7bfc9a0d 34BuildRequires: jakarta-commons-httpclient
8129909e 35BuildRequires: jakarta-commons-logging
7bfc9a0d
ER
36BuildRequires: jakarta-commons-modeler >= 2.0
37BuildRequires: jakarta-commons-pool
38BuildRequires: jakarta-commons-pool-source
389e46b9 39BuildRequires: jakarta-regexp
7bfc9a0d 40BuildRequires: jakarta-servletapi5
834c4a58 41BuildRequires: jakarta-struts >= 1.0.2
42BuildRequires: jaxp_parser_impl
7bfc9a0d 43BuildRequires: jdk >= 1.5
6c0937ca 44BuildRequires: jpackage-utils
f271c61b 45BuildRequires: mx4j >= 1.1.1
46BuildRequires: puretls
6c0937ca 47BuildRequires: rpmbuild(macros) >= 1.300
eca62e60 48BuildRequires: xerces-j
7bfc9a0d
ER
49%if %{with javadoc}
50BuildRequires: commons-el
51%endif
a0446376 52# optional:
834c4a58 53BuildRequires: jaf >= 1.0.1
4bd6f1ef 54BuildRequires: jakarta-commons-dbcp
4bd6f1ef 55BuildRequires: jakarta-commons-pool
834c4a58 56BuildRequires: javamail >= 1.2
a0446376 57BuildRequires: jdbc-stdext >= 2.0
a0446376 58BuildRequires: jndi >= 1.2.1
a0446376
JB
59BuildRequires: jsse >= 1.0.2
60BuildRequires: jta >= 1.0.1
a0446376 61BuildRequires: junit >= 3.7
eca62e60 62BuildRequires: rpmbuild(macros) >= 1.268
834c4a58 63BuildRequires: tyrex >= 1.0
f271c61b 64BuildRequires: xml-commons
8129909e
ER
65Requires(post,postun): /sbin/ldconfig
66Requires(post,preun): /sbin/chkconfig
67Requires(postun): /usr/sbin/groupdel
68Requires(postun): /usr/sbin/userdel
69Requires(pre): /bin/id
70Requires(pre): /usr/bin/getgid
71Requires(pre): /usr/sbin/groupadd
72Requires(pre): /usr/sbin/useradd
73Requires: jaas
74Requires: jaf >= 1.0.1
cb354147 75Requires: jakarta-commons-beanutils
8129909e 76Requires: jakarta-commons-collections
cb354147 77Requires: jakarta-commons-digester
3389dfb4 78Requires: jakarta-commons-fileupload
8129909e 79Requires: jakarta-commons-logging
a0446376 80Requires: jakarta-regexp
8129909e
ER
81Requires: jakarta-servletapi >= 4
82Requires: javamail >= 1.2
83Requires: jaxp_parser_impl
a0446376 84Requires: jdbc-stdext >= 2.0
a0446376 85Requires: jndi >= 1.2.1
8129909e 86Requires: jre >= 1.2
a0446376
JB
87Requires: jsse >= 1.0.2
88Requires: jta >= 1.0.1
8129909e 89Requires: mx4j >= 1.1.1
eca62e60 90Requires: rc-scripts
2c569e8e 91Requires: tyrex >= 1.0
f271c61b 92Requires: xml-commons
834c4a58 93Provides: group(http)
94Provides: user(http)
623f0978 95BuildArch: noarch
96BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
97
623f0978 98%define _tomcatdir %{_libdir}/tomcat
99%define _logdir %{_var}/log
a0446376 100%define _vardir %{_var}/lib/tomcat
623f0978 101
102%description
eca62e60
ER
103Tomcat is the servlet container that is used in the official Reference
104Implementation for the Java Servlet and JavaServer Pages technologies.
105The Java Servlet and JavaServer Pages specifications are developed by
106Sun under the Java Community Process.
623f0978 107
eca62e60
ER
108Tomcat is developed in an open and participatory environment and
109released under the Apache Software License. Tomcat is intended to be a
110collaboration of the best-of-breed developers from around the world.
111We invite you to participate in this open development project.
112
f045ab88
JB
113%description -l pl.UTF-8
114Tomcat to kontener serwletowy używany przez oficjalną implementację
115wzorcową technologii Java Servlet i JavaServer Pages. Specyfikacje
116Java Servlet i JavaServer Pages są rozwijane przez Suna zgodnie z
117Java Community Process.
623f0978 118
119%package doc
ff740076 120Summary: The Tomcat Servlet/JSP Container documentation
f045ab88 121Summary(pl.UTF-8): Dokumentacja do Tomcata - kontekera Servlet/JSP
623f0978 122Group: Development/Languages/Java
623f0978 123
124%description doc
e1f70dd8
JB
125The Tomcat Servlet/JSP Container documentation.
126
f045ab88
JB
127%description doc -l pl.UTF-8
128Dokumentacja do Tomcata - kontekera Servlet/JSP.
623f0978 129
130%prep
7bfc9a0d
ER
131%setup -q -n apache-tomcat-%{version}-src
132%patch0 -p1
133%patch1 -p1
134%patch2 -p1
135%patch3 -p1
136
137# servletapi built from jakarta-servletapi5
138rm -rf servletapi
eca62e60
ER
139
140# Remove pre-built jars
141find -name '*.jar' | xargs rm -fv
623f0978 142
143%build
eca62e60 144TOPDIR=$(pwd)
7bfc9a0d
ER
145#xerces.jar=$(build-classpath xerces)
146#jasper-compiler-jdt.jar=$(build-classpath jdtcore)
eca62e60 147
7bfc9a0d
ER
148mkdir -p tomcat-deps
149> tomcat-deps/tomcat-dbcp.jar
eca62e60 150
7bfc9a0d
ER
151%if 0
152# build jasper javadocs
153cd jasper
154CLASSPATH=$(build-classpath xml-commons-apis)
eca62e60
ER
155cat > build.properties <<EOF
156ant.jar=$(build-classpath ant)
7bfc9a0d
ER
157servlet-api.jar=$(build-classpath servlet-api)
158jsp-api.jar=$(build-classpath jsp-api)
eca62e60 159tools.jar=%{java_home}/lib/tools.jar
eca62e60
ER
160xercesImpl.jar=$(build-classpath jaxp_parser_impl)
161xmlParserAPIs.jar=$(build-classpath xml-commons-apis)
eca62e60
ER
162commons-collections.jar=$(build-classpath commons-collections)
163commons-logging.jar=$(build-classpath commons-logging)
164commons-daemon.jar=$(build-classpath commons-daemon)
165junit.jar=$(build-classpath junit)
7bfc9a0d 166commons-el.jar=$(build-classpath commons-el)
eca62e60 167EOF
7bfc9a0d
ER
168# building jasper needs eclipse classes
169#%ant dist
170
171%if %{with javadoc}
172%ant javadoc \
173 -Dcompile.source=1.4 \
174 -Dbuild.compiler=modern \
175
176%endif
177cd -
178%endif
eca62e60
ER
179
180# build tomcat 5.5
7bfc9a0d
ER
181#cd build
182cat > build.properties <<EOF
eca62e60 183commons-beanutils.jar=$(build-classpath commons-beanutils)
7bfc9a0d
ER
184commons-launcher.jar=$(build-classpath commons-launcher)
185commons-daemon.jar=$(build-classpath commons-daemon)
eca62e60
ER
186commons-digester.jar=$(build-classpath commons-digester)
187commons-el.jar=$(build-classpath commons-el)
eca62e60 188commons-logging-api.jar=$(build-classpath commons-logging-api)
7bfc9a0d 189commons-logging.jar=$(build-classpath commons-logging)
eca62e60 190commons-modeler.jar=$(build-classpath commons-modeler)
7bfc9a0d
ER
191xercesImpl.jar=$(build-classpath jaxp_parser_impl)
192xml-apis.jar=$(build-classpath xml-commons-apis)
193%if 0
194jdt.jar=${jdt.lib}/org.eclipse.jdt.core_3.1.2.jar
195log4j.jar=${log4j.lib}/dist/lib/log4j-1.2.12.jar
196%endif
197commons-httpclient.jar=$(build-classpath commons-httpclient)
198commons-collections.jar=$(build-classpath commons-collections)
199commons-fileupload.jar=$(build-classpath commons-fileupload)
200
201
202%if 0
203jmx.jar=${jmx.lib}/mx4j.jar
204%endif
eca62e60 205jmx.jar=$(build-classpath jre/jmx)
7bfc9a0d
ER
206%if 0
207jmx-tools.jar=${jmx.lib}/mx4j-tools.jar
208%endif
eca62e60 209jmx-tools.jar=$(build-classpath jre/jmx)
7bfc9a0d
ER
210%if 0
211jmx-remote.jar=${jmx.lib}/mx4j-remote.jar
212%endif
eca62e60 213junit.jar=$(build-classpath junit)
7bfc9a0d
ER
214%if 0
215rhino.jar=${rhino.home}/js.jar
216%endif
217struts.jar=$(build-classpath struts)
218activation.jar=$(build-classpath jaf)
219jcert.jar=$(build-classpath java/jcert)
220jnet.jar=$(build-classpath java/jnet)
221jsse.jar=$(build-classpath java/jsse)
222jta.jar=$(build-classpath jta)
223mail.jar=$(build-classpath javamail/mailapi)
224puretls.jar=$(build-classpath puretls)
225
226servlet-api.jar=$(build-classpath servlet-api)
227# how the fck those bools work
228# build.xml:103: servletapi/jsr154/src not found.
229servletapi.build.notrequired=true
230
231jsp-api.jar=$(build-classpath jsp-api)
232jspapi.build.notrequired=true
233
234log4j.jar=$(build-classpath logging-log4j)
235#log4j.loc=%{_javadir}
236
237# source is needed because source is copied modified and recompiled as tomcat jar
238# see <target name="-build-tomcat-dbcp"> in build/build.xml
239tomcat-dbcp.home=
240commons-collections.home=%{_prefix}/src/jakarta-commons-collections-3.1
241commons-pool.home=%{_prefix}/src/jakarta-commons-pool-1.3
242commons-dbcp.home=%{_prefix}/src/jakarta-commons-dbcp-1.2.1
243tomcat-dbcp.home=$TOPDIR/tomcat-deps
244# err, it compiles three above and then appends to the jar, so the file should exist
245tomcat-dbcp.jar=$TOPDIR/tomcat-deps/tomcat-dbcp.jar
246
247%if 0
248ant.jar=%{_javadir}/ant.jar
249ant-launcher.jar=%{_javadir}/ant-launcher.jar
250jtc.home=$TOPDIR/jakarta-tomcat-connectors/
251jasper.home=$TOPDIR/jakarta-tomcat-jasper/jasper2
252commons-dbcp.jar=$(build-classpath commons-dbcp)
253commons-pool.jar=$(build-classpath commons-pool)
254jmxri.jar=$(build-classpath jre/jmx)
eca62e60 255regexp.jar=$(build-classpath regexp)
eca62e60
ER
256jsp-api.jar=$TOPDIR/jakarta-servletapi-5/jsr152/dist/lib/jsp-api.jar
257servlet.doc=$TOPDIR/jakarta-servletapi-5/jsr154/dist/docs/api
eca62e60 258struts.lib=%{_datadir}/struts
7bfc9a0d 259servletapi.build.notrequired=true
eca62e60
ER
260tyrex.jar=$(build-classpath tyrex)
261jaas.jar=$(build-classpath jre/jaas)
262jndi.jar=$(build-classpath jre/jndi)
263jdbc20ext.jar=$(build-classpath jdbc-stdext)
eca62e60
ER
264jspapi.build.notrequired=true
265taglibs-core.jar=$(build-classpath taglibs-core)
266taglibs-standard.jar=$(build-classpath taglibs-standard)
7bfc9a0d
ER
267%endif
268
eca62e60
ER
269EOF
270
7bfc9a0d 271%ant
eca62e60
ER
272
273exit 1
274
eca62e60 275# build the connectors
7bfc9a0d
ER
276cd connectors
277
278%if 0
eca62e60
ER
279
280# this is just plain and simply evil but something changed in a major way between 5.0.16 and 5.0.18
281oldclasspath=$CLASSPATH
282export CLASSPATH=$TOPDIR/jakarta-servletapi-5/jsr154/dist/lib/servlet-api.jar:\
283$TOPDIR/jakarta-tomcat-5/build/server/lib/catalina.jar
7bfc9a0d
ER
284%endif
285
286%if 0
287cat > build.properties <<EOF
eca62e60 288
eca62e60
ER
289activation.jar=$(build-classpath jaf)
290ant.jar=%{_javadir}/ant.jar
291junit.jar=$(build-classpath junit)
292commons-beanutils.jar=$(build-classpath commons-beanutils)
293commons-collections.jar=$(build-classpath commons-collections)
294commons-digester.jar=$(build-classpath commons-digester)
295commons-fileupload.jar=$(build-classpath commons-fileupload)
296commons-logging.jar=$(build-classpath commons-logging)
297commons-logging-api.jar=$(build-classpath commons-logging-api)
298commons-modeler.jar=$(build-classpath commons-modeler)
299commons-pool.jar=$(build-classpath commons-pool)
300regexp.jar=$(build-classpath regexp)
301jmx.jar=$(build-classpath mx4j/mx4j)
302puretls=$(build-classpath puretls)
303activation.jar=$(build-classpath jaf)
304mail.jar=$(build-classpath javamail/mailapi)
305jta.jar=$(build-classpath jta)
306tyrex.jar=$(build-classpath tyrex)
307jaas.jar=$(build-classpath jaas)
308jndi.jar=$(build-classpath jndi)
309jdbc20ext.jar=$(build-classpath java/jdbc-stdext)
310puretls.jar=$(build-classpath puretls)
311jcert.jar=$(build-classpath jsse/jcert)
312jnet.jar=$(build-classpath jsse/jnet)
313jsse.jar=$(build-classpath jsse/jsse)
7bfc9a0d
ER
314
315%endif
316
317%if 0
318commons-beanutils.jar=${commons-beanutils.lib}/commons-beanutils.jar
319commons-collections.jar=${commons-collections.lib}/commons-collections.jar
320commons-digester.jar=${commons-digester.lib}/commons-digester.jar
321commons-fileupload.jar=${commons-fileupload.lib}/commons-fileupload-1.0-beta-1.jar
322commons-logging-api.jar=${commons-logging.lib}/commons-logging-api.jar
323commons-logging.jar=${commons-logging.lib}/commons-logging.jar
324jndi.jar=${jndi.lib}/jndi.jar
325ldap.jar=${jndi.lib}/ldap.jar
326jaas.jar=${jndi.lib}/jaas.jar
327regexp.jar=${regexp.lib}/jakarta-regexp-1.4.jar
328servlet.jar=${servlet.lib}/servlet.jar
329#xerces.jar=${xerces.lib}/xerces.jar
330xercesImpl.jar=${xerces.lib}/xercesImpl.jar
331xml-apis.jar=${xerces.lib}/xml-apis.jar
332activation.jar=${activation.lib}/activation.jar
333commons-daemon.jar=${commons-daemon.lib}/commons-daemon.jar
334commons-dbcp.jar=${commons-dbcp.lib}/commons-dbcp.jar
335commons-modeler.jar=${commons-modeler.lib}/commons-modeler.jar
336commons-pool.jar=${commons-pool.lib}/commons-pool.jar
337jdbc20ext.jar=${jdbc20ext.lib}/jdbc2_0-stdext.jar
338jmx.jar=${jmx.lib}/mx4j-jmx.jar
339jcert.jar=${jsse.lib}/jcert.jar
340jnet.jar=${jsse.lib}/jnet.jar
341jsse.jar=${jsse.lib}/jsse.jar
342jta.jar=${jta.lib}/jta.jar
343junit.jar=${junit.lib}/junit.jar
344mail.jar=${mail.lib}/mail.jar
345puretls.jar=${puretls.lib}/puretls.jar
346struts.jar=${struts.lib}/struts.jar
347tyrex.jar=${tyrex.lib}/tyrex-1.0.jar
348tomcat5.jar=${tomcat5.home}/server/lib/catalina.jar
349servlet-api.jar=${tomcat5.home}/common/lib/servlet-api.jar
350tomcat41.jar=${tomcat41.home}/server/lib/catalina.jar
351servlet-api.jar=${tomcat41.home}/common/lib/servlet.jar
352tomcat33.jar=${tomcat33.home}/lib/common/tomcat_core.jar
353%endif
354
355
356%if 0
357EOF
358%ant build \
359 -Dbuild.compiler=modern \
360 -Djava.home=%{java_home}
361%endif
362%if 0
eca62e60 363export CLASSPATH=$oldclasspath
f271c61b 364
eca62e60
ER
365# build the webapps and make the tree ready to install
366cd ../jakarta-tomcat-5
367%ant -Dbuild.compiler=modern -Djava.home=%{java_home} dist
368%endif
623f0978 369
370%install
371rm -rf $RPM_BUILD_ROOT
372
f271c61b 373DEST=$RPM_BUILD_ROOT%{_tomcatdir}
374
375install -d $DEST/bin \
376 $DEST/common/{lib,classes,endorsed} \
377 $DEST/server/{lib,classes} \
378 $DEST/webapps \
389e46b9 379 $RPM_BUILD_ROOT%{_sysconfdir}/tomcat \
a0446376
JB
380 $RPM_BUILD_ROOT%{_logdir}/tomcat \
381 $RPM_BUILD_ROOT%{_vardir}/work \
382 $RPM_BUILD_ROOT/etc/rc.d/init.d
389e46b9 383
f271c61b 384install build/bin/*.sh $DEST/bin
385install build/bin/bootstrap*.jar $DEST/bin
386install build/bin/tomcat*.jar $DEST/bin
387install build/common/lib/naming-*.jar $DEST/common/lib
388install build/common/lib/jasper-*.jar $DEST/common/lib
389install build/conf/* $RPM_BUILD_ROOT%{_sysconfdir}/tomcat
390install build/server/lib/catalina*.jar $DEST/server/lib
391install build/server/lib/servlets*.jar $DEST/server/lib
392install build/server/lib/tomcat*.jar $DEST/server/lib
393install build/server/lib/servlets-cgi.renametojar $DEST/server/lib/servlets-cgi.jar
394install build/server/lib/servlets-ssi.renametojar $DEST/server/lib/servlets-ssi.jar
395cp -rf build/server/webapps $DEST/server
396cp -rf build/webapps $DEST
397cp -rf build/shared $DEST
398cp -rf build/temp $DEST
399
400ln -sf %{_logdir}/tomcat $DEST/logs
401ln -sf %{_vardir}/work $DEST/work
402ln -sf %{_sysconfdir}/tomcat $DEST/conf
623f0978 403
1170ecd4 404# symlinks instead of copies
eca62e60
ER
405ln -sf %{_javadir}/commons-daemon.jar $DEST/bin
406
407ln -sf %{_javadir}/activation.jar $DEST/common/lib
408ln -sf %{_javadir}/ant.jar $DEST/common/lib
409ln -sf %{_javadir}/commons-collections.jar $DEST/common/lib
410ln -sf %{_javadir}/commons-dbcp.jar $DEST/common/lib
411ln -sf %{_javadir}/commons-logging-api.jar $DEST/common/lib
412ln -sf %{_javadir}/commons-pool.jar $DEST/common/lib
413ln -sf %{_javadir}/servlet.jar $DEST/common/lib
414ln -sf %{_javadir}/servlet.jar $DEST/common/lib/servletapi4.jar
415ln -sf %{_javadir}/jdbc-stdext.jar $DEST/common/lib/jdbc2_0-stdext.jar
416ln -sf %{_javadir}/jdbc-stdext.jar $DEST/common/lib/jdbc-stdext-2.0.jar
417ln -sf %{_javadir}/jmxri.jar $DEST/common/lib
418ln -sf %{_javadir}/jndi.jar $DEST/common/lib
419ln -sf %{_javadir}/jta.jar $DEST/common/lib
420ln -sf %{_javadir}/mail.jar $DEST/common/lib
421ln -sf %{_javadir}/jsse.jar $DEST/common/lib
422ln -sf %{_javadir}/tyrex.jar $DEST/common/lib
423ln -sf %{_javadir}/junit.jar $DEST/common/lib
424
425ln -sf %{_javadir}/mailapi.jar $DEST/common/lib
426ln -sf %{_javadir}/pop3.jar $DEST/common/lib
427ln -sf %{_javadir}/pop3.jar $DEST/common/lib/pop.jar
428ln -sf %{_javadir}/smtp.jar $DEST/common/lib
429ln -sf %{_javadir}/imap.jar $DEST/common/lib
430
431ln -sf %{_javadir}/commons-beanutils.jar $DEST/server/lib
432ln -sf %{_javadir}/commons-digester.jar $DEST/server/lib
433ln -sf %{_javadir}/commons-fileupload.jar $DEST/server/lib
434ln -sf %{_javadir}/commons-logging.jar $DEST/server/lib
435ln -sf %{_javadir}/commons-modeler.jar $DEST/server/lib
436ln -sf %{_javadir}/jaas.jar $DEST/server/lib/jaas.jar
437ln -sf %{_javadir}/mx4j-jmx.jar $DEST/server/lib
438ln -sf %{_javadir}/regexp.jar $DEST/server/lib
439ln -sf %{_javadir}/regexp.jar $DEST/server/lib/jakarta-regexp-1.2.jar
440ln -sf %{_javadir}/regexp.jar $DEST/server/lib/regexp-1.2.jar
441
442ln -sf %{_javadir}/jaxp_parser_impl.jar $DEST/common/endorsed
443ln -sf %{_javadir}/xml-commons-apis.jar $DEST/common/endorsed
444
445ln -sf %{_javadir}/struts.jar $DEST/server/webapps/admin/WEB-INF/lib
446
447install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/tomcat
a0446376 448
623f0978 449%clean
450rm -rf $RPM_BUILD_ROOT
451
2b56d949 452%pre
37375245
ER
453%groupadd -g 51 -r -f http
454%useradd -u 51 -r -d /home/services/httpd -s /bin/false -c "HTTP User" -g http http
2b56d949 455
456%post
457/sbin/chkconfig --add tomcat
6c0937ca 458%service tomcat restart
2b56d949 459
460%preun
461if [ "$1" = "0" ]; then
6c0937ca 462 %service tomcat stop
2b56d949 463 /sbin/chkconfig --del tomcat
464fi
465
466%postun
467if [ "$1" = "0" ]; then
834c4a58 468 %userremove http
469 %groupremove http
2b56d949 470fi
471
623f0978 472%files
473%defattr(644,root,root,755)
802a649b 474%doc *.txt LICENSE
a0446376
JB
475%dir %{_tomcatdir}
476%dir %{_tomcatdir}/bin
389e46b9 477%attr(755,root,root) %{_tomcatdir}/bin/*.sh
389e46b9 478%{_tomcatdir}/bin/*.jar
a0446376
JB
479%dir %{_tomcatdir}/common
480%dir %{_tomcatdir}/common/classes
2b56d949 481%dir %{_tomcatdir}/common/endorsed
f271c61b 482%{_tomcatdir}/common/endorsed/*.jar
623f0978 483%{_tomcatdir}/common/lib
484%{_tomcatdir}/conf
623f0978 485%{_tomcatdir}/logs
a0446376
JB
486%dir %{_tomcatdir}/server
487%dir %{_tomcatdir}/server/classes
623f0978 488%{_tomcatdir}/server/lib
2b56d949 489%{_tomcatdir}/server/webapps
a0446376
JB
490%{_tomcatdir}/webapps
491%{_tomcatdir}/work
2b56d949 492%{_tomcatdir}/shared
493%{_tomcatdir}/temp
1170ecd4
JB
494# tomcat wants to regenerate tomcat-users.xml
495%attr(775,root,http) %dir %{_sysconfdir}/tomcat
8129909e 496%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/tomcat/*
a0446376
JB
497%attr(754,root,root) /etc/rc.d/init.d/tomcat
498%dir %{_vardir}
499%attr(1730,root,http) %dir %{_vardir}/work
500%attr(1730,root,http) %dir %{_logdir}/tomcat
623f0978 501
502%files doc
ff740076 503%defattr(644,root,root,755)
623f0978 504%doc catalina/docs/*
This page took 0.149776 seconds and 4 git commands to generate.