06864370c9
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools-git?expand=0&rev=1
42 lines
1.0 KiB
RPMSpec
42 lines
1.0 KiB
RPMSpec
# 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)
|