]> git.pld-linux.org Git - SPECS.git/blob - perl-Locale-Maketext.spec
SPECS updated Sun 1 Aug 20:13:02 CEST 2021
[SPECS.git] / perl-Locale-Maketext.spec
1 #
2 # Conditional build:
3 %bcond_without  tests   # do not perform "make test"
4
5 %define         pdir    Locale
6 %define         pnam    Maketext
7 Summary:        Locale::Maketext - framework for localization
8 Summary(pl.UTF-8):      Locale::Maketext - szkielet do lokalizacji programów
9 Name:           perl-Locale-Maketext
10 Version:        1.28
11 Release:        1
12 # same as perl
13 License:        GPL v1+ or Artistic
14 Group:          Development/Languages/Perl
15 Source0:        http://www.cpan.org/modules/by-module/Locale/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5:  4680d29025855dfc2d3f8833da5cca9a
17 URL:            http://search.cpan.org/dist/Locale-Maketext/
18 BuildRequires:  perl-devel >= 1:5.8.0
19 BuildRequires:  rpm-perlprov >= 4.1-13
20 Requires:       perl-dirs >= 2.1-15
21 %if %{with tests}
22 BuildRequires:  perl-I18N-LangTags >= 0.31
23 %endif
24 Requires:       perl-I18N-LangTags >= 0.31
25 BuildArch:      noarch
26 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
28 %description
29 It is a common feature of applications (whether run directly, or via
30 the Web) for them to be "localized" - i.e., for them to a present an
31 English interface to an English-speaker, a German interface to a
32 German-speaker, and so on for all languages it's programmed with.
33
34 Locale::Maketext is a framework for software localization; it provides
35 you with the tools for organizing and accessing the bits of text and
36 text-processing code that you need for producing localized
37 applications.
38
39 %description -l pl.UTF-8
40 Często spotykaną cechą programów (uruchamianych bezpośrednio lub przez
41 WWW) jest ich lokalizacja, czyli umiejętność prezentowania
42 angielskiego interfejsu użytkownikowi anglojęzycznemu, niemieckiego -
43 niemieckojęzycznemu i tak dalej dla wszystkich języków, dla których
44 istnieją tłumaczenia.
45
46 Locale::Maketext jest szkieletem do tworzenia zlokalizowanych
47 programów; udostępnia Ci narzędzia do organizowania i odwoływania się
48 do fragmentów tekstu, oraz potrzebnego Ci przy tworzeniu
49 zlokalizowanego oprogramowania kodu przetwarzającego tekst.
50
51 %prep
52 %setup -q -n %{pdir}-%{pnam}-%{version}
53
54 %build
55 %{__perl} Makefile.PL \
56         INSTALLDIRS=vendor
57 %{__make}
58
59 %{?with_tests:%{__make} test}
60
61 %install
62 rm -rf $RPM_BUILD_ROOT
63 %{__make} pure_install \
64         DESTDIR=$RPM_BUILD_ROOT
65
66 %{__rm} $RPM_BUILD_ROOT%{perl_vendorarch}/auto/Locale-Maketext/.packlist
67 %{__rm} $RPM_BUILD_ROOT%{perl_vendorlib}/Locale/Maketext.pod
68 %{__rm} $RPM_BUILD_ROOT%{perl_vendorlib}/Locale/Maketext/*.pod
69
70 %clean
71 rm -rf $RPM_BUILD_ROOT
72
73 %files
74 %defattr(644,root,root,755)
75 %doc ChangeLog README
76 %{perl_vendorlib}/Locale/Maketext.pm
77 %{perl_vendorlib}/Locale/Maketext
78 %{_mandir}/man3/Locale::Maketext*.3pm*
This page took 0.056294 seconds and 3 git commands to generate.