2024-01-06 11:27:41 +01:00
|
|
|
Name: python-mistune
|
2024-01-06 11:27:41 +01:00
|
|
|
Version: 0.8.1
|
2024-01-06 11:27:41 +01:00
|
|
|
Release: 1mamba
|
|
|
|
Summary: A fast markdown parser in pure Python
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Davide Madrisan <davide.madrisan@gmail.com>
|
|
|
|
URL: https://github.com/lepture/mistune
|
|
|
|
Source: https://github.com/lepture/mistune/archive/v%{version}.tar.gz
|
|
|
|
License: BSD
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
## note: run 'autospec -u -a6 python-mistune' to get the list of build requirements.
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRequires: libpython-devel
|
|
|
|
BuildRequires: Cython
|
|
|
|
BuildRequires: python-nose
|
|
|
|
BuildRequires: python-setuptools
|
|
|
|
Requires: python >= %python_version
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
|
|
%description
|
|
|
|
A fast markdown parser in pure Python with renderer feature, inspired by marked and misaka.
|
|
|
|
|
|
|
|
%description
|
|
|
|
%{summary}.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n mistune-%{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
|
|
|
|
|
2024-01-06 11:27:41 +01:00
|
|
|
#sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
|
2024-01-06 11:27:41 +01:00
|
|
|
|
|
|
|
%files -f %{name}.filelist
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc LICENSE README.rst
|
|
|
|
|
|
|
|
%changelog
|
2024-01-06 11:27:41 +01:00
|
|
|
* Sun Dec 31 2017 Automatic Build System <autodist@mambasoft.it> 0.8.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 11:27:41 +01:00
|
|
|
* Mon Mar 27 2017 Automatic Build System <autodist@mambasoft.it> 0.7.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 11:27:41 +01:00
|
|
|
* Sun Oct 16 2016 Automatic Build System <autodist@mambasoft.it> 0.7.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 11:27:41 +01:00
|
|
|
* Sat Mar 12 2016 Automatic Build System <autodist@mambasoft.it> 0.7.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 11:27:41 +01:00
|
|
|
* Fri Sep 25 2015 Davide Madrisan <davide.madrisan@gmail.com> 0.7.1-1mamba
|
|
|
|
- package created using the webbuild interface
|