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 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) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -16,50 +15,46 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # 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 Name: rubygem-ronn
Version: 0.7.3 Version: 0.7.3
Release: 0 Release: 0
%define mod_name ronn %define mod_name ronn
# %define mod_full_name %{mod_name}-%{version}
Group: Development/Languages/Ruby
License: GPLv2+ or Ruby
#
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: rubygems_with_buildroot_patch BuildRequires: ruby-macros >= 5
Requires: rubygems >= 1.8.15 BuildRequires: %{ruby}
BuildRequires: rubygem-hpricot >= 0.8.2 BuildRequires: %{rubygem gem2rpm}
Requires: rubygem-hpricot >= 0.8.2 BuildRequires: %{rubygem rdoc > 3.10}
BuildRequires: rubygem-rdiscount >= 1.5.8 BuildRequires: update-alternatives
Requires: rubygem-rdiscount >= 1.5.8
BuildRequires: rubygem-mustache >= 0.7.0
Requires: rubygem-mustache >= 0.7.0
#
Url: http://rtomayko.github.com/ronn 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 Summary: Builds manuals
%description License: MIT
Builds manuals Group: Development/Languages/Ruby
PreReq: update-alternatives
%description
Builds manuals.
%prep %prep
%build %build
%install %install
%gem_install %{S:0} %gem_install \
--symlink-binaries \
--doc-files="CHANGES COPYING README.md" \
-f
%gem_packages
%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}/
%changelog %changelog