Sophie

Sophie

distrib > Fedora > 18 > i386 > by-pkgid > a0ae0d12c0c765a03c793142fb68f873 > files > 2

rubygem-cinch-2.0.10-1.fc18.src.rpm

# Generated from cinch-2.0.3.gem by gem2rpm -*- rpm-spec -*-
%global gem_name cinch
%global rubyabi  1.9.1

Summary:       An IRC Bot Building Framework
Name:          rubygem-%{gem_name}
Version:       2.0.10
Release:       1%{?dist}
License:       MIT

URL:           http://dominik.honnef.co/projects/cinch/
Source0:       http://rubygems.org/gems/%{gem_name}-%{version}.gem

BuildArch:     noarch

%if 0%{?fedora} >= 19
BuildRequires: ruby(release)
%else
BuildRequires: ruby(abi) = %{rubyabi}
BuildRequires: ruby >= %{rubyabi}
%endif
BuildRequires: rubygems-devel

%if 0%{?fedora} >= 19
Requires:      ruby(release)
%else
Requires:      ruby(abi) = %{rubyabi}
Requires:      ruby >= %{rubyabi}
%endif
Requires:      rubygems

Provides:      rubygem(%{gem_name}) = %{version}


%description
A simple, friendly DSL for creating IRC bots.


%package doc
Summary:   Documentation for %{name}
Requires:  %{name} = %{version}-%{release}
BuildArch: noarch


%description doc
%{summary}.


%prep
gem unpack %{SOURCE0}
%setup -q -D -T -n %{gem_name}-%{version}

gem spec %{SOURCE0} -l --ruby > %{gem_name}.gemspec

# apply any patches here


%build
gem build %{gem_name}.gemspec

%gem_install


%install
mkdir -p %{buildroot}%{gem_dir}
cp -pa .%{gem_dir}/* \
        %{buildroot}%{gem_dir}/

# cleanup files that should not be installed
rm %{buildroot}%{gem_instdir}/.yardopts


%files
%dir %{gem_instdir}
%{gem_libdir}
%exclude %{gem_cache}
%{gem_spec}
%doc %{gem_instdir}/LICENSE

%files doc
%doc %{gem_docdir}
%doc %{gem_instdir}/examples
%doc %{gem_instdir}/docs
%doc %{gem_instdir}/README.md

%changelog
* Wed Nov  6 2013 Darryl L. Pierce <dpierce@redhat.com> - 2.0.10-1
- Rebased on Cinch 2.0.10.

* Tue Sep  3 2013 Darryl L. Pierce <dpierce@redhat.com> - 2.0.9-1
- Rebased on Cinch 2.0.9.

* Mon Jul 29 2013 Darryl L. Pierce <dpierce@redhat.com> - 2.0.7-1
- Rebased on Cinch 2.0.7.

* Mon Jul 29 2013 Darryl L. Pierce <dpierce@redhat.com> - 2.0.6-1
- Rebased on Cinch 2.0.6.

* Fri Jun 21 2013 Darryl L. Pierce <dpierce@redhat.com> - 2.0.5-1
- Rebased on Cinch 2.0.5.

* Mon Mar 11 2013 Darryl L. Pierce <dpierce@redhat.com> - 2.0.4-1.1
- Updated the specfile for the current Ruby packaging guidelines.

* Wed Feb  6 2013 Darryl L. Pierce <dpierce@redhat.com> - 2.0.4-1
- Rebased on release 2.0.4.

* Mon Jan  7 2013 Darryl L. Pierce <dpierce@redhat.com> - 2.0.3-3.2
- Fixed the name of the installed gem.

* Thu Dec 20 2012 Darryl L. Pierce <dpierce@redhat.com> - 2.0.3-3.1
- Cleaned up the specfile to match current Ruby packaging guidelines.
- Changed URL to point to Dominik Honnef's project page on his blog.

* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.3-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild

* Wed Jul 11 2012 Darryl L. Pierce <dpierce@redhat.com> - 2.0.3-2
- First official release for Fedora.

* Sun Jul  8 2012 Darryl L. Pierce <dpierce@redhat.com> - 2.0.3-1.1
- Removed ruby and ruby(abi) BuildRequires.
- Removed ruby Requires.

* Thu Jun 28 2012 Darryl L. Pierce <dpierce@redhat.com> - 2.0.3-1
- Initial package