packages: jtrac/jtrac.spec (NEW) - initial
pawelz
pawelz at pld-linux.org
Tue Nov 17 15:01:48 CET 2009
Author: pawelz Date: Tue Nov 17 14:01:48 2009 GMT
Module: packages Tag: HEAD
---- Log message:
- initial
---- Files affected:
packages/jtrac:
jtrac.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/jtrac/jtrac.spec
diff -u /dev/null packages/jtrac/jtrac.spec:1.1
--- /dev/null Tue Nov 17 15:01:48 2009
+++ packages/jtrac/jtrac.spec Tue Nov 17 15:01:42 2009
@@ -0,0 +1,129 @@
+# $Revision$, $Date$
+# TODO
+# - build it from sources
+
+Summary: Issue-tracking web application
+Name: jtrac
+Version: 2.1.0
+Release: 0.1
+License: Apache v2.0
+Group: Networking/Daemons/Java/Servlets
+Source0: http://sourceforge.net/projects/j-trac/files/jtrac/2.1.0/jtrac-2.1.0.zip
+Source1: %{name}-context.xml
+# Source0-md5: 6254396d33012f65d0886b67287b257b
+URL: http://sourceforge.net/projects/j-trac/
+BuildRequires: jpackage-utils
+BuildRequires: rpm-javaprov
+BuildRequires: rpmbuild(macros) >= 1.300
+Requires: tomcat
+Requires: jpackage-utils
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+JTrac is a generic issue-tracking web-application that can be easily
+customized by adding custom fields and drop-downs. Features include
+customizable workflow, field level permissions, e-mail integration, file
+attachments and a detailed history view.
+
+%prep
+%setup -qc
+unzip -d jtrac jtrac.war
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_sysconfdir}/%{name},%{_datadir}/%{name},%{_sharedstatedir}/{%{name},tomcat/conf/Catalina/localhost}}
+install %{SOURCE2} $RPM_BUILD_ROOT%{_sharedstatedir}/tomcat/conf/Catalina/localhost/%{name}.xml
+cp -a . $RPM_BUILD_ROOT%{_datadir}/%{name}
+ln -sf %{_sysconfdir}/%{name}/web.xml $RPM_BUILD_ROOT%{_datadir}/%{name}/WEB-INF/web.xml
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%dir %{_sysconfdir}/%{name}
+# do not make this file writeable by tomcat. We do not want to allow user to
+# undeploy this app via tomcat manager.
+%config(noreplace) %{_sharedstatedir}/tomcat/conf/Catalina/localhost/%{name}.xml
+%{_datadir}/%{name}
+%attr(2775,root,servlet) %dir %{_sharedstatedir}/%{name}
+
+%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1 2009/11/17 14:01:42 pawelz
+- initial
+
+Revision 1.20 2009/09/22 08:55:03 pawelz
+- up to 1.324
+
+Revision 1.19 2009/08/12 11:11:42 pawelz
+- up to 1.319
+
+Revision 1.18 2009/05/27 09:09:41 pawelz
+- up to 1.307
+
+Revision 1.17 2009/05/13 09:47:33 pawelz
+- up to 1.304
+
+Revision 1.16 2009/04/23 15:52:09 pawelz
+- up to 1.300
+- G: Networking/Daemons/Java/Servlets
+- do not install embedded servlet container, we deploy it into tomcat
+- rel 1
+
+Revision 1.15 2009/04/12 15:17:51 glen
+- todo
+
+Revision 1.14 2009/04/12 15:10:20 pawelz
+- drop stupid R: java-servlet-container
+- R: group(servlet)
+- chmod 2775, chgrp servlet for /var/lib/hudson
+
+Revision 1.13 2009/03/16 15:02:56 pawelz
+- up to 1.292
+
+Revision 1.12 2009/02/27 11:42:18 pawelz
+- up to 286
+
+Revision 1.11 2009/02/27 11:22:33 pawelz
+- require any java-servlet-container
+
+Revision 1.10 2009/02/02 15:18:40 pawelz
+- once again md5. Is it correct now?
+
+Revision 1.9 2009/02/02 15:05:53 pawelz
+- md5
+
+Revision 1.8 2009/02/02 15:04:16 pawelz
+- up to 1.280
+
+Revision 1.7 2009/02/01 23:27:52 pawelz
+- do not be so tomcat-centric. Use /usr/share/hudson instead of
+ /usr/share/tomcat/webapps/hudson
+- not tested. Please backup you /var/lib/hudson befor upgrading!
+
+Revision 1.6 2009/01/26 10:56:24 pawelz
+- require apache-tomcat version that uses tomcat uid/gid
+
+Revision 1.5 2009/01/26 10:52:44 pawelz
+- use tomcat uid/gid
+
+Revision 1.4 2009/01/26 10:03:52 glen
+- use dot rather asterisk for smaller build log ;)
+
+Revision 1.3 2009/01/26 09:05:16 pawelz
+- deploy hudson in tomcat
+- is this a correct way to package .war apps? Please comment. It works
+ out-of-the-box. If you have apache-tomcat installed, you can just
+ rpm -ivh hudson and it works.
+
+Revision 1.2 2009/01/26 07:50:11 pawelz
+- up to 1.278
+
+Revision 1.1 2008/12/29 11:02:14 glen
+- new, just skeleton
================================================================
More information about the pld-cvs-commit
mailing list