Accepting request 257989 from home:tboerger:branches:devel:languages:ruby:extensions

Updated to new macros

OBS-URL: https://build.opensuse.org/request/show/257989
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby:extensions/rubygem-ronn?expand=0&rev=2
This commit is contained in:
Stephan Kulow 2014-10-22 13:42:36 +00:00 committed by Git OBS Bridge
parent cc0ccea241
commit cc35e2b5ab
3 changed files with 36 additions and 35 deletions

1
gem2rpm.yml Normal file
View File

@ -0,0 +1 @@
:license: MIT

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Oct 22 13:28:02 UTC 2014 - tboerger@suse.com
- Updated to new macros
-------------------------------------------------------------------
Sat Mar 24 16:40:07 CET 2012 - berendt@b1-systems.de

View File

@ -1,8 +1,7 @@
#
# spec file for package rubygem-ronn (Version 0.7.3)
# spec file for package rubygem-ronn
#
# Copyright (c) 2012 B1 Systems GmbH, Vohburg, Germany.
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -16,50 +15,46 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
#
# This file was generated with a gem2rpm.yml and not just plain gem2rpm.
# All sections marked as MANUAL, license headers, summaries and descriptions
# can be maintained in that file. Please consult this file before editing any
# of those fields
#
Name: rubygem-ronn
Version: 0.7.3
Release: 0
%define mod_name ronn
#
Group: Development/Languages/Ruby
License: GPLv2+ or Ruby
#
%define mod_full_name %{mod_name}-%{version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: rubygems_with_buildroot_patch
Requires: rubygems >= 1.8.15
BuildRequires: rubygem-hpricot >= 0.8.2
Requires: rubygem-hpricot >= 0.8.2
BuildRequires: rubygem-rdiscount >= 1.5.8
Requires: rubygem-rdiscount >= 1.5.8
BuildRequires: rubygem-mustache >= 0.7.0
Requires: rubygem-mustache >= 0.7.0
#
BuildRequires: ruby-macros >= 5
BuildRequires: %{ruby}
BuildRequires: %{rubygem gem2rpm}
BuildRequires: %{rubygem rdoc > 3.10}
BuildRequires: update-alternatives
Url: http://rtomayko.github.com/ronn
Source: %{mod_name}-%{version}.gem
#
Source: http://rubygems.org/gems/%{mod_full_name}.gem
Source1: gem2rpm.yml
Summary: Builds manuals
%description
Builds manuals
License: MIT
Group: Development/Languages/Ruby
PreReq: update-alternatives
%description
Builds manuals.
%prep
%build
%install
%gem_install %{S:0}
%gem_install \
--symlink-binaries \
--doc-files="CHANGES COPYING README.md" \
-f
%clean
%{__rm} -rf %{buildroot}
%files
%defattr(-,root,root,-)
%{_bindir}/ronn
%{_libdir}/ruby/gems/%{rb_ver}/cache/%{mod_name}-%{version}.gem
%{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_name}-%{version}/
%{_libdir}/ruby/gems/%{rb_ver}/specifications/%{mod_name}-%{version}.gemspec
%doc %{_libdir}/ruby/gems/%{rb_ver}/doc/%{mod_name}-%{version}/
%gem_packages
%changelog