##// END OF EJS Templates
Merge with BOS
Merge with BOS

File last commit:

r1273:ab22af71 default
r1282:c1a507ba merge 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