[packages/ruby-abstract] new, version 1.0.0
glen
glen at pld-linux.org
Sun Apr 21 00:07:19 CEST 2013
commit cf6995ad2f90cfa2e235734db6691bd620d36870
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Sun Apr 21 01:06:33 2013 +0300
new, version 1.0.0
based on fedora rubygem-abstract package
a1d5a0df29b142bf693dbeeb38eb0320599c8cb1
ruby-abstract.spec | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 51 insertions(+)
---
diff --git a/ruby-abstract.spec b/ruby-abstract.spec
new file mode 100644
index 0000000..621019e
--- /dev/null
+++ b/ruby-abstract.spec
@@ -0,0 +1,51 @@
+%define gem_name abstract
+Summary: Allows you to define an abstract method in Ruby
+Name: ruby-%{gem_name}
+Version: 1.0.0
+Release: 1
+License: GPL v2 or Ruby
+Group: Development/Languages
+URL: http://rubyforge.org/projects/abstract
+Source0: http://gems.rubyforge.org/gems/%{gem_name}-%{version}.gem
+# Source0-md5: ea26d93f0a47a530631da430c9e9b7e5
+BuildRequires: rpm-rubyprov
+BuildRequires: rpmbuild(macros) >= 1.656
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Small library that allows you to define an abstract method in Ruby.
+
+%package doc
+Summary: Documentation for %{name}
+Group: Documentation
+Requires: %{name} = %{version}-%{release}
+
+%description doc
+This package contains documentation for %{name}.
+
+%prep
+%setup -q
+
+%build
+%if %{with tests}
+ruby test/test.rb
+%endif
+
+%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.txt ChangeLog
+%{ruby_vendorlibdir}/abstract.rb
+
+%if 0
+%files doc
+%defattr(644,root,root,755)
+%endif
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/ruby-abstract.git/commitdiff/cf6995ad2f90cfa2e235734db6691bd620d36870
More information about the pld-cvs-commit
mailing list