package created using the webbuild interface [release 0.9.4-1mamba;Wed Feb 19 2014]
This commit is contained in:
parent
35eb619edd
commit
df536efe29
@ -1,2 +1,4 @@
|
|||||||
# python-dulwich
|
# python-dulwich
|
||||||
|
|
||||||
|
Python implementation of Git.
|
||||||
|
|
||||||
|
45
python-dulwich.spec
Normal file
45
python-dulwich.spec
Normal file
@ -0,0 +1,45 @@
|
|||||||
|
Name: python-dulwich
|
||||||
|
Version: 0.9.4
|
||||||
|
Release: 1mamba
|
||||||
|
Summary: Python implementation of Git
|
||||||
|
Group: System/Libraries
|
||||||
|
Vendor: openmamba
|
||||||
|
Distribution: openmamba
|
||||||
|
Packager: Stefano Cotta Ramusino <stefano.cotta@openmamba.org>
|
||||||
|
URL: http://www.samba.org/~jelmer/dulwich
|
||||||
|
Source: https://pypi.python.org/packages/source/d/dulwich/dulwich-%{version}.tar.gz
|
||||||
|
License: GPL
|
||||||
|
## AUTOBUILDREQ-BEGIN
|
||||||
|
BuildRequires: glibc-devel
|
||||||
|
BuildRequires: libpython-devel
|
||||||
|
## AUTOBUILDREQ-END
|
||||||
|
Requires: python >= %python_version
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||||
|
|
||||||
|
%description
|
||||||
|
%{summary}.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n dulwich-%{version}
|
||||||
|
|
||||||
|
%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)
|
||||||
|
%doc COPYING NEWS README
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Wed Feb 19 2014 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 0.9.4-1mamba
|
||||||
|
- package created using the webbuild interface
|
Loading…
Reference in New Issue
Block a user