rpms/rabbitvcs/F-12 rabbitvcs.spec, NONE, 1.1 shebang.patch, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Juan Manuel Rodriguez Moreno nushio at fedoraproject.org
Fri May 28 00:05:27 UTC 2010


Author: nushio

Update of /cvs/pkgs/rpms/rabbitvcs/F-12
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv7829

Modified Files:
	.cvsignore sources 
Added Files:
	rabbitvcs.spec shebang.patch 
Log Message:



--- NEW FILE rabbitvcs.spec ---
%if ! (0%{?fedora} > 12 || 0%{?rhel} > 5)
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
%endif


%global debug_package %{nil}
%global title RabbitVCS

Name:           rabbitvcs  
Version:        0.13.1
Release:        3%{?dist}
Summary:        Graphical user interface to version control systems

Group:          Development/Languages
License:        GPLv2+
URL:            http://www.rabbitvcs.org/
Source0:        http://rabbitvcs.googlecode.com/files/%{name}-%{version}.tar.gz
#Removes the "Shebang" from ipython_view.py
#Fixed in upstream svn r2529 http://code.google.com/p/rabbitvcs/source/detail?r=2529
Patch0:     shebang.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:  pygtk2-devel >= 2.12
BuildRequires:  python2-devel

%description
RabbitVCS is a set of graphical tools written to provide simple
and straightforward access to the version control systems you use.

%package core
Summary:        Core package of RabbitVCS
Group:          Development/Tools

Requires:       dbus-python
Requires:       nautilus
Requires:       nautilus-python >= 0.5.2
Requires:       meld
Requires:       pygtk2-libglade
Requires:       pygtk2
Requires:       pysvn
Requires:       python-configobj
Requires:       subversion

Obsoletes:      rabbitvcs <= 0.13.1

BuildArch:      noarch

%description core
Contains packages shared between the RabbitVCS extensions.

%package nautilus
Summary:        Nautilus extension for RabbitVCS
Group:          Development/Tools
Requires:       rabbitvcs-core = %{version}-%{release}
Requires:       nautilus
Requires:       nautilus-python >= 0.5.2
Requires:       dbus-python

#RabbitVCS is the new name for NautilusSVN. 
Provides:       nautilussvn = %{version}-%{release}
Obsoletes:      nautilussvn < 0.13

%description nautilus
RabbitVCS is a set of graphical tools written to provide simple and 
straightforward access to the version control systems you use. This is the 
extension for the Nautilus file manager.

#Requires thunarx-python which currently isn't in Fedora. 
#%package thunar
#Summary:        Thunar extension for RabbitVCS
#Group:          Development/Tools
#Requires:       rabbitvcs-core = %{version}-%{release}
#Requires:       thunar >= 0.4.0
#Requires:       thunarx-python >= 0.2.0
#Requires:       dbus-python >= 0.80

#%description thunar
#An extension for Thunar to allow better integration with the 
#Subversion source control system.

%package gedit
Summary:        Gedit extension for RabbitVCS
Group:          Development/Tools
Requires:       rabbitvcs-core = %{version}-%{release}
Requires:       gedit

%description gedit
RabbitVCS is a set of graphical tools written to provide simple and 
straightforward access to the version control systems you use. This is the 
extension for gedit text editor

%package cli
Summary:        CLI extension for RabbitVCS
Group:          Development/Tools
Requires:       rabbitvcs-core = %{version}-%{release}
BuildArch:      noarch

%description cli
RabbitVCS is a set of graphical tools written to provide simple and 
straightforward access to the version control systems you use. This is the 
extension for command line interface.


%prep
%setup -q
%patch0 -p1

%build
%{__python} setup.py build

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

# Installing Nautilus extension
mkdir -p $RPM_BUILD_ROOT%{_libdir}/nautilus/extensions-2.0/python/
cp clients/nautilus/%{title}.py $RPM_BUILD_ROOT%{_libdir}/nautilus/extensions-2.0/python/%{title}.py

# Installing Thunar Extension
#mkdir -p $RPM_BUILD_ROOT%{_libdir}/thunarx-2/python/
#cp clients/thunar/%{title}.py $RPM_BUILD_ROOT%{_libdir}/thunarx-2/python/%{title}.py

# Installing Gedit Extension
mkdir -p $RPM_BUILD_ROOT%{_libdir}/gedit-2/plugins/
cp clients/gedit/%{name}-plugin.py $RPM_BUILD_ROOT%{_libdir}/gedit-2/plugins/%{name}-plugin.py
cp clients/gedit/%{name}.gedit-plugin $RPM_BUILD_ROOT%{_libdir}/gedit-2/plugins/%{name}.gedit-plugin

# Installing CLI Extension
mkdir -p $RPM_BUILD_ROOT%{_bindir}
cp clients/cli/%{name} $RPM_BUILD_ROOT%{_bindir}/%{name}

rm -rf $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}

%find_lang %{title}

%post core
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :

%postun core
if [ $1 -eq 0 ] ; then
    touch --no-create %{_datadir}/icons/hicolor &>/dev/null
    gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
fi

%posttrans core
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :

%clean
rm -rf $RPM_BUILD_ROOT

%files -f %{title}.lang core
%defattr(-,root,root,-)
%doc AUTHORS COPYING MAINTAINERS
%{_datadir}/%{name}/
%{_datadir}/icons/hicolor/scalable/*/*.svg
%{python_sitelib}/%{name}/
%{python_sitelib}/%{name}-%{version}-py2.6.egg-info

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

#%files thunar
#%defattr(-, root, root,-)
#%{_libdir}/thunarx-2/python/%{title}.py*

%files gedit
%defattr(-, root, root,-)
%{_libdir}/gedit-2/plugins/%{name}-plugin.py*
%{_libdir}/gedit-2/plugins/%{name}.gedit-plugin

%files cli
%defattr(-, root, root,-)
%{_bindir}/%{name}

%changelog
* Thu May 27 2010 Juan Rodriguez <nushio at fedoraproject.org> - 0.13.1-3
- Now obsoletes rabbitvcs
- Fixes svg permission ownage

* Wed May 26 2010 Juan Rodriguez <nushio at fedoraproject.org> - 0.13.1-2
- rabbitvcs-core is now noarch
- rabbitvcs-cli is now noarch

* Wed Apr 28 2010 Juan Rodriguez <nushio at fedoraproject.org> - 0.13.1-1
- Rebased to 13.1

* Fri Mar 19 2010 Juan Rodriguez <nushio at fedoraproject.org> - 0.13-2
- The split packages are now bundled into a single tarball. 
- Changed some requires versions. 
- Thunar and NautilusOld packages are no longer being provided. 
- Updated Python macros to the newly approved ones
- Changed URL, Summary and Descriptions for all packages / subpackages
- Package is no longer noarch

* Thu Feb 11 2010 Juan Rodriguez <nushio at fedoraproject.org> - 0.13-1
- Updated RabbitVCS to 0.13
- Split packages for nautilus, nautilus-old, thunar, gedit and cli
- Requires nautilus-python >= 0.5.2 so 64bit users can use rabbitvcs. 

* Tue Dec 17 2009 Juan Rodriguez <nushio at fedoraproject.org> - 0.12.1-2
- Cleaned up Icon Script
- Added AUTHORS, COPYING and MAINTAINERS

* Tue Dec 1 2009 Juan Rodriguez <nushio at fedoraproject.org> - 0.12.1-1
- Updated to RabbitVCS 0.12.1
- Added SSL Client Cert prompt 
- Updated "previous log message" UI behaviour
- Updated locale detection
- Improvements for packaging scripts

* Sat Oct 3 2009 Juan Rodriguez <nushio at fedoraproject.org> - 0.12-1
- Renamed from NautilusSVN to RabbitVCS to match upstream. 
- Calls gtk-update-icon-cache to regenerate the icon cache

shebang.patch:
 ipython_view.py |    1 -
 1 file changed, 1 deletion(-)

--- NEW FILE shebang.patch ---
*** rabbitvcs-0.13.1/rabbitvcs/debug/ipython_view.py	2008-12-31 06:42:08.000000000 -0600
--- rabbitvcs-0.13.1/rabbitvcs/debug/ipython_view.py.diff	2010-05-27 11:40:05.608332859 -0500
***************
*** 1,4 ****
- #!/usr/bin/python
  '''
  Provides IPython console widget.
  
--- 1,3 ----


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/rabbitvcs/F-12/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore	27 May 2010 23:52:43 -0000	1.1
+++ .cvsignore	28 May 2010 00:05:27 -0000	1.2
@@ -0,0 +1 @@
+rabbitvcs-0.13.1.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/rabbitvcs/F-12/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources	27 May 2010 23:52:43 -0000	1.1
+++ sources	28 May 2010 00:05:27 -0000	1.2
@@ -0,0 +1 @@
+861590f60bf2367a92861e44c1852b0d  rabbitvcs-0.13.1.tar.gz



More information about the scm-commits mailing list