]> git.pld-linux.org Git - packages/perl-Proc-InvokeEditor.git/blame - perl-Proc-InvokeEditor.spec
- pl, updated URL and dependencies
[packages/perl-Proc-InvokeEditor.git] / perl-Proc-InvokeEditor.spec
CommitLineData
d780adba
JR
1#
2# Conditional build:
707370ce 3%bcond_without tests # unit tests
d780adba
JR
4#
5%define pdir Proc
6%define pnam InvokeEditor
d780adba 7Summary: Proc::InvokeEditor - Perl extension for starting a text editor
707370ce 8Summary(pl.UTF-8): Proc::InvokeEditor - rozszerzenie Perla do uruchamiania edytora tekstu
d780adba 9Name: perl-Proc-InvokeEditor
2539277c 10Version: 1.13
d780adba 11Release: 1
707370ce 12# same as perl 5
d780adba
JR
13License: GPL v1+ or Artistic
14Group: Development/Languages/Perl
15Source0: http://www.cpan.org/modules/by-module/Proc/%{pdir}-%{pnam}-%{version}.tar.gz
2539277c 16# Source0-md5: 26595c1e1c80ed64f0fb97cceea7e167
707370ce
JB
17URL: https://metacpan.org/dist/Proc-InvokeEditor
18BuildRequires: perl-ExtUtils-MakeMaker
d780adba
JR
19BuildRequires: perl-devel >= 1:5.8.0
20BuildRequires: rpm-perlprov >= 4.1-13
707370ce 21BuildRequires: rpmbuild(macros) >= 1.745
d780adba 22%if %{with tests}
707370ce
JB
23BuildRequires: perl-Carp-Assert >= 0.11
24BuildRequires: perl-Test-Simple >= 0.08
d780adba
JR
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
707370ce
JB
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.
d780adba
JR
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
707370ce 63%{_mandir}/man3/Proc::InvokeEditor.3pm*
d780adba 64%{_examplesdir}/%{name}-%{version}
This page took 0.069296 seconds and 4 git commands to generate.