##// END OF EJS Templates
hgk is a wish script...
hgk is a wish script --- mercurial-0.7.orig/contrib/hgk 2005-09-23 11:02:21.000000000 +0200 +++ mercurial-0.7/contrib/hgk 2005-09-23 11:07:57.000000000 +0200 @@ -1,6 +1,4 @@ -#!/bin/sh -# Tcl ignores the next line -*- tcl -*- \ -exec wish "$0" -- "${1+$@}" +#!/usr/bin/wish # Copyright (C) 2005 Paul Mackerras. All rights reserved. # This program is free software; it may be used, copied, modified

File last commit:

r1273:ab22af71 default
r1340:faa62c76 default
Show More
mercurial.spec
39 lines | 929 B | text/x-rpm-spec | RPMSpecLexer
mpm@selenic.com
Add an RPM spec file...
r459 Summary: Mercurial -- a distributed SCM
Name: mercurial
Florian La Roche
Clean up RPM spec file
r1273 Version: 0.7
mpm@selenic.com
Add an RPM spec file...
r459 Release: 1
Florian La Roche
Clean up RPM spec file
r1273 License: GPL
mpm@selenic.com
Add an RPM spec file...
r459 Group: Development/Tools
Source: http://www.selenic.com/mercurial/release/%{name}-%{version}.tar.gz
Florian La Roche
Clean up RPM spec file
r1273 URL: http://www.selenic.com/mercurial
mpm@selenic.com
Add an RPM spec file...
r459 BuildRoot: /tmp/build.%{name}-%{version}-%{release}
mpm@selenic.com
[PATCH] clean up RPM spec file...
r563 %define pythonver %(python -c 'import sys;print ".".join(map(str, sys.version_info[:2]))')
%define pythonlib %{_libdir}/python%{pythonver}/site-packages/%{name}
mpm@selenic.com
Add an RPM spec file...
r459 %description
Mercurial is a fast, lightweight source control management system designed
for efficient handling of very large distributed projects.
%prep
rm -rf $RPM_BUILD_ROOT
Florian La Roche
Clean up RPM spec file
r1273 %setup -q
mpm@selenic.com
Add an RPM spec file...
r459
%build
python setup.py build
%install
python setup.py install --root $RPM_BUILD_ROOT
mpm@selenic.com
[PATCH] clean up RPM spec file...
r563 %clean
rm -rf $RPM_BUILD_ROOT
mpm@selenic.com
Add an RPM spec file...
r459
mpm@selenic.com
[PATCH] clean up RPM spec file...
r563 %files
%defattr(-,root,root,-)
Florian La Roche
Clean up RPM spec file
r1273 %doc doc/* contrib/patchbomb *.cgi
mpm@selenic.com
[PATCH] clean up RPM spec file...
r563 %dir %{pythonlib}
%{_bindir}/hgmerge
%{_bindir}/hg
%{pythonlib}/templates
Florian La Roche
Clean up RPM spec file
r1273 %{pythonlib}/*.py*
mpm@selenic.com
[PATCH] clean up RPM spec file...
r563 %{pythonlib}/*.so