[packages/ruby-mixlib-log] new, version 1.4.1

glen glen at pld-linux.org
Thu Apr 4 00:02:49 CEST 2013


commit efa408c43e80ccfd537042065f1aaa6011f49954
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Thu Apr 4 01:02:16 2013 +0300

    new, version 1.4.1
    
    based on fedora rubygems-mixlib-log package
    ac56bad9dc87c70e8a0305dcd96984b30bfb1b47

 ruby-mixlib-log.spec | 55 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 55 insertions(+)
---
diff --git a/ruby-mixlib-log.spec b/ruby-mixlib-log.spec
new file mode 100644
index 0000000..6545377
--- /dev/null
+++ b/ruby-mixlib-log.spec
@@ -0,0 +1,55 @@
+%define		pkgname	mixlib-log
+Summary:	Ruby mix-in for log functionality
+Name:		ruby-%{pkgname}
+Version:	1.4.1
+Release:	1
+License:	Apache v2.0
+Group:		Development/Languages
+URL:		http://github.com/opscode/mixlib-log
+Source0:	http://gems.rubyforge.org/gems/%{pkgname}-%{version}.gem
+# Source0-md5:	a5d3427b8ccfa3654954a90ee06a4776
+BuildRequires:	rpm-rubyprov
+BuildRequires:	rpmbuild(macros) >= 1.656
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+A gem that provides a simple mix-in for log functionality.
+
+%package doc
+Summary:	Documentation for %{name}
+Group:		Documentation
+Requires:	%{name} = %{version}-%{release}
+
+%description doc
+This package contains documentation for %{name}.
+
+%prep
+%setup -q
+
+%if %{with tests}
+# need RSpec2
+rspec
+%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.rdoc NOTICE
+%{ruby_vendorlibdir}/mixlib/log.rb
+%{ruby_vendorlibdir}/mixlib/log
+
+# FIXME, who owns the dir?
+%dir %{ruby_vendorlibdir}/mixlib
+
+%if 0
+%files doc
+%defattr(644,root,root,755)
+%endif
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ruby-mixlib-log.git/commitdiff/efa408c43e80ccfd537042065f1aaa6011f49954



More information about the pld-cvs-commit mailing list