forked from pool/python-Markups
- Completely redone spec file
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Markups?expand=0&rev=2
This commit is contained in:
committed by
Git OBS Bridge
parent
1928ce3377
commit
f4a4465519
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 6 09:42:28 UTC 2013 - saschpe@suse.de
|
||||
|
||||
- Completely redone spec file
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Feb 2 11:46:51 UTC 2013 - i@marguerite.su
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# spec file for package python-markups
|
||||
# spec file for package python-Markups
|
||||
#
|
||||
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
@@ -13,28 +13,27 @@
|
||||
# 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
|
||||
Name: python-Markups
|
||||
Version: 0.2.4
|
||||
Release: 0
|
||||
License: BSD-3-Clause
|
||||
Summary: A wrapper around various text markups
|
||||
Url: http://launchpad.net/python-markups
|
||||
Group: Development/Languages/Python
|
||||
Source: http://pypi.python.org/packages/source/M/Markups/Markups-%{version}.tar.gz
|
||||
BuildRequires: python-devel
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%if 0%{?suse_version}
|
||||
%py_requires
|
||||
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
|
||||
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
||||
%else
|
||||
BuildArch: noarch
|
||||
%endif
|
||||
|
||||
%description
|
||||
This module provides a wrapper around the various text markup
|
||||
languages, such as Markdown and reStructuredText (these two
|
||||
are supported by default).
|
||||
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}
|
||||
@@ -43,13 +42,11 @@ are supported by default).
|
||||
python setup.py build
|
||||
|
||||
%install
|
||||
python setup.py install --root=%{buildroot} --prefix=%{_prefix}
|
||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc changelog README LICENSE
|
||||
%{python_sitelib}/markups/
|
||||
%{python_sitelib}/Markups-%{version}-py2.7.egg-info
|
||||
%defattr(-,root,root,-)
|
||||
%doc LICENSE README examples
|
||||
%{python_sitelib}/*
|
||||
|
||||
%changelog
|
||||
|
||||
|
||||
Reference in New Issue
Block a user