SPECS: jira-enterprise.spec - more TODO - install README.PLD - more directo...

pawelz pawelz at pld-linux.org
Mon Apr 13 01:41:55 CEST 2009


Author: pawelz                       Date: Sun Apr 12 23:41:55 2009 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- more TODO
- install README.PLD
- more directories

---- Files affected:
SPECS:
   jira-enterprise.spec (1.7 -> 1.8) 

---- Diffs:

================================================================
Index: SPECS/jira-enterprise.spec
diff -u SPECS/jira-enterprise.spec:1.7 SPECS/jira-enterprise.spec:1.8
--- SPECS/jira-enterprise.spec:1.7	Mon Apr 13 00:58:07 2009
+++ SPECS/jira-enterprise.spec	Mon Apr 13 01:41:50 2009
@@ -1,6 +1,7 @@
 # $Revision$, $Date$
-# TODO
+# TODO:
 # - ask atlassian for permission to redistribute it.
+# - ERROR: Class version could not be extracted from /home/z/tmp/jira-enterprise-3.13.3-root-z/usr/share/jira/WEB-INF/classes/com/atlassian/jira/servlet/CaptchaService.class
 %include	/usr/lib/rpm/macros.java
 Summary:	JIRA bug and issue tracker
 Name:		jira-enterprise
@@ -15,6 +16,7 @@
 # NoSource1-md5:	0c1184bc77a55cb09c3cd1a66ca06b4f
 NoSource:	1
 Source2:	%{name}-context.xml
+Source3:	%{name}-README.PLD
 URL:		http://www.atlassian.com/software/jira/default.jsp
 BuildRequires:	jpackage-utils
 BuildRequires:	rpm-javaprov
@@ -35,12 +37,15 @@
 %prep
 %setup -q -n atlassian-%{name}-%{version} -a 1
 
+cp %{SOURCE3} README.PLD
+
 %build
 %ant compile
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_sysconfdir}/jira,%{_datadir},%{_sharedstatedir}/{jira/jiradb,tomcat/conf/Catalina/localhost}}
+install -d $RPM_BUILD_ROOT{%{_sysconfdir}/jira,%{_datadir},%{_sharedstatedir}/tomcat/conf/Catalina/localhost}
+install -d $RPM_BUILD_ROOT%{_sharedstatedir}/jira/{jiradb,index,attachments,backups}
 install %{SOURCE2} $RPM_BUILD_ROOT%{_sharedstatedir}/tomcat/conf/Catalina/localhost/jira.xml
 cp -a tmp/build/war $RPM_BUILD_ROOT%{_datadir}/jira
 
@@ -60,7 +65,11 @@
 %{_datadir}/jira
 %attr(2775,root,servlet) %dir %{_sharedstatedir}/jira
 %attr(2775,root,servlet) %dir %{_sharedstatedir}/jira/jiradb
+%attr(2775,root,servlet) %dir %{_sharedstatedir}/jira/index
+%attr(2775,root,servlet) %dir %{_sharedstatedir}/jira/attachments
+%attr(2775,root,servlet) %dir %{_sharedstatedir}/jira/backups
 %{_datadir}/tomcat/common/lib/*.jar
+%doc licenses/csv.license README.PLD
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -68,6 +77,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.8  2009/04/12 23:41:50  pawelz
+- more TODO
+- install README.PLD
+- more directories
+
 Revision 1.7  2009/04/12 22:58:07  pawelz
 - copy files from directory, not the directory itself
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/jira-enterprise.spec?r1=1.7&r2=1.8&f=u



More information about the pld-cvs-commit mailing list