]> git.pld-linux.org Git - packages/jenkins.git/blame - jenkins.spec
- rel 2
[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
ab88ca41 8Version: 1.374
8067a387 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
37b28ea1 13Source0: http://hudson-ci.org/download/war/%{version}/%{name}.war#/%{name}-%{version}.war
ab88ca41 14# Source0-md5: bad0b1d81919618677f84e462373f2dc
aa36fe55 15Source1: %{name}-context.xml
16Patch0: %{name}-webxml.patch
bd576c3d
ER
17URL: https://hudson.dev.java.net/
18BuildRequires: jpackage-utils
19BuildRequires: rpm-javaprov
6eb2a986 20BuildRequires: rpmbuild(macros) >= 1.546
bd576c3d 21Requires: jpackage-utils
2777ea66 22Requires: jre-X11
6eb2a986 23Requires: tomcat
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
82ea2910 47rm *.class
48rm winstone.jar
49
aa36fe55 50%patch0 -p1
51
bd576c3d
ER
52%install
53rm -rf $RPM_BUILD_ROOT
6eb2a986 54install -d $RPM_BUILD_ROOT{%{_sysconfdir}/%{name},%{_datadir}/%{name},%{_sharedstatedir}/%{name},%{_tomcatconfdir}}
aa36fe55 55mv WEB-INF/web.xml $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/web.xml
56cp -a %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/tomcat-context.xml
21b2e2a1 57ln -sf %{_sysconfdir}/%{name}/tomcat-context.xml $RPM_BUILD_ROOT%{_tomcatconfdir}/%{name}.xml
6eb2a986
ER
58cp -a . $RPM_BUILD_ROOT%{_datadir}/%{name}
59ln -sf %{_sysconfdir}/%{name}/web.xml $RPM_BUILD_ROOT%{_datadir}/%{name}/WEB-INF/web.xml
bd576c3d 60
21b2e2a1 61%postun
62%tomcat_clear_cache %{name}
63
bd576c3d
ER
64%clean
65rm -rf $RPM_BUILD_ROOT
66
67%files
68%defattr(644,root,root,755)
6eb2a986
ER
69%dir %{_sysconfdir}/%{name}
70%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/*.xml
21b2e2a1 71%{_tomcatconfdir}/%{name}.xml
72%{_datadir}/%{name}
6eb2a986 73%attr(2775,root,servlet) %dir %{_sharedstatedir}/%{name}
This page took 0.073963 seconds and 4 git commands to generate.