[packages/perl-Tk-DiffText] new, created with pldcpan
glen
glen at pld-linux.org
Wed Sep 10 11:33:51 CEST 2014
commit 2fca5edf2583055c406f646912a4234bca59be12
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Wed Sep 10 12:33:08 2014 +0300
new, created with pldcpan
perl-Tk-DiffText.spec | 54 +++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 54 insertions(+)
---
diff --git a/perl-Tk-DiffText.spec b/perl-Tk-DiffText.spec
new file mode 100644
index 0000000..b087531
--- /dev/null
+++ b/perl-Tk-DiffText.spec
@@ -0,0 +1,54 @@
+#
+# Conditional build:
+%bcond_without tests # do not perform "make test"
+
+%define pdir Tk
+%define pnam DiffText
+%include /usr/lib/rpm/macros.perl
+Summary: Tk::DiffText - Perl/Tk composite widget for colorized diffs
+Name: perl-Tk-DiffText
+Version: 0.19
+Release: 1
+# same as perl
+License: GPL v1+ or Artistic
+Group: Development/Languages/Perl
+Source0: http://www.cpan.org/modules/by-module/Tk/%{pdir}-%{pnam}-%{version}.zip
+# Source0-md5: 02a06caf724c6f25ed6b138affcb14d7
+URL: http://search.cpan.org/dist/Tk-DiffText/
+BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
+%if %{with tests}
+BuildRequires: perl(Tie::Tk::Text) >= 0.01
+BuildRequires: perl-Algorithm-Diff >= 1.13
+BuildRequires: perl-Tk
+%endif
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This module defines a composite widget that makes it simple to provide
+basic "diff" functionality to your Tk applications.
+
+%prep
+%setup -q -n %{pdir}-%{pnam}-%{version}
+
+%build
+%{__perl} Makefile.PL \
+ INSTALLDIRS=vendor
+%{__make}
+
+%{?with_tests:%{__make} test}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__make} pure_install \
+ DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc Changes README
+%{_mandir}/man3/Tk::DiffText.3pm*
+%{perl_vendorlib}/Tk/DiffText.pm
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/perl-Tk-DiffText.git/commitdiff/2fca5edf2583055c406f646912a4234bca59be12
More information about the pld-cvs-commit
mailing list