]> git.pld-linux.org Git - packages/perl-Text-Diff.git/commitdiff
- new, STBR perl-Text-Diff-0_34-1
authorradek <radek@pld-linux.org>
Sun, 25 Aug 2002 15:18:42 +0000 (15:18 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    perl-Text-Diff.spec -> 1.1

perl-Text-Diff.spec [new file with mode: 0644]

diff --git a/perl-Text-Diff.spec b/perl-Text-Diff.spec
new file mode 100644 (file)
index 0000000..ca430b1
--- /dev/null
@@ -0,0 +1,54 @@
+#
+# Conditional build:
+# _without_tests - do not perform "make test"
+%include       /usr/lib/rpm/macros.perl
+%define        pdir    Text
+%define        pnam    Diff
+Summary:       Text::Diff - Perform diffs on files and record sets
+#Summary(pl):  
+Name:          perl-Text-Diff
+Version:       0.34
+Release:       1
+License:       GPL v2+/Artistic
+Group:         Development/Languages/Perl
+Source0:       ftp://ftp.cpan.org/pub/CPAN/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
+BuildRequires: perl >= 5.6
+BuildRequires: rpm-perlprov >= 3.0.3-26
+%if %{?_without_tests:0}%{!?_without_tests:1}
+BuildRequires: perl-Algorithm-Diff
+%endif
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+C<diff()> provides a basic set of services akin to the GNU C<diff>
+utility.  It is not anywhere near as feature complete as GNU C<diff>,
+but it is better integrated with Perl and available on all platforms.
+It is often faster than shelling out to a system's C<diff> executable
+for small files, and generally slower on larger files.
+
+# %description -l pl
+# TODO
+
+%prep
+%setup -q -n %{pdir}-%{pnam}-%{version}
+
+%build
+perl Makefile.PL
+%{__make}
+
+%{!?_without_tests:%{__make} test}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%{perl_sitelib}/%{pdir}/*.pm
+%{perl_sitelib}/%{pdir}/%{pnam}
+%{_mandir}/man3/*
This page took 0.081861 seconds and 4 git commands to generate.