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