]> git.pld-linux.org Git - packages/ruby-ast.git/commitdiff
new, version 1.1.0
authorElan Ruusamäe <glen@delfi.ee>
Mon, 17 Feb 2014 07:43:37 +0000 (09:43 +0200)
committerElan Ruusamäe <glen@delfi.ee>
Mon, 17 Feb 2014 07:43:37 +0000 (09:43 +0200)
created with gem2rpm

ruby-ast.spec [new file with mode: 0644]

diff --git a/ruby-ast.spec b/ruby-ast.spec
new file mode 100644 (file)
index 0000000..e56e1d2
--- /dev/null
@@ -0,0 +1,49 @@
+#
+# Conditional build:
+%bcond_with    tests           # build without tests
+
+%define        pkgname ast
+Summary:       A library for working with Abstract Syntax Trees
+Name:          ruby-%{pkgname}
+Version:       1.1.0
+Release:       1
+License:       MIT
+Group:         Development/Languages
+Source0:       http://rubygems.org/downloads/%{pkgname}-%{version}.gem
+# Source0-md5: e70ba78dd5e0fb2191a2ee0df6f72801
+URL:           http://github.com/whitequark/ast
+BuildRequires: rpm-rubyprov
+BuildRequires: rpmbuild(macros) >= 1.656
+%if %{with tests}
+BuildRequires: ruby-bacon < 2
+BuildRequires: ruby-bacon >= 1.2
+BuildRequires: ruby-bacon-colored_output
+BuildRequires: ruby-coveralls
+BuildRequires: ruby-kramdown
+BuildRequires: ruby-rake < 11
+BuildRequires: ruby-rake >= 10.0
+BuildRequires: ruby-simplecov
+BuildRequires: ruby-yard
+%endif
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+A library for working with Abstract Syntax Trees.
+
+%prep
+%setup -q -n %{pkgname}-%{version}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{ruby_vendorlibdir}
+cp -a lib/* $RPM_BUILD_ROOT%{ruby_vendorlibdir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README.md README.YARD.md CHANGELOG.md LICENSE.MIT
+%{ruby_vendorlibdir}/ast.rb
+%{ruby_vendorlibdir}/ast
This page took 0.087505 seconds and 4 git commands to generate.