3 %bcond_without tests # do not perform "make test"
6 %define pnam Thesaurus-ISO
7 Summary: Text::Thesaurus::ISO - a class to handle ISO thesaurii
8 Summary(pl.UTF-8): Text::Thesaurus::ISO - klasa do obsługi tezaurusów ISO
9 Name: perl-Text-Thesaurus-ISO
13 License: GPL v1+ or Artistic
14 Group: Development/Languages/Perl
15 Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5: dd33a2bdae9519806b941ea8063fb1f5
17 URL: http://search.cpan.org/dist/Text-Thesaurus-ISO/
18 BuildRequires: perl-devel >= 1:5.8.0
19 BuildRequires: rpm-perlprov >= 4.1-13
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 This module defines an abstract ROADS Thesaurus object and a number of
25 methods that operate on these objects. These methods allow new
26 Thesaurus objects to be created, specify what Thesaurus file to use,
27 retrieve all the information from the thesaurus concerning a given
28 term, find broader terms for a given term and find narrower terms for
31 %description -l pl.UTF-8
32 Ten moduł definiuje abstrakcyjny obiekt ROADS Thesaurus oraz wiele
33 metod operujących na tych obiektach. Metody te pozwalają na tworzenie
34 nowych obiektów Thesaurus, wskazywanie pliku, jaki ma być używany,
35 odczytywania wszystkich informacji z tezaurusa dotyczących podanego
36 wyrażenia, szukania wyrażenia bardziej ogólnego do podanego oraz
37 szukania wyrażeń o węższym znaczeniu.
40 %setup -q -n %{pdir}-%{pnam}-%{version}
43 %{__perl} Makefile.PL \
47 %{?with_tests:%{__make} test}
50 rm -rf $RPM_BUILD_ROOT
53 DESTDIR=$RPM_BUILD_ROOT
56 rm -rf $RPM_BUILD_ROOT
59 %defattr(644,root,root,755)
61 %dir %{perl_vendorlib}/Text/Thesaurus
62 %{perl_vendorlib}/Text/Thesaurus/ISO.pm
64 #%dir %{perl_vendorlib}/auto/Text/Thesaurus
65 #%dir %{perl_vendorlib}/auto/Text/Thesaurus/ISO
66 #%%{perl_vendorlib}/auto/Text/Thesaurus/ISO/autosplit.ix