Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:lafenghu
python-markdown
python-markdown.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-markdown.spec of Package python-markdown
# # spec file for package python-markdown # # Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: python-markdown Version: 2.1.1 Release: 0 Summary: Python Markdown Implementation License: BSD-3-Clause Group: Development/Libraries/Python Url: http://freewisdom.org/projects/python-markdown/ Source: http://pypi.python.org/packages/source/M/Markdown/Markdown-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build %py_requires BuildRequires: ed %if %{?suse_version: %{suse_version} > 1110} %{!?suse_version:1} BuildArch: noarch %endif %if %{?suse_version: %{suse_version} > 1010} %{!?suse_version:1} BuildRequires: python-xml Requires: python-xml %else BuildRequires: python-elementtree Requires: python-elementtree %endif %description This is a Python implementation of John Gruber's Markdown. It is almost completely compliant with the reference implementation, though there are a few known issues. Additional features are supported through extensions. %prep %setup -q -n Markdown-%{version} %build ( cd markdown/extensions for ext in *.py; do ed $ext <<EOF 1g/^#!/d w EOF done ) %{__python} setup.py build %install %{__python} setup.py install \ --root="%{buildroot}" \ --prefix="%{_prefix}" \ --record-rpm=INSTALLED_FILES %clean %{__rm} -rf %{buildroot} %files -f INSTALLED_FILES %defattr(-, root, root, 0755) %doc docs/* %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor