]> git.pld-linux.org Git - SPECS.git/blob - perl-CzFast.spec
SPECS updated Mon 29 Apr 22:05:02 CEST 2024
[SPECS.git] / perl-CzFast.spec
1 #
2 # Conditional build:
3 %bcond_without  tests   # Do not perform "make test"
4 #
5 %define         pnam    CzFast
6 Summary:        CzFast - Perl module for Czech charsets manipulation
7 Summary(pl.UTF-8):      CzFast - moduł Perla do manipulacji czeskimi zestawami znaków
8 Name:           perl-CzFast
9 Version:        0.10
10 Release:        20
11 License:        GPL v1+ or Artistic
12 Group:          Development/Languages/Perl
13 Source0:        http://www.cpan.org/modules/by-authors/id/T/TR/TRIPIE/%{pnam}-%{version}.tar.gz
14 # Source0-md5:  03f8221f66f181f8c08c121c4707e2d9
15 Source1:        %{pnam}.3pm
16 URL:            http://search.cpan.org/dist/CzFast/
17 BuildRequires:  perl-devel >= 1:5.8.0
18 BuildRequires:  rpm-perlprov >= 4.1-13
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
22 CzFast is a Perl module for Czech charsets manipulation. It uses
23 character tables created by Jaromir Dolecek for the Csacek project
24 (http://www.csacek.cz/).
25
26 %description -l pl.UTF-8
27 CzFast jest modułem Perla do manipulacji czeskimi zestawami znaków.
28 Korzysta on z tablic przekodowań utworzonych przez Jaromira Dolecka
29 na potrzeby projektu Csacek (http://www.csacek.cz/).
30
31 %prep
32 %setup -q -n %{pnam}-%{version}
33
34 %build
35 %{__perl} Makefile.PL \
36         INSTALLDIRS=vendor
37 %{__make} \
38         CC="%{__cc}" \
39         OPTIMIZE="%{rpmcflags}"
40
41 %{?with_tests:%{__make} test}
42
43 %install
44 rm -rf $RPM_BUILD_ROOT
45
46 install -d $RPM_BUILD_ROOT%{_mandir}/cs/man3
47
48 %{__make} install \
49         DESTDIR=$RPM_BUILD_ROOT
50 mv $RPM_BUILD_ROOT%{_mandir}/man3/CzFast.3pm* $RPM_BUILD_ROOT%{_mandir}/cs/man3
51 install %{SOURCE1} $RPM_BUILD_ROOT%{_mandir}/man3
52
53 %clean
54 rm -rf $RPM_BUILD_ROOT
55
56 %files
57 %defattr(644,root,root,755)
58 %doc Changes README
59 %{perl_vendorarch}/CzFast.pm
60 %dir %{perl_vendorarch}/auto/CzFast
61 %attr(755,root,root) %{perl_vendorarch}/auto/CzFast/CzFast.so
62 %{_mandir}/man3/*
63 %lang(cs) %{_mandir}/cs/man3/*
This page took 0.173938 seconds and 3 git commands to generate.