]> git.pld-linux.org Git - packages/jenkins.git/blame - jenkins.spec
- up to 1.335, dedicated to _zork_
[packages/jenkins.git] / jenkins.spec
CommitLineData
bd576c3d 1# TODO
deef92a8 2# - build it from sources
90079d51 3# https://hudson.dev.java.net/files/documents/2402/125619/hudson-1.280-src.zip
050ac313 4# - use system jars
bd576c3d
ER
5%include /usr/lib/rpm/macros.java
6Summary: Hudson Continuous Build Server
7Name: hudson
a9557823 8Version: 1.335
82ea2910 9Release: 1
bd576c3d 10License: MIT License
82ea2910 11Group: Networking/Daemons/Java/Servlets
a1735d7d 12# Check for new releases and URLs here: https://hudson.dev.java.net/servlets/ProjectRSS?type=news
a9557823 13Source0: http://dlc.sun.com/hudson/downloads/war/%{version}/%{name}.war
14# Source0-md5: 27fedd4b7e39fdeb3b0e8b3c237eb511
8cb70730 15Source1: %{name}-web.xml
16Source2: %{name}-context.xml
bd576c3d
ER
17URL: https://hudson.dev.java.net/
18BuildRequires: jpackage-utils
19BuildRequires: rpm-javaprov
20BuildRequires: rpmbuild(macros) >= 1.300
036adb4f 21Requires: group(servlet)
bd576c3d
ER
22Requires: jpackage-utils
23BuildArch: noarch
24BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26%description
27Hudson monitors executions of repeated jobs, such as building a
28software project or jobs run by cron.
29
30Among those things, current Hudson focuses on the following two jobs:
31- Building/testing software projects continuously, just like
32 CruiseControl or DamageControl. In a nutshell, Hudson provides an
33 easy-to-use so-called continuous integration system, making it easier
34 for developers to integrate changes to the project, and making it
35 easier for users to obtain a fresh build. The automated, continoues
36 build increases the productivity.
37- Monitoring executions of externally-run jobs, such as cron jobs and
38 procmail jobs, even those that are run on a remote machine. For
39 example, with cron, all you receive is regular e-mails that capture
40 the output, and it is up to you to look at them diligently and notice
41 when it broke. Hudson keeps those outputs and makes it easy for you to
42 notice when something is wrong.
43
44%prep
8cb70730 45%setup -qc
bd576c3d 46
82ea2910 47rm *.class
48rm winstone.jar
49
bd576c3d
ER
50%install
51rm -rf $RPM_BUILD_ROOT
deef92a8 52install -d $RPM_BUILD_ROOT{%{_sysconfdir}/hudson,%{_datadir}/hudson,%{_sharedstatedir}/{hudson,tomcat/conf/Catalina/localhost}}
050ac313
ER
53install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/hudson/web.xml
54install %{SOURCE2} $RPM_BUILD_ROOT%{_sharedstatedir}/tomcat/conf/Catalina/localhost/hudson.xml
deef92a8 55cp -a . $RPM_BUILD_ROOT%{_datadir}/hudson
56ln -sf %{_sysconfdir}/hudson/web.xml $RPM_BUILD_ROOT%{_datadir}/hudson/WEB-INF/web.xml
bd576c3d
ER
57
58%clean
59rm -rf $RPM_BUILD_ROOT
60
61%files
62%defattr(644,root,root,755)
8cb70730 63%dir %{_sysconfdir}/hudson
64%config(noreplace) %{_sysconfdir}/hudson/web.xml
65# do not make this file writeable by tomcat. We do not want to allow user to
66# undeploy this app via tomcat manager.
67%config(noreplace) %{_sharedstatedir}/tomcat/conf/Catalina/localhost/hudson.xml
deef92a8 68%{_datadir}/hudson
036adb4f 69%attr(2775,root,servlet) %dir %{_sharedstatedir}/hudson
This page took 0.096562 seconds and 4 git commands to generate.