Sophie

Sophie

distrib > Mageia > 4 > i586 > media > core-release-src > by-pkgid > ee3e606d5e45441af777ee4ca53381a5 > files > 1

ruby-xpath-2.0.0-4.mga4.src.rpm

%define oname   xpath

Name:       ruby-%{oname}
Version:    2.0.0
Release:    %mkrel 4
Summary:    RDoc produces HTML and command-line documentation for Ruby projects
Group:      Development/Ruby
License:    Ruby License
URL:        http://rdoc.rubyforge.org
Source0:    http://rubygems.org/gems/%{oname}-%{version}.gem
BuildRequires: rubygems
BuildArch:  noarch

%description
RDoc produces HTML and command-line documentation for Ruby projects.  RDoc
includes the +rdoc+ and +ri+ tools for generating and displaying online
documentation. See RDoc for a description of RDoc's markup and basic use.

#-------------------------------------------------------------------------------
%package        doc
Summary:    Documentation for %{name}
Group:      Development/Ruby
Requires:   %{name} = %{version}-%{release}

%description    doc
Documents, Rdoc & RI documentation for %{name}.
#-------------------------------------------------------------------------------

%prep
%gem_setup

%build
%gem_build

%install
%gem_install
# Get rid of percentage signs in filenames which the Mageia build system
# does not like.
find "$RPM_BUILD_ROOT" -name '*%*' -type f | perl -lne 'my $s = $_; $s =~ tr/%/_/; rename ($_, $s);'

%files
%dir %{gem_instdir}/
%{gem_instdir}/lib
%{gem_instdir}/spec
%{gem_spec}

%files          doc
%doc %{gem_docdir}


%changelog
* Sat Dec 28 2013 pterjan <pterjan> 2.0.0-4.mga4
+ Revision: 562618
- Fix gem macros

* Sat Oct 19 2013 umeabot <umeabot> 2.0.0-3.mga4
+ Revision: 536218
- Mageia 4 Mass Rebuild

* Mon Sep 23 2013 fwang <fwang> 2.0.0-2.mga4
+ Revision: 483737
- update file list
- use gem_setup

* Sun Jun 09 2013 fwang <fwang> 2.0.0-1.mga4
+ Revision: 441144
- new version 2.0.0

* Fri Feb 08 2013 umeabot <umeabot> 0.1.4-4.mga3
+ Revision: 396624
- Rebuild for CVE-2013-0256

* Mon Jan 14 2013 umeabot <umeabot> 0.1.4-3.mga3
+ Revision: 381630
- Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild

* Sun Nov 04 2012 fwang <fwang> 0.1.4-2.mga3
+ Revision: 314103
- rebuild for new ruby

* Fri Jun 08 2012 shlomif <shlomif> 0.1.4-1.mga3
+ Revision: 257811
- Fix percentages in filename
- Got it to build
- imported package ruby-xpath