package created using the webbuild interface [release 7.1.5-1mamba;Wed May 19 2021]
This commit is contained in:
parent
9447583e33
commit
76f7882134
@ -1,2 +1,4 @@
|
|||||||
# pycxx
|
# pycxx
|
||||||
|
|
||||||
|
A set of C++ facilities to make it easier to write Python extensions.
|
||||||
|
|
||||||
|
47
pycxx.spec
Normal file
47
pycxx.spec
Normal file
@ -0,0 +1,47 @@
|
|||||||
|
%define pkgname %(echo %name | cut -d- -f2-)
|
||||||
|
Name: pycxx
|
||||||
|
Version: 7.1.5
|
||||||
|
Release: 1mamba
|
||||||
|
Summary: A set of C++ facilities to make it easier to write Python extensions
|
||||||
|
Group: System/Libraries
|
||||||
|
Vendor: openmamba
|
||||||
|
Distribution: openmamba
|
||||||
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
|
URL: http://cxx.sourceforge.net/
|
||||||
|
Source: http://prdownloads.sourceforge.net/cxx/pycxx-%{version}.tar.gz
|
||||||
|
License: BSD
|
||||||
|
## AUTOBUILDREQ-BEGIN
|
||||||
|
BuildRequires: libpython3-devel
|
||||||
|
## AUTOBUILDREQ-END
|
||||||
|
|
||||||
|
%description
|
||||||
|
%{summary}.
|
||||||
|
|
||||||
|
%if 0%{?with_pyver}
|
||||||
|
%pyver_package
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%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}/CXX \
|
||||||
|
--install-lib=%{python_sitearch} \
|
||||||
|
--record=%{name}.filelist
|
||||||
|
|
||||||
|
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
|
||||||
|
|
||||||
|
%files %{?pyappend} -f %{name}.filelist
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{python3_sitearch}/CXX-%{version}-py*.egg-info
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Wed May 19 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 7.1.5-1mamba
|
||||||
|
- package created using the webbuild interface
|
Loading…
Reference in New Issue
Block a user