]> git.pld-linux.org Git - SPECS.git/blob - perl-Text-German.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / perl-Text-German.spec
1 #
2 # Conditional build:
3 %bcond_without  tests   # do not perform "make test"
4
5 %define         pdir    Text
6 %define         pnam    German
7 Summary:        Text::German - German grundform reduction
8 Summary(pl.UTF-8):      Text::German - redukcja niemieckich "Grundformen"
9 Name:           perl-Text-German
10 Version:        0.06
11 Release:        1
12 License:        unknown
13 Group:          Development/Languages/Perl
14 Source0:        http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
15 # Source0-md5:  9e968525f7385c80d636a4ba68d27bf4
16 URL:            http://search.cpan.org/dist/Text-German/
17 BuildRequires:  perl-devel >= 1:5.8.0
18 BuildRequires:  rpm-perlprov >= 4.1-13
19 BuildArch:      noarch
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
23 This is a rather incomplete implementaion of work done by Gudrun
24 Putze-Meier <gudrun.pm@t-online.de>. I have to confess that I never
25 read her original paper. So all credit belongs to her, all bugs are
26 mine. I tried to get some insight from an implementation of two
27 students of mine. They remain anonymous because their work was the
28 worst piece of code I ever saw. My code behaves mostly as their
29 implementation did except it is about 75 times faster.
30
31 %description -l pl.UTF-8
32 To jest raczej niepełna implementacja pracy autorstwa Gudrun
33 Putze-Meier <gudrun.pm@t-online.de>. Autor modułu przyznaje, że nigdy
34 nie czytał jej oryginalnego artykułu, więc cały zaszczyt przysługuje
35 jej, a błędy autorowi modułu. Autor próbował korzystać z implementacji
36 swoich dwóch studentów, którzy pozostaną anonimowi, ponieważ ich praca
37 była najgorszym kawałkiem kodu, jaki widział autor. Ten kod zachowuje
38 się w większości tak, jak implementacja studentów, ale jest około 75
39 razy szybszy.
40
41 %prep
42 %setup -q -n %{pdir}-%{pnam}-%{version}
43
44 %build
45 %{__perl} Makefile.PL \
46         INSTALLDIRS=vendor
47 %{__make}
48
49 %{?with_tests:%{__make} test}
50
51 %install
52 rm -rf $RPM_BUILD_ROOT
53
54 %{__make} install \
55         DESTDIR=$RPM_BUILD_ROOT
56
57 %clean
58 rm -rf $RPM_BUILD_ROOT
59
60 %files
61 %defattr(644,root,root,755)
62 %doc README
63 %{perl_vendorlib}/Text/German.pm
64 %{perl_vendorlib}/Text/German
65 %{_mandir}/man3/*
This page took 0.17325 seconds and 3 git commands to generate.