]>
Commit | Line | Data |
---|---|---|
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 | 8 | Summary: Regexp::Ethiopic - regular expressions support for Ethiopic script |
cf3dcedf | 9 | Summary(pl.UTF-8): Regexp::Ethiopic - obsługa wyrażeń regularnych dla pisma etiopskiego |
41619922 | 10 | Name: perl-Regexp-Ethiopic |
92e0cbea | 11 | Version: 0.15 |
12 | Release: 1 | |
41619922 JB |
13 | License: unknown |
14 | Group: Development/Languages/Perl | |
15 | Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz | |
92e0cbea | 16 | # Source0-md5: 6ac1021a0bfd1136f81d930b22a65ad3 |
bf5dc98e | 17 | URL: http://search.cpan.org/dist/Regexp-Ethiopic/ |
4d77eeb3 | 18 | BuildRequires: perl-devel >= 1:5.8.0 |
41619922 JB |
19 | BuildRequires: rpm-perlprov >= 4.1-13 |
20 | BuildArch: noarch | |
21 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
22 | ||
23 | %description | |
24 | The Regexp::Ethiopic module provides POSIX style character class | |
25 | definitions for working with the Ethiopic syllabary. The character | |
26 | classes provided by the Regexp::Ethiopic package correspond to inate | |
27 | properties of the script and are language independent. | |
28 | ||
59280642 JR |
29 | %description -l pl.UTF-8 |
30 | Moduł Regexp::Ethiopic dostarcza definicje klas znaków w stylu POSIX | |
31 | działające z etiopskim pismem sylabicznym. Klasy znaków dostarczone | |
32 | przez pakiet Regexp::Ethiopic odpowiadają własnościom pisma i są | |
33 | niezależ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 | |
46 | rm -rf $RPM_BUILD_ROOT | |
47 | install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} | |
48 | ||
49 | %{__make} install \ | |
50 | DESTDIR=$RPM_BUILD_ROOT | |
bf5dc98e | 51 | cp -p examples/*.pl $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} |
41619922 JB |
52 | |
53 | %clean | |
54 | rm -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} |