]> git.pld-linux.org Git - packages/perl-Text-Autoformat.git/blob - perl-Text-Autoformat.spec
- updated to 1.75[0000]
[packages/perl-Text-Autoformat.git] / perl-Text-Autoformat.spec
1 #
2 # Conditional build:
3 %bcond_without  tests   # do not perform "make test"
4 #
5 %define         pdir    Text
6 %define         pnam    Autoformat
7 Summary:        Text::Autoformat - automatic text wrapping and reformatting
8 Summary(pl.UTF-8):      Text::Autoformat - automatyczne zawijanie i reformatowanie tekstu
9 Name:           perl-Text-Autoformat
10 # add "0000" to version because there were six-digit versions in 1.6xxxxx times
11 %define ver     1.75
12 Version:        %{ver}0000
13 Release:        1
14 License:        Artistic
15 Group:          Development/Languages/Perl
16 Source0:        http://www.cpan.org/modules/by-module/Text/%{pdir}-%{pnam}-%{ver}.tar.gz
17 # Source0-md5:  b363538a55eb1315951cbe022124684b
18 URL:            https://metacpan.org/release/Text-Autoformat
19 BuildRequires:  perl-Text-Reform >= 1.11
20 BuildRequires:  perl-devel >= 1:5.8.0
21 BuildRequires:  rpm-perlprov >= 4.1-13
22 BuildRequires:  rpmbuild(macros) >= 1.745
23 Requires:       perl-Text-Reform >= 1.11
24 BuildArch:      noarch
25 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27 %description
28 Text::Autoformat provides intelligent formatting of plaintext without
29 the need for any kind of embedded mark-up. The module recognizes
30 Internet quoting conventions, a wide range of bulleting and number
31 schemes, centred text, and block quotations, and reformats each
32 appropriately. Other options allow the user to adjust inter-word and
33 inter-paragraph spacing, justify text, and impose various
34 capitalization schemes.
35
36 %description -l pl.UTF-8
37 Text::Autoformat udostępnia inteligentne formatowanie czystego tekstu
38 bez potrzeby jakichkolwiek znaczników. Moduł rozpoznaje internetowe
39 konwencje cytowania, szeroki zasób wyliczeń i wiele schematów, tekst
40 centrowany, cytaty blokowe - i każdy z nich odpowiednio reformatuje.
41 Inne opcje pozwalają użytkownikowi regulować odstępy między słowami
42 i między akapitami, justować tekst i stosować różne schematy wielkości
43 liter.
44
45 %prep
46 %setup -q -n %{pdir}-%{pnam}-%{ver}
47
48 %build
49 %{__perl} Makefile.PL \
50         INSTALLDIRS=vendor
51 %{__make}
52
53 %{?with_tests:%{__make} test}
54
55 %install
56 rm -rf $RPM_BUILD_ROOT
57
58 %{__make} install \
59         DESTDIR=$RPM_BUILD_ROOT
60
61 %clean
62 rm -rf $RPM_BUILD_ROOT
63
64 %files
65 %defattr(644,root,root,755)
66 %doc Changes
67 %{perl_vendorlib}/Text/Autoformat.pm
68 %{perl_vendorlib}/Text/Autoformat
69 %{_mandir}/man3/Text::Autoformat.3pm*
This page took 0.038072 seconds and 3 git commands to generate.