[packages/ruby-rb-inotify] new, version 0.9.5

glen glen at pld-linux.org
Thu Dec 11 09:34:17 CET 2014


commit b296a845a4e601a7afba53176de1a0405c0ae5c3
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Thu Dec 11 10:33:57 2014 +0200

    new, version 0.9.5
    
    created with gem2rpm

 ruby-rb-inotify.spec | 48 ++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 48 insertions(+)
---
diff --git a/ruby-rb-inotify.spec b/ruby-rb-inotify.spec
new file mode 100644
index 0000000..bbdd906
--- /dev/null
+++ b/ruby-rb-inotify.spec
@@ -0,0 +1,48 @@
+#
+# Conditional build:
+%bcond_with	tests		# build without tests
+
+%define	pkgname	rb-inotify
+Summary:	A Ruby wrapper for Linux's inotify, using FFI
+Name:		ruby-%{pkgname}
+Version:	0.9.5
+Release:	1
+License:	MIT
+Group:		Development/Languages
+Source0:	http://rubygems.org/downloads/%{pkgname}-%{version}.gem
+# Source0-md5:	865ed70ff9f90d5d23dc4ab906358650
+URL:		http://github.com/nex3/rb-inotify
+BuildRequires:	rpm-rubyprov
+BuildRequires:	rpmbuild(macros) >= 1.656
+%if %{with tests}
+BuildRequires:	ruby-yard >= 0.4.0
+%endif
+Requires:	ruby-ffi >= 0.5.0
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+A Ruby wrapper for Linux's inotify, using FFI
+
+%prep
+%setup -q -n %{pkgname}-%{version}
+
+%build
+# write .gemspec
+%__gem_helper spec
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{ruby_vendorlibdir},%{ruby_specdir}}
+cp -a lib/* $RPM_BUILD_ROOT%{ruby_vendorlibdir}
+cp -p %{pkgname}-%{version}.gemspec $RPM_BUILD_ROOT%{ruby_specdir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README.md MIT-LICENSE VERSION
+%{ruby_vendorlibdir}/rb-inotify.rb
+%{ruby_vendorlibdir}/rb-inotify
+%{ruby_specdir}/%{pkgname}-%{version}.gemspec
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ruby-rb-inotify.git/commitdiff/b296a845a4e601a7afba53176de1a0405c0ae5c3



More information about the pld-cvs-commit mailing list