[packages/ruby-fission] new, version 0.4.0
glen
glen at pld-linux.org
Sun May 5 20:39:19 CEST 2013
commit 76240e2b4c113babbe78a97e08e0de3de2402fa6
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Sun May 5 21:38:57 2013 +0300
new, version 0.4.0
created with gem2rpm
ruby-fission.spec | 40 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 40 insertions(+)
---
diff --git a/ruby-fission.spec b/ruby-fission.spec
new file mode 100644
index 0000000..d0bfa06
--- /dev/null
+++ b/ruby-fission.spec
@@ -0,0 +1,40 @@
+%define pkgname fission
+Summary: Command line tool to manage VMware Fusion VMs
+Name: ruby-%{pkgname}
+Version: 0.4.0
+Release: 1
+License: GPL v2+ or Ruby
+Group: Development/Languages
+Source0: http://rubygems.org/downloads/%{pkgname}-%{version}.gem
+# Source0-md5: d34073ffa3435be30a5f92856c76ed33
+URL: https://github.com/thbishop/fission
+BuildRequires: rpm-rubyprov
+BuildRequires: rpmbuild(macros) >= 1.656
+BuildRequires: sed >= 4.0
+Requires: ruby-cfpropertylist < 2.1
+Requires: ruby-cfpropertylist >= 2.0.17
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+A simple utility to manage VMware Fusion VMs from the command line.
+
+%prep
+%setup -q -n %{pkgname}-%{version}
+%{__sed} -i -e '1 s,#!.*ruby,#!%{__ruby},' bin/*
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{ruby_vendorlibdir},%{_bindir}}
+cp -a lib/* $RPM_BUILD_ROOT%{ruby_vendorlibdir}
+cp -a bin/* $RPM_BUILD_ROOT%{_bindir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README.md CHANGELOG.md LICENSE
+%attr(755,root,root) %{_bindir}/fission
+%{ruby_vendorlibdir}/%{pkgname}.rb
+%{ruby_vendorlibdir}/%{pkgname}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/ruby-fission.git/commitdiff/76240e2b4c113babbe78a97e08e0de3de2402fa6
More information about the pld-cvs-commit
mailing list