]>
Commit | Line | Data |
---|---|---|
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 | 7 | Summary: Locale::Maketext - framework for localization |
afe72d3a | 8 | Summary(pl.UTF-8): Locale::Maketext - szkielet do lokalizacji programów |
1622cb16 | 9 | Name: perl-Locale-Maketext |
9ddd0af0 | 10 | Version: 1.32 |
90e3667e | 11 | Release: 1 |
fe748e1b | 12 | # same as perl |
13 | License: GPL v1+ or Artistic | |
1622cb16 | 14 | Group: Development/Languages/Perl |
da9ddb09 | 15 | Source0: http://www.cpan.org/modules/by-module/Locale/%{pdir}-%{pnam}-%{version}.tar.gz |
9ddd0af0 | 16 | # Source0-md5: fd3428820f4155213a4de59e90564405 |
da9ddb09 | 17 | URL: http://search.cpan.org/dist/Locale-Maketext/ |
d4e5e4e7 | 18 | BuildRequires: perl-devel >= 1:5.8.0 |
2566cbd1 AG |
19 | BuildRequires: rpm-perlprov >= 4.1-13 |
20 | Requires: perl-dirs >= 2.1-15 | |
7f5fdbcb | 21 | %if %{with tests} |
40738de4 | 22 | BuildRequires: perl-I18N-LangTags >= 0.31 |
385e77a9 | 23 | %endif |
f8dbe5d1 | 24 | Requires: perl-I18N-LangTags >= 0.31 |
aacc42d4 | 25 | BuildArch: noarch |
dde8b388 | 26 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
1622cb16 | 27 | |
28 | %description | |
32fb5577 JB |
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. | |
385e77a9 | 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 | |
32fb5577 JB |
36 | text-processing code that you need for producing localized |
37 | applications. | |
1622cb16 | 38 | |
5fad5552 JR |
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. | |
385e77a9 | 45 | |
32fb5577 | 46 | Locale::Maketext jest szkieletem do tworzenia zlokalizowanych |
5fad5552 JR |
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. | |
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 | |
62 | rm -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 |
70 | rm -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* |