[perl-Text-Clip] Initial import.

corsepiu corsepiu at fedoraproject.org
Tue Jul 22 15:36:15 UTC 2014


commit 0b9ef43fd6c299f3e24368e11017aab6bde9201f
Author: Ralf Corsépius <corsepiu at fedoraproject.org>
Date:   Tue Jul 22 17:35:50 2014 +0200

    Initial import.

 .gitignore          |    1 +
 perl-Text-Clip.spec |   46 ++++++++++++++++++++++++++++++++++++++++++++++
 sources             |    1 +
 3 files changed, 48 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..3090e93 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Text-Clip-0.0014.tar.gz
diff --git a/perl-Text-Clip.spec b/perl-Text-Clip.spec
new file mode 100644
index 0000000..6ed903c
--- /dev/null
+++ b/perl-Text-Clip.spec
@@ -0,0 +1,46 @@
+Name:           perl-Text-Clip
+Version:        0.0014
+Release:        1%{?dist}
+Summary:        Clip and extract text in clipboard-like way
+License:        GPL+ or Artistic
+Group:          Development/Libraries
+URL:            http://search.cpan.org/dist/Text-Clip/
+Source0:        http://www.cpan.org/authors/id/R/RO/ROKR/Text-Clip-%{version}.tar.gz
+BuildArch:      noarch
+BuildRequires:  perl(Any::Moose)
+BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(Test::Most)
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+%description
+Text::Clip allows you to mark/slice up a piece of text. String matching (by
+regular expression, etc.) is used to place marks. The first mark lets you
+access the text preceding and following the mark. Subsequent marks allow
+you to slurp up the text "clipped" between the marks.
+
+%prep
+%setup -q -n Text-Clip-%{version}
+
+%build
+%{__perl} Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
+
+%install
+make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
+
+find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
+find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
+
+%{_fixperms} $RPM_BUILD_ROOT/*
+
+%check
+make test
+
+%files
+%doc Changes README
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+
+%changelog
+* Tue Jul 22 2014 Ralf Corsépius <corsepiu at fedoraproject.org> 0.0014-1
+- Specfile autogenerated by cpanspec 1.78.
diff --git a/sources b/sources
index e69de29..8bcbaf9 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+427bcdfcf9aaff00d7a9455a1e857f83  Text-Clip-0.0014.tar.gz


More information about the scm-commits mailing list