]> git.pld-linux.org Git - packages/perl-Digest-Elf.git/blame - perl-Digest-Elf.spec
- release 8 (by relup.sh)
[packages/perl-Digest-Elf.git] / perl-Digest-Elf.spec
CommitLineData
3cdec971 1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
4#
24558ff1 5%include /usr/lib/rpm/macros.perl
9ba1b667 6%define pdir Digest
7%define pnam Elf
900e1f4f 8Summary: Digest::Elf - implementation of the ElfHash algorithm
21b5af81 9Summary(pl.UTF-8): Digest::Elf - implementacja algorytmu ElfHash
24558ff1 10Name: perl-Digest-Elf
f88bbfa6 11Version: 1.4
f6e6f423 12Release: 8
24558ff1
JB
13License: unknown
14Group: Development/Languages/Perl
3319fae6 15Source0: http://www.cpan.org/modules/by-module/Digest/%{pdir}-%{pnam}-%{version}.tar.gz
f88bbfa6 16# Source0-md5: 59e6737aae2f9efd1a8af8bc8655f575
3319fae6 17URL: http://search.cpan.org/dist/Digest-Elf/
ff3111eb 18BuildRequires: perl-devel >= 1:5.8.0
4cbad7e4 19BuildRequires: rpm-perlprov >= 4.1-13
24558ff1
JB
20BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22%description
900e1f4f 23Digest::Elf Perl module provides an implimentation of the ElfHash
24algorithm. ElfHash generates resonably unique values from a string in
25a reasonably short period of time. The actual algorith is culled from
26a Dr. Dobbs Journal article, they culled it probably from the source
27for the GNU C complier.
24558ff1 28
9cdd2c00
JR
29%description -l pl.UTF-8
30Moduł Perla Digest::Elf jest implementacją algorytmu ElfHash. Algorytm
31ten generuje w miarę unikalne wartości dla łańcuchów znaków w
32przyzwoitym czasie. Właściwy algorytm jest ściągnięty z artykułu z Dr.
33Dobbs Journal, gdzie został ściągnięty prawdopodobnie ze źródeł
900e1f4f 34kompilatora C z GNU.
24558ff1
JB
35
36%prep
37%setup -q -n %{pdir}-%{pnam}-%{version}
38
39%build
4cbad7e4 40%{__perl} Makefile.PL \
56f8c835 41 INSTALLDIRS=vendor
3cdec971 42%{__make} \
951022ae 43 CC="%{__cc}" \
3cdec971 44 OPTIMIZE="%{rpmcflags}"
45
46%{?with_tests:%{__make} test}
24558ff1
JB
47
48%install
49rm -rf $RPM_BUILD_ROOT
50
51%{__make} install \
52 DESTDIR=$RPM_BUILD_ROOT
53
54%clean
55rm -rf $RPM_BUILD_ROOT
56
57%files
58%defattr(644,root,root,755)
59%doc Changes README
4cbad7e4 60%{perl_vendorarch}/Digest/Elf.pm
61%dir %{perl_vendorarch}/auto/Digest/Elf
4cbad7e4 62%attr(755,root,root) %{perl_vendorarch}/auto/Digest/Elf/Elf.so
24558ff1 63%{_mandir}/man3/*
This page took 0.106587 seconds and 4 git commands to generate.