]> git.pld-linux.org Git - packages/perl-Regexp-Ethiopic.git/blame - perl-Regexp-Ethiopic.spec
use generic url
[packages/perl-Regexp-Ethiopic.git] / perl-Regexp-Ethiopic.spec
CommitLineData
41619922
JB
1#
2# Conditional build:
38f38894 3%bcond_without tests # do not perform "make test"
bf5dc98e 4
dd7f5866 5%define pdir Regexp
6%define pnam Ethiopic
bf5dc98e 7%include /usr/lib/rpm/macros.perl
39a24e5c 8Summary: Regexp::Ethiopic - regular expressions support for Ethiopic script
cf3dcedf 9Summary(pl.UTF-8): Regexp::Ethiopic - obsługa wyrażeń regularnych dla pisma etiopskiego
41619922 10Name: perl-Regexp-Ethiopic
92e0cbea 11Version: 0.15
12Release: 1
41619922
JB
13License: unknown
14Group: Development/Languages/Perl
15Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
92e0cbea 16# Source0-md5: 6ac1021a0bfd1136f81d930b22a65ad3
bf5dc98e 17URL: http://search.cpan.org/dist/Regexp-Ethiopic/
4d77eeb3 18BuildRequires: perl-devel >= 1:5.8.0
41619922
JB
19BuildRequires: rpm-perlprov >= 4.1-13
20BuildArch: noarch
21BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23%description
24The Regexp::Ethiopic module provides POSIX style character class
25definitions for working with the Ethiopic syllabary. The character
26classes provided by the Regexp::Ethiopic package correspond to inate
27properties of the script and are language independent.
28
59280642
JR
29%description -l pl.UTF-8
30Moduł Regexp::Ethiopic dostarcza definicje klas znaków w stylu POSIX
31działające z etiopskim pismem sylabicznym. Klasy znaków dostarczone
32przez pakiet Regexp::Ethiopic odpowiadają własnościom pisma i są
33niezależne od języka.
41619922
JB
34
35%prep
36%setup -q -n %{pdir}-%{pnam}-%{version}
37
38%build
39%{__perl} Makefile.PL \
40 INSTALLDIRS=vendor
41619922
JB
41%{__make}
42
38f38894 43%{?with_tests:%{__make} test}
41619922
JB
44
45%install
46rm -rf $RPM_BUILD_ROOT
47install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
48
49%{__make} install \
50 DESTDIR=$RPM_BUILD_ROOT
bf5dc98e 51cp -p examples/*.pl $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
41619922
JB
52
53%clean
54rm -rf $RPM_BUILD_ROOT
55
56%files
57%defattr(644,root,root,755)
58%doc Changes README
fdab2853 59%{perl_vendorlib}/%{pdir}/%{pnam}.pm
92e0cbea 60%dir %{perl_vendorlib}/Regexp/Ethiopic
61%{perl_vendorlib}/Regexp/Ethiopic/*.pm
41619922
JB
62%{_mandir}/man3/*
63%{_examplesdir}/%{name}-%{version}
This page took 0.098136 seconds and 4 git commands to generate.