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