psabata pushed to perl-Text-Reflow (f21). "Initial commit (#1241614)"

notifications at fedoraproject.org notifications at fedoraproject.org
Tue Jul 21 11:22:19 UTC 2015


From 07afc1ada84c22f65a6d333ecca9cccc26ed2c42 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20=C5=A0abata?= <contyk at redhat.com>
Date: Tue, 21 Jul 2015 13:21:08 +0200
Subject: Initial commit (#1241614)


diff --git a/.gitignore b/.gitignore
index e69de29..68041a7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Text-Reflow-1.10.tar.gz
diff --git a/perl-Text-Reflow.spec b/perl-Text-Reflow.spec
new file mode 100644
index 0000000..952dbf0
--- /dev/null
+++ b/perl-Text-Reflow.spec
@@ -0,0 +1,70 @@
+Name:           perl-Text-Reflow
+Version:        1.10
+Release:        1%{?dist}
+Summary:        Perl module for reflowing text files using Knuth's paragraphing algorithm
+License:        GPLv3+ and (GPL+ or Artistic)
+URL:            http://search.cpan.org/dist/Text-Reflow/
+Source0:        http://www.cpan.org/authors/id/M/MW/MWARD/Text-Reflow-%{version}.tar.gz
+# Build
+BuildRequires:  coreutils
+BuildRequires:  findutils
+BuildRequires:  make
+BuildRequires:  perl
+BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.76
+# Runtime
+BuildRequires:  perl(Carp)
+BuildRequires:  perl(DynaLoader)
+BuildRequires:  perl(Exporter)
+BuildRequires:  perl(integer)
+BuildRequires:  perl(strict)
+BuildRequires:  perl(vars)
+BuildRequires:  perl(warnings)
+# Tests only
+BuildRequires:  perl(Test::Simple)
+Requires:       perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
+
+%description
+These routines will reflow the paragraphs in the given file, filehandle,
+string or array using Knuth's paragraphing algorithm (as used in TeX) to
+pick "good" places to break the lines.
+
+%package -n reflow
+Summary:        A utility for reflowing text files using Knuth's paragraphing algorithm
+License:        GPLv2+
+BuildArch:      noarch
+
+%description -n reflow
+%{summary}.
+
+%prep
+%setup -q -n Text-Reflow-%{version}
+
+%build
+perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" NO_PACKLIST=1
+make %{?_smp_mflags}
+
+%install
+make pure_install DESTDIR=%{buildroot}
+find %{buildroot} -type f -name '*.bs' -empty -exec rm -f {} +
+%{_fixperms} %{buildroot}/*
+
+%check
+make test
+
+%files
+%doc Changes README
+%{perl_vendorarch}/auto/*
+%{perl_vendorarch}/Text
+%{_mandir}/man3/*
+
+%files -n reflow
+%{_bindir}/reflow
+
+%changelog
+* Fri Jul 17 2015 Petr Šabata <contyk at redhat.com> - 1.10-1
+- 1.10 bump
+- Drop the patch, incorporated upstream (rt#105774)
+- Don't package the modules files twice
+
+* Thu Jul 09 2015 Petr Šabata <contyk at redhat.com> 1.09-1
+- Initial packaging
diff --git a/sources b/sources
index e69de29..ea24224 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+ad0f4b3b2ec69d3eea8150f268f1d1dd  Text-Reflow-1.10.tar.gz
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/perl-Text-Reflow.git/commit/?h=f21&id=07afc1ada84c22f65a6d333ecca9cccc26ed2c42


More information about the perl-devel mailing list