1 |
Summary: A fast, lightweight distributed source control management system |
Summary: A fast, lightweight distributed source control management system |
2 |
Name: mercurial |
Name: mercurial |
3 |
Version: 2.4.1 |
Version: 2.4.1 |
4 |
Release: %mkrel 1 |
Release: %mkrel 2 |
5 |
License: GPLv2+ |
License: GPLv2+ |
6 |
Group: Development/Other |
Group: Development/Other |
7 |
URL: http://www.selenic.com/mercurial/ |
URL: http://www.selenic.com/mercurial/ |
8 |
Source0: http://www.selenic.com/mercurial/release/%{name}-%{version}.tar.gz |
Source0: http://www.selenic.com/mercurial/release/%{name}-%{version}.tar.gz |
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
|
9 |
BuildRequires: python-devel |
BuildRequires: python-devel |
10 |
BuildRequires: xmlto |
BuildRequires: xmlto |
11 |
BuildRequires: asciidoc |
BuildRequires: asciidoc |
17 |
designed for efficient handling of very large distributed |
designed for efficient handling of very large distributed |
18 |
projects. |
projects. |
19 |
|
|
20 |
|
|
21 |
%prep |
%prep |
22 |
%setup -q |
%setup -q |
23 |
|
|
25 |
%make all |
%make all |
26 |
|
|
27 |
%install |
%install |
|
%__rm -rf $RPM_BUILD_ROOT |
|
28 |
PYTHONDONTWRITEBYTECODE= %__python setup.py install -O1 --root $RPM_BUILD_ROOT --prefix %{_prefix} --record=%{name}.files |
PYTHONDONTWRITEBYTECODE= %__python setup.py install -O1 --root $RPM_BUILD_ROOT --prefix %{_prefix} --record=%{name}.files |
29 |
make install-doc DESTDIR=$RPM_BUILD_ROOT MANDIR=%{_mandir} |
make install-doc DESTDIR=$RPM_BUILD_ROOT MANDIR=%{_mandir} |
30 |
|
|
54 |
install -m 644 contrib/mergetools.hgrc $RPM_BUILD_ROOT/%{_sysconfdir}/mercurial/hgrc.d/mergetools.rc |
install -m 644 contrib/mergetools.hgrc $RPM_BUILD_ROOT/%{_sysconfdir}/mercurial/hgrc.d/mergetools.rc |
55 |
|
|
56 |
%files -f %{name}.files |
%files -f %{name}.files |
|
%defattr(-,root,root,-) |
|
57 |
%doc CONTRIBUTORS COPYING doc/README doc/hg*.txt doc/hg*.html *.cgi contrib/*.fcgi |
%doc CONTRIBUTORS COPYING doc/README doc/hg*.txt doc/hg*.html *.cgi contrib/*.fcgi |
58 |
%doc %attr(644,root,root) contrib/*.svg contrib/sample.hgrc |
%doc %attr(644,root,root) contrib/*.svg contrib/sample.hgrc |
59 |
%dir %{_sysconfdir}/mercurial |
%dir %{_sysconfdir}/mercurial |
67 |
%{_bindir}/hgk |
%{_bindir}/hgk |
68 |
%{_bindir}/hg-ssh |
%{_bindir}/hg-ssh |
69 |
%{_bindir}/mercurial-convert-repo |
%{_bindir}/mercurial-convert-repo |
|
|
|
|
|
|
|
|
|