Search
j0ke.net Open Build Service
>
Projects
>
devel
>
mercurial
> mercurial.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File mercurial.spec of Package mercurial (Revision 16)
Currently displaying revision
16
,
show latest
Summary: Mercurial -- a distributed SCM Name: mercurial Version: 1.1.0 Release: 1 License: GPL Group: Development/Tools Source: http://www.selenic.com/mercurial/release/%{name}-%{version}.tar.gz Patch: mercurial-glibc-24-older.patch URL: http://www.selenic.com/mercurial BuildRoot: /tmp/build.%{name}-%{version}-%{release} # From the README: # # Note: some distributions fails to include bits of distutils by # default, you'll need python-dev to install. You'll also need a C # compiler and a 3-way merge tool like merge, tkdiff, or kdiff3. # # python-devel provides an adequate python-dev. The merge tool is a # run-time dependency. # BuildRequires: python >= 2.3, python-devel make gcc asciidoc xmlto %define pythonver %(python -c 'import sys;print ".".join(map(str, sys.version_info[:2]))') %define pythonlib %{_libdir}/python%{pythonver}/site-packages/%{name} %define hgext %{_libdir}/python%{pythonver}/site-packages/hgext %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 %setup -q %if 0%{?suse_version} <= 1010 %patch0 %endif %build make all %install python setup.py install --root $RPM_BUILD_ROOT --prefix %{_prefix} make install-doc DESTDIR=$RPM_BUILD_ROOT MANDIR=%{_mandir} install contrib/hgk $RPM_BUILD_ROOT%{_bindir} install contrib/convert-repo $RPM_BUILD_ROOT%{_bindir}/mercurial-convert-repo install contrib/hg-ssh $RPM_BUILD_ROOT%{_bindir} install contrib/git-viz/{hg-viz,git-rev-tree} $RPM_BUILD_ROOT%{_bindir} bash_completion_dir=$RPM_BUILD_ROOT%{_sysconfdir}/bash_completion.d mkdir -p $bash_completion_dir install contrib/bash_completion $bash_completion_dir/mercurial.sh zsh_completion_dir=$RPM_BUILD_ROOT%{_datadir}/zsh/site-functions mkdir -p $zsh_completion_dir install contrib/zsh_completion $zsh_completion_dir/_mercurial lisp_dir=$RPM_BUILD_ROOT%{_datadir}/emacs/site-lisp mkdir -p $lisp_dir install contrib/mercurial.el $lisp_dir %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc CONTRIBUTORS COPYING doc/README doc/hg*.txt doc/hg*.html doc/ja *.cgi %{_mandir}/man?/hg*.gz %dir %{pythonlib} %dir %{hgext} %{_sysconfdir}/bash_completion.d/mercurial.sh %{_datadir}/zsh/site-functions/_mercurial %{_datadir}/emacs/site-lisp/mercurial.el %{_bindir}/hg %{_bindir}/hgk %{_bindir}/hg-ssh %{_bindir}/hg-viz %{_bindir}/git-rev-tree %{_bindir}/mercurial-convert-repo %{pythonlib}/templates %{pythonlib}/*.py* %if 0%{?suse_version} > 1010 %{py_libdir}/site-packages/mercurial-%{version}-py%{py_ver}.egg-info %{py_libdir}/site-packages/hgext/inotify/*.py* %{py_libdir}/site-packages/hgext/inotify/linux/*.py* %{py_libdir}/site-packages/hgext/inotify/linux/*.so %endif %{py_libdir}/site-packages/mercurial/hgweb/*.py* %{pythonlib}/*.so %{hgext}/*.py* %{hgext}/convert/*.py* %changelog * Sun Dec 07 2008 Carsten Schoene <cs@linux-administrator.com> - new release 1.1.0 - This release comes with several new extensions, including support for rebasing changesets and (local-only) git-like branches called bookmarks. - The Web interface has a new canvas-based repository graph and a new default theme. - Some modules have been rewritten in C for greater speed - the status and diff command have been made faster (especially on Windows). - A new repository layout improves support for very long filenames under Windows. - A new resolve command enables better tracking of in-progress merges. * Sat Aug 23 2008 Carsten Schoene <cs@linux-administrator.com> - new release 1.0.2 - Two security issues were fixed: git patches could touch files outside the repository (CVE-2008-2942) and the "allowpull" permission was ignored by hgweb. - Python 2.3 compatibility has been fixed. - Copies of previously deleted files are now handled correctly when committing. - MQ patches and .hgtags were made hard-link safe again. - The convert extension has been updated to work with Subversion 1.5 and git 1.5.6.5. - There are various documentation fixes. * Sun Jun 29 2008 Carsten Schoene <cs@linux-administrator.com> - new release 1.0.1 * Tue Mar 25 2008 Carsten Schoene <cs@linux-administrator.com> - initial build