]>
Commit | Line | Data |
---|---|---|
bd576c3d ER |
1 | # TODO |
2 | # - repackage .war with system jars? | |
3 | %include /usr/lib/rpm/macros.java | |
4 | Summary: Hudson Continuous Build Server | |
5 | Name: hudson | |
6 | Version: 1.268 | |
7 | Release: 0.1 | |
8 | License: MIT License | |
9 | Group: Development/Languages/Java | |
10 | Source0: https://hudson.dev.java.net/files/documents/2402/121800/%{name}.war | |
11 | # Source0-md5: eafaf859a01547d74dbe09de06c0d451 | |
12 | URL: https://hudson.dev.java.net/ | |
13 | BuildRequires: jpackage-utils | |
14 | BuildRequires: rpm-javaprov | |
15 | BuildRequires: rpmbuild(macros) >= 1.300 | |
16 | Requires: jpackage-utils | |
17 | BuildArch: noarch | |
18 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
19 | ||
20 | %description | |
21 | Hudson monitors executions of repeated jobs, such as building a | |
22 | software project or jobs run by cron. | |
23 | ||
24 | Among those things, current Hudson focuses on the following two jobs: | |
25 | - Building/testing software projects continuously, just like | |
26 | CruiseControl or DamageControl. In a nutshell, Hudson provides an | |
27 | easy-to-use so-called continuous integration system, making it easier | |
28 | for developers to integrate changes to the project, and making it | |
29 | easier for users to obtain a fresh build. The automated, continoues | |
30 | build increases the productivity. | |
31 | - Monitoring executions of externally-run jobs, such as cron jobs and | |
32 | procmail jobs, even those that are run on a remote machine. For | |
33 | example, with cron, all you receive is regular e-mails that capture | |
34 | the output, and it is up to you to look at them diligently and notice | |
35 | when it broke. Hudson keeps those outputs and makes it easy for you to | |
36 | notice when something is wrong. | |
37 | ||
38 | %prep | |
39 | %setup -qcT | |
40 | ||
41 | %install | |
42 | rm -rf $RPM_BUILD_ROOT | |
43 | install -d $RPM_BUILD_ROOT%{_javadir} | |
44 | cp -a %{SOURCE0} $RPM_BUILD_ROOT%{_javadir} | |
45 | ||
46 | %clean | |
47 | rm -rf $RPM_BUILD_ROOT | |
48 | ||
49 | %files | |
50 | %defattr(644,root,root,755) | |
51 | %{_javadir}/*.war |