64 lines
1.9 KiB
RPMSpec
64 lines
1.9 KiB
RPMSpec
Name: python-mistune
|
|
Version: 0.8.1
|
|
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
|
|
|
|
#sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
|
|
|
|
%files -f %{name}.filelist
|
|
%defattr(-,root,root)
|
|
%doc LICENSE README.rst
|
|
|
|
%changelog
|
|
* Sun Dec 31 2017 Automatic Build System <autodist@mambasoft.it> 0.8.1-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Mon Mar 27 2017 Automatic Build System <autodist@mambasoft.it> 0.7.4-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sun Oct 16 2016 Automatic Build System <autodist@mambasoft.it> 0.7.3-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sat Mar 12 2016 Automatic Build System <autodist@mambasoft.it> 0.7.2-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Fri Sep 25 2015 Davide Madrisan <davide.madrisan@gmail.com> 0.7.1-1mamba
|
|
- package created using the webbuild interface
|