]> git.pld-linux.org Git - packages/perl-Proc-InvokeEditor.git/blame_incremental - perl-Proc-InvokeEditor.spec
- pl, updated URL and dependencies
[packages/perl-Proc-InvokeEditor.git] / perl-Proc-InvokeEditor.spec
... / ...
CommitLineData
1#
2# Conditional build:
3%bcond_without tests # unit tests
4#
5%define pdir Proc
6%define pnam InvokeEditor
7Summary: Proc::InvokeEditor - Perl extension for starting a text editor
8Summary(pl.UTF-8): Proc::InvokeEditor - rozszerzenie Perla do uruchamiania edytora tekstu
9Name: perl-Proc-InvokeEditor
10Version: 1.13
11Release: 1
12# same as perl 5
13License: GPL v1+ or Artistic
14Group: Development/Languages/Perl
15Source0: http://www.cpan.org/modules/by-module/Proc/%{pdir}-%{pnam}-%{version}.tar.gz
16# Source0-md5: 26595c1e1c80ed64f0fb97cceea7e167
17URL: https://metacpan.org/dist/Proc-InvokeEditor
18BuildRequires: perl-ExtUtils-MakeMaker
19BuildRequires: perl-devel >= 1:5.8.0
20BuildRequires: rpm-perlprov >= 4.1-13
21BuildRequires: rpmbuild(macros) >= 1.745
22%if %{with tests}
23BuildRequires: perl-Carp-Assert >= 0.11
24BuildRequires: perl-Test-Simple >= 0.08
25%endif
26BuildArch: noarch
27BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
29%description
30This module provides the ability to supply some text to an external
31text editor, have it edited by the user, and retrieve the results.
32
33%description -l pl.UTF-8
34Ten moduł pozwala na przekazanie tekstu do zewnętrznego edytora w celu
35edycji przez użytkownika, a następnie odebrania wyniku.
36
37%prep
38%setup -q -n %{pdir}-%{pnam}-%{version}
39
40%build
41%{__perl} Makefile.PL \
42 INSTALLDIRS=vendor
43%{__make}
44
45%{?with_tests:%{__make} test}
46
47%install
48rm -rf $RPM_BUILD_ROOT
49
50%{__make} pure_install \
51 DESTDIR=$RPM_BUILD_ROOT
52
53install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
54cp -a examples $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
55
56%clean
57rm -rf $RPM_BUILD_ROOT
58
59%files
60%defattr(644,root,root,755)
61%doc Changes README
62%{perl_vendorlib}/Proc/InvokeEditor.pm
63%{_mandir}/man3/Proc::InvokeEditor.3pm*
64%{_examplesdir}/%{name}-%{version}
This page took 0.109787 seconds and 5 git commands to generate.