[parsero] initial import

Fabian Affolter fab at fedoraproject.org
Wed Oct 8 11:20:57 UTC 2014


commit 703a016a3f56a4fc5fc64eb03b5bf8add4d86722
Author: Fabian Affolter <fabian at affolter-engineering.ch>
Date:   Wed Oct 8 13:20:32 2014 +0200

    initial import

 .gitignore   |    1 +
 parsero.spec |   48 ++++++++++++++++++++++++++++++++++++++++++++++++
 sources      |    1 +
 3 files changed, 50 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..b4a82a0 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/parsero-0.81.tar.gz
diff --git a/parsero.spec b/parsero.spec
new file mode 100644
index 0000000..2173d3d
--- /dev/null
+++ b/parsero.spec
@@ -0,0 +1,48 @@
+Name:           parsero
+Version:        0.81
+Release:        1%{?dist}
+Summary:        A Python based Robots.txt audit tool
+
+License:        GPLv2+
+URL:            https://github.com/behindthefirewalls/Parsero
+Source0:        https://pypi.python.org/packages/3.3/p/parsero/%{name}-%{version}.tar.gz
+BuildArch:      noarch
+
+BuildRequires:  python3-devel
+BuildRequires:  python3-setuptools
+
+%description
+Parsero is a free script written in Python which reads the Robots.txt
+file of a web server and looks at the Disallow entries. The Disallow
+entries tell the search engines what directories or files hosted on a
+web server mustn't be indexed. For example, "Disallow: /portal/login"
+means that the content on www.example.com/portal/login it's not allowed
+to be indexed by crawlers like Google, Bing, Yahoo... This is the way
+the administrator have to not share sensitive or private information
+with the search engines.
+
+%prep
+%setup -q
+rm -rf %{name}*.egg-info
+find -name '*.py' | xargs sed -i '1s|^#!python|#!%{__python3}|'
+
+%build
+%{__python3} setup.py build
+
+%install
+%{__python3} setup.py install --skip-build --root %{buildroot}
+
+%files
+%doc README.md LICENSE.txt
+%{_bindir}/%{name}
+%{python3_sitelib}/%{name}.py
+%{python3_sitelib}/%{name}*.egg-info
+%{python3_sitelib}/__pycache__/%{name}*
+
+%changelog
+* Tue Oct 07 2014 Fabian Affolter <mail at fabian-affolter.ch> - 0.81-1
+- Add license file
+- Update to latest upstream release 0.81
+
+* Wed Sep 24 2014 Fabian Affolter <mail at fabian-affolter.ch> - 0.80-1
+- Initial package
diff --git a/sources b/sources
index e69de29..8459f24 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+42fb84c5ef3886f68e7f36fb86fce5dc  parsero-0.81.tar.gz


More information about the scm-commits mailing list