]> git.pld-linux.org Git - packages/perl-Text-Thesaurus-ISO.git/blob - perl-Text-Thesaurus-ISO.spec
use generic url
[packages/perl-Text-Thesaurus-ISO.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 %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
11 Version:        1.0
12 Release:        15
13 # same as perl
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
21 BuildArch:      noarch
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %description
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
30 a given term.
31
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.
39
40 %prep
41 %setup -q -n %{pdir}-%{pnam}-%{version}
42
43 %build
44 %{__perl} Makefile.PL \
45         INSTALLDIRS=vendor
46 %{__make}
47
48 %{?with_tests:%{__make} test}
49
50 %install
51 rm -rf $RPM_BUILD_ROOT
52
53 %{__make} install \
54         DESTDIR=$RPM_BUILD_ROOT
55
56 %clean
57 rm -rf $RPM_BUILD_ROOT
58
59 %files
60 %defattr(644,root,root,755)
61 %doc README
62 %dir %{perl_vendorlib}/Text/Thesaurus
63 %{perl_vendorlib}/Text/Thesaurus/ISO.pm
64 # empty autosplit.ix
65 #%dir %{perl_vendorlib}/auto/Text/Thesaurus
66 #%dir %{perl_vendorlib}/auto/Text/Thesaurus/ISO
67 #%%{perl_vendorlib}/auto/Text/Thesaurus/ISO/autosplit.ix
68 %{_mandir}/man3/*
This page took 0.06055 seconds and 3 git commands to generate.