]> git.pld-linux.org Git - SPECS.git/blob - perl-Text-Thesaurus-ISO.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / perl-Text-Thesaurus-ISO.spec
1 #
2 # Conditional build:
3 %bcond_without  tests   # do not perform "make test"
4
5 %define         pdir    Text
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
10 Version:        1.0
11 Release:        15
12 # same as perl
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
20 BuildArch:      noarch
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %description
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
29 a given term.
30
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.
38
39 %prep
40 %setup -q -n %{pdir}-%{pnam}-%{version}
41
42 %build
43 %{__perl} Makefile.PL \
44         INSTALLDIRS=vendor
45 %{__make}
46
47 %{?with_tests:%{__make} test}
48
49 %install
50 rm -rf $RPM_BUILD_ROOT
51
52 %{__make} install \
53         DESTDIR=$RPM_BUILD_ROOT
54
55 %clean
56 rm -rf $RPM_BUILD_ROOT
57
58 %files
59 %defattr(644,root,root,755)
60 %doc README
61 %dir %{perl_vendorlib}/Text/Thesaurus
62 %{perl_vendorlib}/Text/Thesaurus/ISO.pm
63 # empty autosplit.ix
64 #%dir %{perl_vendorlib}/auto/Text/Thesaurus
65 #%dir %{perl_vendorlib}/auto/Text/Thesaurus/ISO
66 #%%{perl_vendorlib}/auto/Text/Thesaurus/ISO/autosplit.ix
67 %{_mandir}/man3/*
This page took 0.660066 seconds and 3 git commands to generate.