packages: jira-enterprise/jira-enterprise.spec - package plguin-timesheet
pawelz
pawelz at pld-linux.org
Mon Nov 23 12:53:11 CET 2009
Author: pawelz Date: Mon Nov 23 11:53:11 2009 GMT
Module: packages Tag: HEAD
---- Log message:
- package plguin-timesheet
---- Files affected:
packages/jira-enterprise:
jira-enterprise.spec (1.27 -> 1.28)
---- Diffs:
================================================================
Index: packages/jira-enterprise/jira-enterprise.spec
diff -u packages/jira-enterprise/jira-enterprise.spec:1.27 packages/jira-enterprise/jira-enterprise.spec:1.28
--- packages/jira-enterprise/jira-enterprise.spec:1.27 Sun Nov 22 18:35:43 2009
+++ packages/jira-enterprise/jira-enterprise.spec Mon Nov 23 12:53:05 2009
@@ -1,8 +1,12 @@
# $Revision$, $Date$
# TODO:
# - ask atlassian for permission to redistribute it.
+# - package plugin-timesheet as separate spec?
%include /usr/lib/rpm/macros.java
+
+%define plugintimesheetver 1.9
+
Summary: JIRA bug and issue tracker
Name: jira-enterprise
Version: 4.0
@@ -10,8 +14,9 @@
License: Proprietary, not distributable
Group: Networking/Daemons/Java/Servlets
# Sources:
-# http://www.atlassian.com/software/jira/downloads/binary/atlassian-%{name}-%{version}.tar.gz
-# http://www.atlassian.com/software/jira/docs/servers/jars/v1/jira-jars-tomcat5.zip
+# wget -c http://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-enterprise-4.0.tar.gz
+# wget -c http://www.atlassian.com/software/jira/docs/servers/jars/v1/jira-jars-tomcat5.zip
+# wget -c http://svn.atlassian.com/svn/public/contrib/jira/jira-timesheet-plugin/jars/atlassian-jira-plugin-timesheet-1.9.jar
Source0: atlassian-%{name}-%{version}.tar.gz
# NoSource0-md5: 173689228807247d9be56a0a0e8e1590
NoSource: 0
@@ -22,6 +27,11 @@
Source3: %{name}-entityengine.xml
Source4: %{name}-application.properties
Source5: %{name}-README.PLD
+# This one is distributable (even BSD licensed), but it make no sense to store
+# it in DF unles Source0 and Source1 are distributable.
+Source10: atlassian-jira-plugin-timesheet-%{plugintimesheetver}.jar
+# NoSource10-md5: c02f5d0e5300bffc966f79778d08e7eb
+NoSource: 10
URL: http://www.atlassian.com/software/jira/default.jsp
BuildRequires: jpackage-utils
BuildRequires: rpm-javaprov
@@ -40,6 +50,16 @@
More than just an issue tracker, JIRA is an extensible platform that
you can customise to match to your business processes.
+%package plugin-timesheet
+Summary: JIRA Timesheet report and portlet
+License: BSD
+Group: Libraries/Java
+URL: http://confluence.atlassian.com/display/JIRAEXT/Timesheet+report+and+portlet
+Requires: %{name} = %{version}-%{release}
+
+%description plugin-timesheet
+JIRA Timesheet report and portlet.
+
%prep
%setup -q -n atlassian-%{name}-%{version} -a1
@@ -78,12 +98,16 @@
hsqldbfilename=$(basename $(ls $RPM_BUILD_ROOT%{_datadir}/jira/WEB-INF/lib/hsql*jar))
ln -s %{_datadir}/jira/WEB-INF/lib/$hsqldbfilename $RPM_BUILD_ROOT%{_datadir}/tomcat/lib/hsqldb.jar
+# plugins
+install %{SOURCE10} $RPM_BUILD_ROOT%{_datadir}/jira/WEB-INF/lib/atlassian-jira-plugin-timesheet-%{plugintimesheetver}.jar
+
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
%{_datadir}/jira
+%exclude %{_datadir}/jira/WEB-INF/lib/atlassian-jira-plugin-timesheet-%{plugintimesheetver}.jar
%dir %attr(750,root,tomcat) %{_sysconfdir}/jira
%config(noreplace) %verify(not md5 mtime size) %attr(640,root,tomcat) %{_sysconfdir}/jira/*
%{_sharedstatedir}/tomcat/conf/Catalina/localhost/jira.xml
@@ -96,12 +120,19 @@
%attr(2775,root,servlet) %dir /var/log/jira
%doc licenses/csv.license README.PLD
+%files plugin-timesheet
+%defattr(644,root,root,755)
+%{_datadir}/jira/WEB-INF/lib/atlassian-jira-plugin-timesheet-%{plugintimesheetver}.jar
+
%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.28 2009/11/23 11:53:05 pawelz
+- package plguin-timesheet
+
Revision 1.27 2009/11/22 17:35:43 pawelz
- typo
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/jira-enterprise/jira-enterprise.spec?r1=1.27&r2=1.28&f=u
More information about the pld-cvs-commit
mailing list