]> git.pld-linux.org Git - packages/jenkins.git/blame - jenkins.spec
- partially reverted previous commit
[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
375624d5 8Version: 1.352
9e2f2e8b 9Release: 2
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
375624d5 14# Source0-md5: d065836161d34fd4e2925919c1ca39b8
8cb70730 15Source1: %{name}-web.xml
16Source2: %{name}-context.xml
bd576c3d
ER
17URL: https://hudson.dev.java.net/
18BuildRequires: jpackage-utils
19BuildRequires: rpm-javaprov
21b2e2a1 20BuildRequires: rpmbuild(macros) >= 1.546
21Requires: tomcat
bd576c3d 22Requires: jpackage-utils
2777ea66 23Requires: jre-X11
bd576c3d
ER
24BuildArch: noarch
25BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27%description
28Hudson monitors executions of repeated jobs, such as building a
29software project or jobs run by cron.
30
31Among those things, current Hudson focuses on the following two jobs:
32- Building/testing software projects continuously, just like
33 CruiseControl or DamageControl. In a nutshell, Hudson provides an
34 easy-to-use so-called continuous integration system, making it easier
35 for developers to integrate changes to the project, and making it
36 easier for users to obtain a fresh build. The automated, continoues
37 build increases the productivity.
38- Monitoring executions of externally-run jobs, such as cron jobs and
39 procmail jobs, even those that are run on a remote machine. For
40 example, with cron, all you receive is regular e-mails that capture
41 the output, and it is up to you to look at them diligently and notice
42 when it broke. Hudson keeps those outputs and makes it easy for you to
43 notice when something is wrong.
44
45%prep
8cb70730 46%setup -qc
bd576c3d 47
82ea2910 48rm *.class
49rm winstone.jar
50
bd576c3d
ER
51%install
52rm -rf $RPM_BUILD_ROOT
9e2f2e8b 53install -d $RPM_BUILD_ROOT{%{_sysconfdir}/hudson,%{_datadir}/hudson,%{_sharedstatedir}/hudson,%{_tomcatconfdir}}
8e316f21 54install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/web.xml
21b2e2a1 55install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/tomcat-context.xml
56ln -sf %{_sysconfdir}/%{name}/tomcat-context.xml $RPM_BUILD_ROOT%{_tomcatconfdir}/%{name}.xml
deef92a8 57cp -a . $RPM_BUILD_ROOT%{_datadir}/hudson
58ln -sf %{_sysconfdir}/hudson/web.xml $RPM_BUILD_ROOT%{_datadir}/hudson/WEB-INF/web.xml
bd576c3d 59
21b2e2a1 60%postun
61%tomcat_clear_cache %{name}
62
bd576c3d
ER
63%clean
64rm -rf $RPM_BUILD_ROOT
65
66%files
67%defattr(644,root,root,755)
21b2e2a1 68%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}
69%{_tomcatconfdir}/%{name}.xml
70%{_datadir}/%{name}
036adb4f 71%attr(2775,root,servlet) %dir %{_sharedstatedir}/hudson
This page took 0.075242 seconds and 4 git commands to generate.