rabbitvcs/rabbitvcs.spec

59 lines
1.8 KiB
RPMSpec
Raw Normal View History

Name: rabbitvcs
Version: 0.15.3
Release: 1mamba
Summary: Easy version control
Group: Graphical Desktop/Applications/Development
Vendor: openmamba
Distribution: openmamba
Packager: Stefano Cotta Ramusino <stefano.cotta@openmamba.org>
URL: http://rabbitvcs.org
Source: http://rabbitvcs.googlecode.com/files/rabbitvcs-%{version}.tar.bz2
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: libpython-devel
## AUTOBUILDREQ-END
Requires: python >= %python_version
Requires: pygtk
Requires: pygobject
Requires: python-configobj
Requires: python-dbus
Requires: meld
Requires: python-simplejson
Requires: python-gnome-extras
Requires: subversion
Requires: python-dulwich
BuildRoot: %{_tmppath}/%{name}-%{version}-root
BuildArch: noarch
%description
RabbitVCS is a set of graphical tools written to provide simple and straightforward access to the version control systems you use.
We provide multiple clients and extensions designed to give you a uniform experience no matter what development tools you use.
%prep
%setup -q
%build
CFLAGS="%{optflags}" %{__python} setup.py build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%{__python} setup.py install \
-O1 --skip-build \
--root="%{buildroot}" \
--install-headers=%{_includedir}/python \
--install-lib=%{python_sitearch} \
--record=%{name}.filelist
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
%files -f %{name}.filelist
%defattr(-,root,root)
## note: this list is just an example; modify as required
# %{python_sitearch}/%{name}.py*
# %{python_sitearch}/%{name}.so
%doc AUTHORS COPYING README
%changelog
* Wed Feb 19 2014 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 0.15.3-1mamba
- package created using the webbuild interface