forked from pool/python-setuptools-git
osc copypac from project:devel:languages:python package:python-setuptools_git revision:1
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools-git?expand=0&rev=1
This commit is contained in:
41
python-setuptools_git.spec
Normal file
41
python-setuptools_git.spec
Normal file
@@ -0,0 +1,41 @@
|
||||
# norootforbuild
|
||||
|
||||
Name: python-setuptools_git
|
||||
Version: 0.3
|
||||
Release: 1
|
||||
Summary: Setuptools_git package
|
||||
License: BSD License
|
||||
Group: Development/Libraries/Python
|
||||
Source: setuptools_git-%{version}.tar.gz
|
||||
URL: http://ygingras.net/b/tag/setuptools_git
|
||||
BuildRequires: python-devel, python-setuptools
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%{py_requires}
|
||||
|
||||
|
||||
%description
|
||||
This is a plugin for setuptools that enables git integration. Once
|
||||
installed, Setuptools can be told to include in a package distribution
|
||||
all the files tracked by git. This is an alternative to explicit
|
||||
inclusion specifications with `MANIFEST.in`.
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Humberto Diogenes <humberto@digi.com.br>
|
||||
Yannick Gingras <ygingras@ygingras.net>
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n setuptools_git-%{version}
|
||||
|
||||
|
||||
%build
|
||||
%{__python} setup.py build
|
||||
|
||||
|
||||
%install
|
||||
%{__python} setup.py install --prefix=%{_prefix} --root=%{buildroot} --record-rpm=INSTALLED_FILES
|
||||
|
||||
|
||||
%files -f INSTALLED_FILES
|
||||
%defattr(-,root,root)
|
Reference in New Issue
Block a user