rpms/tortoisehg/F-12 import.log, NONE, 1.1 tortoisehg.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Mads Kiilerich kiilerix at fedoraproject.org
Tue Nov 17 00:57:45 UTC 2009


Author: kiilerix

Update of /cvs/pkgs/rpms/tortoisehg/F-12
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv29300/F-12

Modified Files:
	.cvsignore sources 
Added Files:
	import.log tortoisehg.spec 
Log Message:
Initial import for F-12



--- NEW FILE import.log ---
tortoisehg-0_9-0_2_hg2525801b8b8d_fc12:F-12:tortoisehg-0.9-0.2.hg2525801b8b8d.fc12.src.rpm:1258419428


--- NEW FILE tortoisehg.spec ---
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
# Pure python package
%define debug_package %{nil} 

# We package the development version which will be released in a couple of months
# hg clone https://bitbucket.org/tortoisehg/stable/ && cd stable && hg up -C default && python setup.py sdist
%define hgrev   2525801b8b8d

Name:           tortoisehg
Version:        0.9
Release:        0.2.hg%{hgrev}%{dist}
Summary:        Mercurial GUI command line tool hgtk
Group:          Development/Tools
License:        GPLv2
# Few files are under the more permissive GPLv2+
URL:            http://bitbucket.org/tortoisehg/stable/wiki/
#Source0:       http://bitbucket.org/tortoisehg/stable/downloads/tortoisehg-%{version}.tar.gz
Source0:        %{name}-0.8.3+447-%{hgrev}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
# This package should be noarch, but we can't do it because the nautilus
# subpackage has to be arch-specific (because of lib64)
# BuildArch:    noarch
BuildRequires:  python-devel, gettext, python-sphinx
Requires:       python-iniparse, mercurial >= 1.3, gnome-python2-gconf
Requires:       gnome-python2-gtksourceview, pygtk2

%description
This package contains the hgtk command line tool, which provides a graphical
user interface to the Mercurial distributed revision control system. 

%package        nautilus
Summary:        Mercurial GUI plugin to Nautilus file manager 
Group:          Development/Tools
Requires:       %{name} = %{version}-%{release}, nautilus-python

%description    nautilus
This package contains the TortoiseHg Gnome/Nautilus extension, which makes the
Mercurial distributed revision control system available in the file manager
with a graphical interface. 

%prep
%setup -q -n %{name}-0.8.3+447-%{hgrev}

# Fedora Nautilus python extensions lives in lib64 on x86_64 (https://bugzilla.redhat.com/show_bug.cgi?id=509633) ...
%{__sed} -i "s,lib/nautilus,%{_lib}/nautilus,g" setup.py

cat > tortoisehg/util/config.py << EOT
bin_path     = "%{_bindir}"
license_path = "%{_docdir}/%{name}-%{version}/COPYING.txt"
locale_path  = "%{_datadir}/locale"
icon_path    = "%{_datadir}/pixmaps/tortoisehg/icons"
nofork       = True
EOT

%build
%{__python} setup.py build

(cd doc && make html)
rm doc/build/html/.buildinfo

%install
rm -rf $RPM_BUILD_ROOT

%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT

install -m 644 -D contrib/_hgtk $RPM_BUILD_ROOT/%{_datadir}/zsh/site-functions/_hgtk

%find_lang %{name}

%clean
rm -rf $RPM_BUILD_ROOT

%files -f %{name}.lang

%defattr(-,root,root,-)
%doc COPYING.txt ReleaseNotes.txt doc/build/html/
%{_bindir}/hgtk
%{python_sitelib}/tortoisehg/
%{python_sitelib}/tortoisehg-*.egg-info
%{_datadir}/pixmaps/tortoisehg/

# /usr/share/zsh/site-functions/ is owned by zsh package which we don't want to
# require. We also don't want to create a sub-package just for this dependency.
# Instead we just claim ownership of the zsh top folder ...
%{_datadir}/zsh

%files nautilus
%defattr(-,root,root,-)
%{_libdir}/nautilus/extensions-2.0/python/nautilus-thg.py*

%changelog
* Mon Nov 16 2009 Mads Kiilerich <mads at kiilerich.com> - 0.9-0.2.hg2525801b8b8d
- New upstream snapshot, pretty close to 0.9
- First koji upload

* Tue Oct 20 2009 Mads Kiilerich <mads at kiilerich.com> - 0.9-0.1.hgdc0d0231f39a
- Address review comments from Mamoru Tasaka
- Rebase to new non-forking upstream version from unreleased stable branch

* Fri Oct 16 2009 Mads Kiilerich <mads at kiilerich.com> 0.9-0.0.hg7d91c4a48d37
- Rebase to snapshot of upstream and adopt new package structure

* Fri Jul 24 2009 Mads Kiilerich <mads at kiilerich.com> 0.8.1-1
- New upstream release where minor fixes has been applied
- Remove workarounds no longer needed

* Mon Jul 20 2009 Mads Kiilerich <mads at kiilerich.com> 0.8-4.6da01818c9ea
- Rebase to snapshot of upstream with
  - Clarified that license is GPLv2
  - .mo files build with gettext
  - Local copy of python-iniparse replaced with dependency

* Mon Jul 6 2009 Mads Kiilerich <mads at kiilerich.com> 0.8-3
- Initial package of tortoisehg 0.8


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/tortoisehg/F-12/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore	16 Nov 2009 17:47:30 -0000	1.1
+++ .cvsignore	17 Nov 2009 00:57:45 -0000	1.2
@@ -0,0 +1 @@
+tortoisehg-0.8.3+447-2525801b8b8d.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/tortoisehg/F-12/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources	16 Nov 2009 17:47:30 -0000	1.1
+++ sources	17 Nov 2009 00:57:45 -0000	1.2
@@ -0,0 +1 @@
+c0f1fe7f4093c71245ea914b2c4e83e8  tortoisehg-0.8.3+447-2525801b8b8d.tar.gz




More information about the fedora-extras-commits mailing list