From df536efe29e0c8204a3292767d4f0ebfc11d3519 Mon Sep 17 00:00:00 2001 From: Stefano Cotta Ramusino Date: Sat, 6 Jan 2024 11:06:40 +0100 Subject: [PATCH] package created using the webbuild interface [release 0.9.4-1mamba;Wed Feb 19 2014] --- README.md | 2 ++ python-dulwich.spec | 45 +++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 47 insertions(+) create mode 100644 python-dulwich.spec diff --git a/README.md b/README.md index 7a5d81f..cea41a4 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # python-dulwich +Python implementation of Git. + diff --git a/python-dulwich.spec b/python-dulwich.spec new file mode 100644 index 0000000..b0fe59c --- /dev/null +++ b/python-dulwich.spec @@ -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 +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 0.9.4-1mamba +- package created using the webbuild interface