[packages/ruby-di-ruby-lvm-attrib] new, version 0.0.12
glen
glen at pld-linux.org
Mon Mar 10 11:33:47 CET 2014
commit 30fa94302cde6ba6c9748782a1056e55b3ff4d26
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Tue Jan 7 08:38:29 2014 +0200
new, version 0.0.12
ruby-di-ruby-lvm-attrib.spec | 44 ++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 44 insertions(+)
---
diff --git a/ruby-di-ruby-lvm-attrib.spec b/ruby-di-ruby-lvm-attrib.spec
new file mode 100644
index 0000000..9efba96
--- /dev/null
+++ b/ruby-di-ruby-lvm-attrib.spec
@@ -0,0 +1,44 @@
+%define pkgname di-ruby-lvm-attrib
+Summary: A list of attributes for LVM objects
+Name: ruby-%{pkgname}
+Version: 0.0.12
+Release: 1
+License: GPL v2+ or Ruby
+Group: Development/Languages
+Source0: http://rubygems.org/downloads/%{pkgname}-%{version}.gem
+# Source0-md5: 6f9a5ef1ed9c9006898ce12f6132913f
+URL: https://github.com/DrillingInfo/di-ruby-lvm-attrib
+BuildRequires: rpm-rubyprov
+BuildRequires: rpmbuild(macros) >= 1.656
+BuildRequires: sed >= 4.0
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+A list of attributes for LVM objects
+
+%prep
+%setup -q -n %{pkgname}-%{version}
+%{__sed} -i -e '1 s,#!.*ruby,#!%{__ruby},' bin/*
+
+%build
+# write .gemspec
+%__gem_helper spec
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{ruby_vendorlibdir},%{ruby_specdir},%{_bindir}}
+cp -a lib/* $RPM_BUILD_ROOT%{ruby_vendorlibdir}
+cp -a bin/* $RPM_BUILD_ROOT%{_bindir}
+cp -p %{pkgname}-%{version}.gemspec $RPM_BUILD_ROOT%{ruby_specdir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/generate_field_data
+%dir %{ruby_vendorlibdir}/lvm
+%{ruby_vendorlibdir}/lvm/attributes.rb
+%{ruby_vendorlibdir}/lvm/attributes
+%{ruby_specdir}/%{pkgname}-%{version}.gemspec
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/ruby-di-ruby-lvm-attrib.git/commitdiff/30fa94302cde6ba6c9748782a1056e55b3ff4d26
More information about the pld-cvs-commit
mailing list