mercurial/mercurial.spec

changeset 790
ab976cd2e548
parent 600
00bfe519c9d3
equal deleted inserted replaced
4:8646675fc6f7 5:ac767a855393
29 Packager: OpenPKG Foundation e.V. 29 Packager: OpenPKG Foundation e.V.
30 Distribution: OpenPKG Community 30 Distribution: OpenPKG Community
31 Class: EVAL 31 Class: EVAL
32 Group: SCM 32 Group: SCM
33 License: GPL 33 License: GPL
34 Version: 2.1 34 Version: 2.3
35 Release: 20120208 35 Release: 20120800
36 36
37 # list of sources 37 # list of sources
38 Source0: http://mercurial.selenic.com/release/mercurial-%{version}.tar.gz 38 Source0: http://mercurial.selenic.com/release/mercurial-%{version}.tar.gz
39 Source1: hgweb.cgi 39 Source1: hgweb.cgi
40 Source2: hgweb.cfg 40 Source2: hgweb.cfg
41 41
42 # build information 42 # build information
43 Prefix: %{l_prefix}
44 BuildRoot: %{l_buildroot}
45 BuildPreReq: OpenPKG, openpkg >= 20060823, python, python::with_bzip2 = yes 43 BuildPreReq: OpenPKG, openpkg >= 20060823, python, python::with_bzip2 = yes
46 PreReq: OpenPKG, openpkg >= 20060823, python, python::with_bzip2 = yes 44 PreReq: OpenPKG, openpkg >= 20060823, python, python::with_bzip2 = yes
47 AutoReq: no
48 AutoReqProv: no
49 45
50 %description 46 %description
51 Mercurial is a fast, lightweight Source Control Management (SCM) 47 Mercurial is a fast, lightweight Source Control Management (SCM)
52 system designed for efficient handling of very large distributed 48 system designed for efficient handling of very large distributed
53 projects. 49 projects.
69 templates/*/footer.tmpl 65 templates/*/footer.tmpl
70 66
71 %build 67 %build
72 68
73 %install 69 %install
74 rm -rf $RPM_BUILD_ROOT
75 %{l_shtool} mkdir -f -p -m 755 \ 70 %{l_shtool} mkdir -f -p -m 755 \
76 $RPM_BUILD_ROOT%{l_prefix}/cgi \ 71 $RPM_BUILD_ROOT%{l_prefix}/cgi \
77 $RPM_BUILD_ROOT%{l_prefix}/bin \ 72 $RPM_BUILD_ROOT%{l_prefix}/bin \
78 $RPM_BUILD_ROOT%{l_prefix}/etc/mercurial \ 73 $RPM_BUILD_ROOT%{l_prefix}/etc/mercurial \
79 $RPM_BUILD_ROOT%{l_prefix}/libexec/mercurial \ 74 $RPM_BUILD_ROOT%{l_prefix}/libexec/mercurial \
108 '%config %{l_prefix}/etc/mercurial/*' 103 '%config %{l_prefix}/etc/mercurial/*'
109 104
110 %files -f files 105 %files -f files
111 106
112 %clean 107 %clean
113 rm -rf $RPM_BUILD_ROOT
114 108

mercurial