]> git.pld-linux.org Git - packages/gerrit.git/blame - gerrit.spec
new, version 2.5.2
[packages/gerrit.git] / gerrit.spec
CommitLineData
2da34459
ER
1Summary: Gerrit Code Review
2Name: gerrit
3Version: 2.5.2
4Release: 0.1
5License: Apache v2.0
6Group: Networking/Daemons/Java/Servlets
7Source0: http://gerrit.googlecode.com/files/%{name}-full-%{version}.war
8# Source0-md5: 541d11d777b08f83f4ffd188da1eb1be
9URL: https://code.google.com/p/gerrit/
10BuildArch: noarch
11BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
12
13%define _webapp %{name}
14%define _appdir %{_datadir}/%{_webapp}
15
16%description
17Gerrit is a web based code review system, facilitating online code
18reviews for projects using the Git version control system.
19
20Gerrit makes reviews easier by showing changes in a side-by-side
21display, and allowing inline comments to be added by any reviewer.
22
23Gerrit simplifies Git based project maintainership by permitting any
24authorized user to submit changes to the master Git repository, rather
25than requiring all approved changes to be merged in by hand by the
26project maintainer. This functionality enables a more centralized
27usage of Git.
28
29%package doc
30Summary: Manual for %{name}
31Summary(fr.UTF-8): Documentation pour %{name}
32Summary(it.UTF-8): Documentazione di %{name}
33Summary(pl.UTF-8): Podręcznik dla %{name}
34Group: Documentation
35
36%description doc
37Documentation for %{name}.
38
39%description doc -l fr.UTF-8
40Documentation pour %{name}.
41
42%description doc -l it.UTF-8
43Documentazione di %{name}.
44
45%description doc -l pl.UTF-8
46Dokumentacja do %{name}.
47
48%prep
49%setup -qc
50
51%install
52rm -rf $RPM_BUILD_ROOT
53install -d $RPM_BUILD_ROOT{%{_appdir},%{_sharedstatedir}/%{name}}
54cp -a . $RPM_BUILD_ROOT%{_appdir}
55
56%clean
57rm -rf $RPM_BUILD_ROOT
58
59%postun
60%tomcat_clear_cache %{name}
61
62%files
63%defattr(644,root,root,755)
64%dir %{_appdir}
65%{_appdir}/META-INF
66%{_appdir}/LICENSES.txt
67%{_appdir}/Main.class
68%{_appdir}/favicon.ico
69%{_appdir}/robots.txt
70%{_appdir}/com
71%{_appdir}/gerrit
72
73%dir %{_appdir}/WEB-INF
74%dir %{_appdir}/WEB-INF/lib
75%{_appdir}/WEB-INF/lib/*.jar
76%{_appdir}/WEB-INF/deploy
77%{_appdir}/WEB-INF/extra
78%{_appdir}/WEB-INF/plugins
79
80%attr(2775,root,servlet) %dir %{_sharedstatedir}/%{name}
81
82%files doc
83%defattr(644,root,root,755)
84%{_appdir}/Documentation
This page took 0.107925 seconds and 4 git commands to generate.