]> git.pld-linux.org Git - SPECS.git/blob - ruby-popen4.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / ruby-popen4.spec
1 %define pkgname popen4
2 Summary:        Open4 cross-platform
3 Name:           ruby-%{pkgname}
4 Version:        0.1.2
5 Release:        2
6 License:        GPL v2+ or Ruby
7 Group:          Development/Languages
8 Source0:        http://rubygems.org/downloads/%{pkgname}-%{version}.gem
9 # Source0-md5:  b09ff3770ac69ae7a218b82be1e038cb
10 URL:            http://github.com/shairontoledo/popen4
11 BuildRequires:  rpm-rubyprov
12 BuildRequires:  rpmbuild(macros) >= 1.656
13 Requires:       ruby-open4 >= 0.4.0
14 Requires:       ruby-platform < 1.0.0
15 Requires:       ruby-platform >= 0.4.0
16 BuildArch:      noarch
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %description
20 POpen4 provides the Rubyist a single API across platforms for
21 executing a command in a child process with handles on stdout, stderr,
22 stdin streams as well as access to the process ID and exit status.
23
24 %prep
25 %setup -q -n %{pkgname}-%{version}
26
27 %install
28 rm -rf $RPM_BUILD_ROOT
29 install -d $RPM_BUILD_ROOT{%{ruby_vendorlibdir},%{_bindir}}
30 cp -a lib/* $RPM_BUILD_ROOT%{ruby_vendorlibdir}
31
32 %clean
33 rm -rf $RPM_BUILD_ROOT
34
35 %files
36 %defattr(644,root,root,755)
37 %doc README.rdoc CHANGES LICENSE
38 %{ruby_vendorlibdir}/%{pkgname}.rb
This page took 0.158421 seconds and 3 git commands to generate.