[python-slugify] Spec new file: python-slugify.spec new file: slugify-0.0.1-LICENSE.patch

William Moreno williamjmorenor at fedoraproject.org
Thu Nov 6 02:30:37 UTC 2014


commit b0423e86104f246f48ca0f5421842f0f3e884be5
Author: William Moreno Reyes <williamjmorenor at gmail.com>
Date:   Wed Nov 5 20:30:22 2014 -0600

    Spec
    	new file:   python-slugify.spec
    	new file:   slugify-0.0.1-LICENSE.patch

 python-slugify.spec         |   44 ++++++++++++++++++++++++++++++++++
 slugify-0.0.1-LICENSE.patch |   55 +++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 99 insertions(+), 0 deletions(-)
---
diff --git a/python-slugify.spec b/python-slugify.spec
new file mode 100644
index 0000000..a1c7812
--- /dev/null
+++ b/python-slugify.spec
@@ -0,0 +1,44 @@
+%global pypi_name slugify
+
+Name:           python-%{pypi_name}
+Version:        0.0.1
+Release:        2%{?dist}
+Summary:        A generic slugifier
+
+License:        Unlicense
+URL:            http://github.com/zacharyvoase/slugify
+Source0:        https://pypi.python.org/packages/source/s/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
+#Add License file to package
+Patch1:         slugify-0.0.1-LICENSE.patch
+
+BuildArch:      noarch
+BuildRequires:  python2-devel
+BuildRequires:  python-setuptools
+
+%description
+A generic slugifier.
+
+%prep
+%setup -q -n %{pypi_name}-%{version}
+
+%patch1 -p1
+
+%build
+%{__python2} setup.py build
+
+%install
+%{__python2} setup.py install --skip-build --root %{buildroot}
+
+%files
+%doc LICENSE
+%{_bindir}/slugify
+%{python2_sitelib}/%{pypi_name}.py*
+%{python2_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info
+
+%changelog
+
+* Mon Oct 27 2014 William José Moreno Reyes <williamjmorenor at gmail.com> - 0.0.1-2
+- Patching Licence
+
+* Mon Oct 20 2014 William José Moreno Reyes <williamjmorenor at gmail.com> - 0.0.1-1
+- Initial package.
diff --git a/slugify-0.0.1-LICENSE.patch b/slugify-0.0.1-LICENSE.patch
new file mode 100644
index 0000000..560a618
--- /dev/null
+++ b/slugify-0.0.1-LICENSE.patch
@@ -0,0 +1,55 @@
+Subdirectorios comunes: ../slugify-0.0.1.orig/bin y ./bin
+diff -uN ../slugify-0.0.1.orig/LICENSE ./LICENSE
+--- ../slugify-0.0.1.orig/LICENSE	1969-12-31 18:00:00.000000000 -0600
++++ ./LICENSE	2014-10-27 19:52:17.351481721 -0600
+@@ -0,0 +1,20 @@
++This is free and unencumbered software released into the public domain.
++Anyone is free to copy, modify, publish, use, compile, sell, or
++distribute this software, either in source code form or as a compiled
++binary, for any purpose, commercial or non-commercial, and by any
++means.
++In jurisdictions that recognize copyright laws, the author or authors
++of this software dedicate any and all copyright interest in the
++software to the public domain. We make this dedication for the benefit
++of the public at large and to the detriment of our heirs and
++successors. We intend this dedication to be an overt act of
++relinquishment in perpetuity of all present and future rights to this
++software under copyright law.
++THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
++EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
++MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
++IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
++OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
++ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
++OTHER DEALINGS IN THE SOFTWARE.
++For more information, please refer to <http://unlicense.org/>
+diff -uN ../slugify-0.0.1.orig/slugify-0.0.1-LICENSE.patch ./slugify-0.0.1-LICENSE.patch
+--- ../slugify-0.0.1.orig/slugify-0.0.1-LICENSE.patch	1969-12-31 18:00:00.000000000 -0600
++++ ./slugify-0.0.1-LICENSE.patch	2014-10-28 19:47:14.784928145 -0600
+@@ -0,0 +1,25 @@
++Subdirectorios comunes: ../slugify-0.0.1.orig/bin y ./bin
++diff -uN ../slugify-0.0.1.orig/LICENSE ./LICENSE
++--- ../slugify-0.0.1.orig/LICENSE	1969-12-31 18:00:00.000000000 -0600
+++++ ./LICENSE	2014-10-27 19:52:17.351481721 -0600
++@@ -0,0 +1,20 @@
+++This is free and unencumbered software released into the public domain.
+++Anyone is free to copy, modify, publish, use, compile, sell, or
+++distribute this software, either in source code form or as a compiled
+++binary, for any purpose, commercial or non-commercial, and by any
+++means.
+++In jurisdictions that recognize copyright laws, the author or authors
+++of this software dedicate any and all copyright interest in the
+++software to the public domain. We make this dedication for the benefit
+++of the public at large and to the detriment of our heirs and
+++successors. We intend this dedication to be an overt act of
+++relinquishment in perpetuity of all present and future rights to this
+++software under copyright law.
+++THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+++EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+++MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+++IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
+++OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
+++ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+++OTHER DEALINGS IN THE SOFTWARE.
+++For more information, please refer to <http://unlicense.org/>
+Subdirectorios comunes: ../slugify-0.0.1.orig/src y ./src


More information about the scm-commits mailing list