Группа :: Разработка/Perl
Пакет: perl-WWW-RobotRules
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: perl-WWW-RobotRules-6.01-alt1.patch
Скачать
Скачать
.gear/rules | 2 +
.gear/tags/list | 1 +
perl-WWW-RobotRules.spec | 47 ++++++++++++++++++++++++++++++++++++++++++++++
3 files changed, 50 insertions(+), 0 deletions(-)
diff --git a/.gear/rules b/.gear/rules
new file mode 100644
index 0000000..da96142
--- /dev/null
+++ b/.gear/rules
@@ -0,0 +1,2 @@
+tar: WWW-RobotRules/@version@:. name=WWW-RobotRules-@version@
+diff: WWW-RobotRules/@version@:. .
diff --git a/.gear/tags/list b/.gear/tags/list
new file mode 100644
index 0000000..6a2ed7a
--- /dev/null
+++ b/.gear/tags/list
@@ -0,0 +1 @@
+56ca6d011aa8f6a44839d1f5564748c532e39435 WWW-RobotRules/6.01
diff --git a/perl-WWW-RobotRules.spec b/perl-WWW-RobotRules.spec
new file mode 100644
index 0000000..07b1fea
--- /dev/null
+++ b/perl-WWW-RobotRules.spec
@@ -0,0 +1,47 @@
+%define dist WWW-RobotRules
+Name: perl-%dist
+Version: 6.01
+Release: alt1
+
+Summary: Database of robots.txt-derived permissions
+License: GPL or Artistic
+Group: Development/Perl
+
+URL: %CPAN %dist
+Source: %dist-%version.tar
+Patch: %name-%version-%release.patch
+
+Conflicts: perl-libwww < 6
+
+BuildArch: noarch
+
+# requires AnyDBM_File and DB_File; not required by any packag
+%add_findreq_skiplist */WWW/RobotRules/AnyDBM_File.pm
+%add_findreq_skiplist */WWW/RobotRules/DB_File.pm
+
+# Automatically added by buildreq on Mon Mar 21 2011
+BuildRequires: perl-DBM perl-URI perl-devel
+
+%description
+This module parses /robots.txt files as specified in "A Standard
+for Robot Exclusion", at <http://www.robotstxt.org/wc/norobots.html>
+Webmasters can use the /robots.txt file to forbid conforming robots
+from accessing parts of their web site.
+
+%prep
+%setup -q -n %dist-%version
+%patch -p1
+
+%build
+%perl_vendor_build
+
+%install
+%perl_vendor_install
+
+%files
+%doc Changes README
+%perl_vendor_privlib/WWW*
+
+%changelog
+* Mon Mar 21 2011 Alexey Tourbin <at@altlinux.ru> 6.01-alt1
+- initial revision