[packages/ruby-rb-fsevent] new, version 0.9.4

glen glen at pld-linux.org
Thu Dec 11 09:29:37 CET 2014


commit 2393d8ac6a6ea380d125c135687f0225f9f3cd6d
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Thu Dec 11 10:29:13 2014 +0200

    new, version 0.9.4
    
    created with gem2rpm

 ruby-rb-fsevent.spec | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 52 insertions(+)
---
diff --git a/ruby-rb-fsevent.spec b/ruby-rb-fsevent.spec
new file mode 100644
index 0000000..b39dcbf
--- /dev/null
+++ b/ruby-rb-fsevent.spec
@@ -0,0 +1,52 @@
+#
+# Conditional build:
+%bcond_with	tests		# build without tests
+
+%define	pkgname	rb-fsevent
+Summary:	Very simple & usable FSEvents API
+Name:		ruby-%{pkgname}
+Version:	0.9.4
+Release:	1
+License:	MIT
+Group:		Development/Languages
+Source0:	http://rubygems.org/downloads/%{pkgname}-%{version}.gem
+# Source0-md5:	47456c473a7e3e347c0d20ebda7bbad4
+URL:		http://rubygems.org/gems/rb-fsevent
+BuildRequires:	rpm-rubyprov
+BuildRequires:	rpmbuild(macros) >= 1.656
+%if %{with tests}
+BuildRequires:	ruby-bundler < 2
+BuildRequires:	ruby-bundler >= 1.0
+BuildRequires:	ruby-guard-rspec < 5
+BuildRequires:	ruby-guard-rspec >= 4.2
+BuildRequires:	ruby-rspec < 3
+BuildRequires:	ruby-rspec >= 2.11
+%endif
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+FSEvents API with Signals catching (without RubyCocoa)
+
+%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 LICENSE.txt
+%{ruby_vendorlibdir}/rb-fsevent.rb
+%{ruby_vendorlibdir}/rb-fsevent
+%{ruby_specdir}/%{pkgname}-%{version}.gemspec
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ruby-rb-fsevent.git/commitdiff/2393d8ac6a6ea380d125c135687f0225f9f3cd6d



More information about the pld-cvs-commit mailing list