17
0
Files
rubygem-rubyzip/rubygem-rubyzip.spec
Josef Reidinger bb806b3431 Accepting request 125795 from openSUSE:Tools:Unstable
- update to 0.9.9
  Added support for backslashes in zip files (generated by the default Windows
  zip packer for example) and comment sections with the comment length set to zero
  even though there is actually a comment.

OBS-URL: https://build.opensuse.org/request/show/125795
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby:extensions/rubygem-rubyzip?expand=0&rev=6
2012-06-22 13:28:01 +00:00

71 lines
2.0 KiB
RPMSpec

#
# spec file for package rubygem-rubyzip
#
# Copyright (c) 2012 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
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: rubygem-rubyzip
Version: 0.9.9
Release: 0
%define mod_name rubyzip
%define mod_full_name %{mod_name}-%{version}
#
#
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: rubygems_with_buildroot_patch
%rubygems_requires
Requires: ruby >= 1.8.7
BuildRequires: ruby-devel >= 1.8.7
#
Url: http://github.com/aussiegeek/rubyzip
Source: %{mod_full_name}.gem
#
Summary: rubyzip is a ruby module for reading and writing zip files
License: Ruby
Group: Development/Languages/Ruby
%description
rubyzip is a ruby module for reading and writing zip files
%package doc
Summary: RDoc documentation for %{mod_name}
Group: Development/Languages/Ruby
Requires: %{name} = %{version}
%description doc
Documentation generated at gem installation time.
Usually in RDoc and RI formats.
%prep
%build
%install
%gem_install %{S:0}
%clean
%{__rm} -rf %{buildroot}
%files
%defattr(-,root,root,-)
%{_libdir}/ruby/gems/%{rb_ver}/cache/%{mod_full_name}.gem
%{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/
%{_libdir}/ruby/gems/%{rb_ver}/specifications/%{mod_full_name}.gemspec
%files doc
%defattr(-,root,root,-)
%doc %{_libdir}/ruby/gems/%{rb_ver}/doc/%{mod_full_name}/
%changelog