forked from pool/python-Markups
Accepting request 151297 from home:MargueriteSu
This module provides a wrapper around the various text markup languages, such as Markdown and reStructuredText. New dependency of ReText in editor repo. OBS-URL: https://build.opensuse.org/request/show/151297 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Markups?expand=0&rev=1
This commit is contained in:
55
python-Markups.spec
Normal file
55
python-Markups.spec
Normal file
@@ -0,0 +1,55 @@
|
||||
#
|
||||
# spec file for package python-markups
|
||||
#
|
||||
# Copyright (c) 2013 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/
|
||||
#
|
||||
|
||||
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
||||
|
||||
Name: python-markups
|
||||
Version: 0.2.4
|
||||
Release: 0
|
||||
License: BSD-3-Clause
|
||||
Summary: A wrapper around various text markups
|
||||
Url: http://pypi.python.org/pypi/Markups
|
||||
Group: Development/Languages/Python
|
||||
Source: Markups-%{version}.tar.gz
|
||||
BuildRequires: python-devel
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%if 0%{?suse_version}
|
||||
%py_requires
|
||||
%endif
|
||||
|
||||
%description
|
||||
This module provides a wrapper around the various text markup
|
||||
languages, such as Markdown and reStructuredText (these two
|
||||
are supported by default).
|
||||
|
||||
%prep
|
||||
%setup -q -n Markups-%{version}
|
||||
|
||||
%build
|
||||
python setup.py build
|
||||
|
||||
%install
|
||||
python setup.py install --root=%{buildroot} --prefix=%{_prefix}
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc changelog README LICENSE
|
||||
%{python_sitelib}/markups/
|
||||
%{python_sitelib}/Markups-%{version}-py2.7.egg-info
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user