Browse Source

Initial packaging

Christoph Biedl 5 years ago
parent
commit
3f0018bba1

+ 1 - 0
debian/compat

@@ -0,0 +1 @@
+10

+ 26 - 0
debian/control

@@ -0,0 +1,26 @@
+Source: libregexp-wildcards-perl
+Maintainer: Christoph Biedl <debian.axhn@manchmal.in-ulm.de>
+Homepage: https://metacpan.org/release/Regexp-Wildcards
+Standards-Version: 4.2.1
+Vcs-Browser: https://git.in-ulm.de/cbiedl/libregexp-wildcards-perl
+Vcs-Git: https://git.in-ulm.de/cbiedl/libregexp-wildcards-perl.git
+Build-Depends: debhelper (>= 10~),
+Priority: optional
+Section: perl
+
+Package: libregexp-wildcards-perl
+Architecture: all
+Depends: ${misc:Depends}, ${perl:Depends},
+Description: converts wildcard expressions to Perl regular expressions
+ In many situations, users may want to specify patterns to match but
+ don't need the full power of regexps. Wildcards make one of those sets
+ of simplified rules. Regexp::Wildcards converts wildcard expressions
+ to Perl regular expressions, so that you can use them for matching.
+ .
+ It handles the * and ? jokers, as well as Unix bracketed
+ alternatives {,}, but also % and _ SQL wildcards. If required, it can
+ also keep original (...) groups or ^ and $ anchors. Backspace (\) is
+ used as an escape character.
+ .
+ Typesets that mimic the behaviour of Windows and Unix shells are also
+ provided.

+ 29 - 0
debian/copyright

@@ -0,0 +1,29 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: Regexp-Wildcards
+Upstream-Contact: Vincent Pit <perl@profvince.com>
+Source: https://metacpan.org/release/Regexp-Wildcards
+
+Files: *
+Copyright: Vincent Pit <perl@profvince.com>
+License: Artistic or GPL-1+
+
+Files:
+ debian/*
+Copyright: 2018, Christoph Biedl <debian.axhn@manchmal.in-ulm.de>
+License: Artistic or GPL-1+
+
+License: Artistic
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the Artistic License, which comes with Perl.
+ .
+ On Debian systems, the complete text of the Artistic License can be
+ found in `/usr/share/common-licenses/Artistic'.
+
+License: GPL-1+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 1, or (at your option)
+ any later version.
+ .
+ On Debian systems, the complete text of version 1 of the GNU General
+ Public License can be found in `/usr/share/common-licenses/GPL-1'.

+ 1 - 0
debian/libregexp-wildcards-perl.examples

@@ -0,0 +1 @@
+samples/*

+ 19 - 0
debian/patches/patch.fix-package-description.patch

@@ -0,0 +1,19 @@
+Description: Fix wording in the package description
+Author: Christoph Biedl <debian.axhn@manchmal.in-ulm.de>
+Forwarded: https://rt.cpan.org/Public/Bug/Display.html?id=127567
+Last-Update: 2018-11-03
+
+--- a/lib/Regexp/Wildcards.pm
++++ b/lib/Regexp/Wildcards.pm
+@@ -53,9 +53,9 @@
+ Wildcards make one of those sets of simplified rules.
+ This module converts wildcard expressions to Perl regular expressions, so that you can use them for matching.
+ 
+-It handles the C<*> and C<?> jokers, as well as Unix bracketed alternatives C<{,}>, but also C<%> and C<_> SQL wildcards.
++It handles the C<*> and C<?> wildcards, as well as Unix bracketed alternatives C<{,}>, but also C<%> and C<_> SQL wildcards.
+ If required, it can also keep original C<(...)> groups or C<^> and C<$> anchors.
+-Backspace (C<\>) is used as an escape character.
++Backslash (C<\>) is used as an escape character.
+ 
+ Typesets that mimic the behaviour of Windows and Unix shells are also provided.
+ 

+ 15 - 0
debian/patches/patch.fix-shebang-env.patch

@@ -0,0 +1,15 @@
+Description: Adjust shebang in example script
+Author: Christoph Biedl <debian.axhn@manchmal.in-ulm.de>
+Forwarded: not-needed
+Last-Update: 2018-11-03
+
+    Related lintian warning: example-script-uses-bin-env
+
+--- a/samples/wc2re.pl
++++ b/samples/wc2re.pl
+@@ -1,4 +1,4 @@
+-#!/bin/env perl
++#!/usr/bin/perl
+ 
+ use strict;
+ use warnings;

+ 2 - 0
debian/patches/series

@@ -0,0 +1,2 @@
+patch.fix-shebang-env.patch
+patch.fix-package-description.patch

+ 4 - 0
debian/rules

@@ -0,0 +1,4 @@
+#!/usr/bin/make -f
+
+%:
+	dh $@

+ 1 - 0
debian/source/format

@@ -0,0 +1 @@
+3.0 (quilt)

+ 6 - 0
debian/upstream/metadata

@@ -0,0 +1,6 @@
+---
+Archive: CPAN
+Bug-Database: http://rt.cpan.org/Dist/Display.html?Name=Regexp-Wildcards
+Contact: Vincent Pit <perl@profvince.com>
+Name: Regexp-Wildcards
+Repository: http://git.profvince.com/?p=perl%2Fmodules%2FRegexp-Wildcards.git

+ 2 - 0
debian/watch

@@ -0,0 +1,2 @@
+version=3
+https://metacpan.org/release/Regexp-Wildcards   .*/Regexp-Wildcards-v?(\d[\d.-]*)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$