Bump to python-MarkupSafe 1.0 48/124648/1 submit/tizen/20170413.015102
authorDongHun Kwak <dh0128.kwak@samsung.com>
Wed, 12 Apr 2017 04:54:36 +0000 (13:54 +0900)
committerDongHun Kwak <dh0128.kwak@samsung.com>
Wed, 12 Apr 2017 04:54:36 +0000 (13:54 +0900)
[Model] All
[BinType] AP
[Customer] OPEN

[Issue#] N/A
[Request] N/A
[Occurrence Version] N/A

[Problem] Bump to python-MarkupSafe 1.0
[Cause & Measure] Bump to python-MarkupSafe 1.0
[Checking Method] N/A

[Team] Open Source Management and Setting Part
[Developer] dh0128.kwak
[Solution company] Samsung
[Change Type] N/A

Change-Id: Ic9169eb02bf8d75eecb0b64e6b5d4750b130c7d9

packaging/python-MarkupSafe.manifest [new file with mode: 0644]
packaging/python-MarkupSafe.spec [new file with mode: 0644]

diff --git a/packaging/python-MarkupSafe.manifest b/packaging/python-MarkupSafe.manifest
new file mode 100644 (file)
index 0000000..017d22d
--- /dev/null
@@ -0,0 +1,5 @@
+<manifest>
+ <request>
+    <domain name="_"/>
+ </request>
+</manifest>
diff --git a/packaging/python-MarkupSafe.spec b/packaging/python-MarkupSafe.spec
new file mode 100644 (file)
index 0000000..95cb7e4
--- /dev/null
@@ -0,0 +1,59 @@
+#
+# spec file for package python-MarkupSafe
+#
+# Copyright (c) 2017 SUSE LINUX 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-MarkupSafe
+Version:        1.0
+Release:        0
+Url:            http://dev.pocoo.org/
+Summary:        Implements a XML/HTML/XHTML Markup safe string for Python
+License:        BSD-3-Clause
+Group:          Development/Languages/Python
+Source:         https://pypi.io/packages/source/M/MarkupSafe/MarkupSafe-%{version}.tar.gz
+Source1001:     %{name}.manifest
+
+BuildRequires:  python-devel
+BuildRequires:  python-setuptools
+
+Provides:       python-markupsafe = %{version}
+Obsoletes:      python-markupsafe < %{version}
+
+%description
+Implements a unicode subclass that supports HTML strings. This can be used to
+safely encode strings for dynamically generated web pages.
+
+%prep
+%setup -q -n MarkupSafe-%{version}
+
+%build
+cp %{SOURCE1001} .
+export CFLAGS="%{optflags}"
+python setup.py build
+
+%install
+python setup.py install --prefix=%{_prefix} --root=%{buildroot}
+
+%remove_docs
+
+%files
+%manifest %{name}.manifest
+%defattr(-,root,root,-)
+%license LICENSE
+%{python_sitelib}/markupsafe/
+%{python_sitelib}/MarkupSafe-%{version}-py*.egg-info
+
+%changelog
+