]> git.pld-linux.org Git - packages/perl-Text-Diff.git/blame - perl-Text-Diff.spec
- updated Algorithm::Diff BR, more verbose files
[packages/perl-Text-Diff.git] / perl-Text-Diff.spec
CommitLineData
feacc254 1#
2# Conditional build:
cdbb9206 3%bcond_without tests # do not perform "make test"
5ebfb2e0 4#
feacc254 5%include /usr/lib/rpm/macros.perl
c1e64111 6%define pdir Text
7%define pnam Diff
1f4b47f0 8Summary: Text::Diff - perform diffs on files and record sets
951fdcd9 9Summary(pl.UTF-8): Text::Diff - wyszukiwanie różnic między plikami i zbiorami rekordów
feacc254 10Name: perl-Text-Diff
1e4074a3 11Version: 1.41
6448945a 12Release: 1
58b0f0e1 13License: GPL v2+ or Artistic
feacc254 14Group: Development/Languages/Perl
df859f4d 15Source0: http://www.cpan.org/modules/by-module/Text/%{pdir}-%{pnam}-%{version}.tar.gz
1e4074a3 16# Source0-md5: 30d56e6dd5551ca16b8e16cc7299dc21
df859f4d 17URL: http://search.cpan.org/dist/Text-Diff/
cdbb9206 18%if %{with tests}
75359cbf 19BuildRequires: perl-Algorithm-Diff >= 1.19
feacc254 20%endif
df859f4d 21BuildRequires: perl-devel >= 1:5.8.0
063d6b5c 22BuildRequires: rpm-perlprov >= 4.1-13
feacc254 23BuildArch: noarch
24BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26%description
35d13a44
JB
27diff() provides a basic set of services akin to the GNU diff utility.
28It is not anywhere near as feature complete as GNU diff, but it is
29better integrated with Perl and available on all platforms. It is
30often faster than shelling out to a system's diff executable for small
31files, and generally slower on larger files.
32
d4979d2f
JR
33%description -l pl.UTF-8
34Funkcja diff() udostępnia podstawowy zbiór usług podobnych do
35narzędzia GNU diff. Daleko jej do pełnej funkcjonalności GNU diffa,
36ale jest lepiej zintegrowana z Perlem i dostępna na wszystkich
37platformach. Jest przeważnie szybsza niż uruchamianie polecenia
38systemowego w przypadku małych plików, a wolniejsza dla dużych plików.
feacc254 39
40%prep
41%setup -q -n %{pdir}-%{pnam}-%{version}
42
43%build
063d6b5c 44%{__perl} Makefile.PL \
6501fa22 45 INSTALLDIRS=vendor
feacc254 46%{__make}
47
cdbb9206 48%{?with_tests:%{__make} test}
feacc254 49
50%install
51rm -rf $RPM_BUILD_ROOT
52
cdbb9206 53%{__make} install \
54 DESTDIR=$RPM_BUILD_ROOT
feacc254 55
56%clean
57rm -rf $RPM_BUILD_ROOT
58
59%files
60%defattr(644,root,root,755)
75359cbf 61%{perl_vendorlib}/Text/Diff.pm
df859f4d 62%{perl_vendorlib}/Text/Diff
75359cbf 63%{_mandir}/man3/Text::Diff*.3pm*
This page took 0.075866 seconds and 4 git commands to generate.