3 %bcond_without tests # do not perform "make test"
7 Summary: Text::German - German grundform reduction
8 Summary(pl.UTF-8): Text::German - redukcja niemieckich "Grundformen"
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
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
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.
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
42 %setup -q -n %{pdir}-%{pnam}-%{version}
45 %{__perl} Makefile.PL \
49 %{?with_tests:%{__make} test}
52 rm -rf $RPM_BUILD_ROOT
55 DESTDIR=$RPM_BUILD_ROOT
58 rm -rf $RPM_BUILD_ROOT
61 %defattr(644,root,root,755)
63 %{perl_vendorlib}/Text/German.pm
64 %{perl_vendorlib}/Text/German