Group :: Desenvolvimento/Python
RPM: python-module-markdown
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
%define version 1.6b
%define release alt1
%define modulename markdown
%setup_python_module %modulename
Name: %packagename
Version: %version
Release: %release
Summary: Python implementation of Markdown text-to-HTML convertor.
Group: Development/Python
License: %gpl2plus | %bsd
Url: http://www.freewisdom.org/projects/python-markdown/
Packager: Mikhail Gusarov <dottedmag at altlinux.org>
Source: %modulename-%version.tar.bz2
BuildArch: noarch
BuildPreReq: rpm-build-licenses
# Automatically added by buildreq on Sun Feb 17 2008
BuildRequires: python-devel
%description
Markdown is a plain text formatting syntax designed to be as readable as
possible while being structured enough to allow conversion to other formats.
This package contains Python implementation of markdown-to-HTML convertor.
%prep
%setup -n %modulename-%version
%build
CFLAGS="%optflags" python setup.py build
%install
python setup.py install --optimize=2 \
--root=%buildroot
%files
%python_sitelibdir/%{modulename}*
%changelog
…
Todas as alterações você pod ver aqui
%define release alt1
%define modulename markdown
%setup_python_module %modulename
Name: %packagename
Version: %version
Release: %release
Summary: Python implementation of Markdown text-to-HTML convertor.
Group: Development/Python
License: %gpl2plus | %bsd
Url: http://www.freewisdom.org/projects/python-markdown/
Packager: Mikhail Gusarov <dottedmag at altlinux.org>
Source: %modulename-%version.tar.bz2
BuildArch: noarch
BuildPreReq: rpm-build-licenses
# Automatically added by buildreq on Sun Feb 17 2008
BuildRequires: python-devel
%description
Markdown is a plain text formatting syntax designed to be as readable as
possible while being structured enough to allow conversion to other formats.
This package contains Python implementation of markdown-to-HTML convertor.
%prep
%setup -n %modulename-%version
%build
CFLAGS="%optflags" python setup.py build
%install
python setup.py install --optimize=2 \
--root=%buildroot
%files
%python_sitelibdir/%{modulename}*
%changelog
…
Todas as alterações você pod ver aqui