foreman-packaging/rpms/epel-6/ruby193-rubygem-little-plugger/rubygem-little-plugger.spec @ 1ff554b9
ff294672 | Dominic Cleal | %{?scl:%scl_package rubygem-%{gem_name}}
|
|
%{!?scl:%global pkg_name %{name}}
|
|||
%global gem_name little-plugger
|
|||
Summary: LittlePlugger is a module that provides Gem based plugin management
|
|||
Name: %{?scl_prefix}rubygem-%{gem_name}
|
|||
Version: 1.1.3
|
|||
1ff554b9 | specs-from-koji (Jenkins) | Release: 18%{?dist}
|
|
ff294672 | Dominic Cleal | Group: Development/Languages
|
|
License: MIT
|
|||
URL: http://rubygems.org/gems/little-plugger
|
|||
Source0: http://gems.rubyforge.org/gems/%{gem_name}-%{version}.gem
|
|||
Requires: %{?scl_prefix}ruby(rubygems)
|
|||
4aec426b | specs-from-koji (Jenkins) | ||
1ff554b9 | specs-from-koji (Jenkins) | %if "%{?scl}" == "ruby193" || (0%{?rhel} == 6 && "%{?scl}" == "")
|
|
Requires: %{?scl_prefix}ruby(abi)
|
|||
0222d06d | specs-from-koji (Jenkins) | %else
|
|
1ff554b9 | specs-from-koji (Jenkins) | Requires: %{?scl_prefix}ruby(release)
|
|
4aec426b | specs-from-koji (Jenkins) | %endif
|
|
1ff554b9 | specs-from-koji (Jenkins) | BuildRequires: %{?scl_prefix}ruby(rubygems)
|
|
ff294672 | Dominic Cleal | BuildRequires: %{?scl_prefix}rubygems-devel
|
|
1ff554b9 | specs-from-koji (Jenkins) | #BuildRequires: %{?scl_prefix}rubygem(rspec)
|
|
ff294672 | Dominic Cleal | BuildArch: noarch
|
|
Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
|
|||
%description
|
|||
LittlePlugger is a module that provides Gem based plugin management.
|
|||
By extending your own class or module with LittlePlugger you can easily
|
|||
manage the loading and initializing of plugins provided by other gems.
|
|||
%package doc
|
|||
Summary: Documentation for %{pkg_name}
|
|||
Group: Documentation
|
|||
Requires: %{?scl_prefix}%{pkg_name} = %{version}-%{release}
|
|||
%description doc
|
|||
This package contains documentation for %{pkg_name}.
|
|||
%prep
|
|||
%setup -n %{pkg_name}-%{version} -q -c -T
|
|||
mkdir -p .%{gem_dir}
|
|||
%{?scl:scl enable %{scl} "}
|
|||
gem install --local --install-dir .%{gem_dir} \
|
|||
--force --rdoc %{SOURCE0}
|
|||
%{?scl:"}
|
|||
%build
|
|||
%install
|
|||
rm -rf %{buildroot}
|
|||
mkdir -p %{buildroot}%{gem_dir}
|
|||
cp -a .%{gem_dir}/* %{buildroot}%{gem_dir}/
|
|||
9a06a32e | specs-from-koji (Jenkins) | # Workaround for rubygems being able to parse a timestamp in a date
|
|
6bdf6939 | specs-from-koji (Jenkins) | find %{buildroot}/%{gem_spec} -name %{gem_name}-%{version}.gemspec -exec sed -i 's/ 00:00:00.000000000Z//' {} +
|
|
9a06a32e | specs-from-koji (Jenkins) | ||
ff294672 | Dominic Cleal | %check
|
|
%files
|
|||
%dir %{gem_instdir}
|
|||
%exclude %{gem_instdir}/.gitignore
|
|||
4aec426b | specs-from-koji (Jenkins) | %{gem_instdir}/lib
|
|
%{gem_instdir}/spec
|
|||
6bdf6939 | specs-from-koji (Jenkins) | %exclude %{gem_cache}
|
|
%{gem_spec}
|
|||
ff294672 | Dominic Cleal | # contains licensing information
|
|
%doc %{gem_instdir}/README.rdoc
|
|||
%files doc
|
|||
%{gem_instdir}/spec
|
|||
%{gem_instdir}/Rakefile
|
|||
6bdf6939 | specs-from-koji (Jenkins) | %doc %{gem_docdir}/ri
|
|
%doc %{gem_docdir}/rdoc
|
|||
ff294672 | Dominic Cleal | %doc %{gem_instdir}/History.txt
|
|
%changelog
|
|||
1ff554b9 | specs-from-koji (Jenkins) | * Thu May 29 2014 Dominic Cleal <dcleal@redhat.com> 1.1.3-18
|
|
- Modernise and update for EL7 (dcleal@redhat.com)
|
|||
6bdf6939 | specs-from-koji (Jenkins) | * Wed Aug 28 2013 Dominic Cleal <dcleal@redhat.com> 1.1.3-17
|
|
- Don't override gem macros when building under SCL (dcleal@redhat.com)
|
|||
9a06a32e | specs-from-koji (Jenkins) | * Wed Aug 21 2013 Dominic Cleal <dcleal@redhat.com> 1.1.3-16
|
|
- Remove timestamps from gemspec dates (dcleal@redhat.com)
|
|||
353789b4 | specs-from-koji (Jenkins) | * Tue Aug 20 2013 Dominic Cleal <dcleal@redhat.com> 1.1.3-15
|
|
- fix dependency on ruby(abi) for ruby193 SCL builds (dcleal@redhat.com)
|
|||
0222d06d | specs-from-koji (Jenkins) | * Fri Aug 16 2013 Sam Kottler <shk@redhat.com> 1.1.3-14
|
|
- Use updated logic for ruby-abi and ruby-release (shk@redhat.com)
|
|||
4aec426b | specs-from-koji (Jenkins) | * Wed Aug 14 2013 Sam Kottler <shk@redhat.com> 1.1.3-13
|
|
- Fix logic and add whitelist (shk@redhat.com)
|
|||
* Wed Aug 14 2013 Sam Kottler <shk@redhat.com> 1.1.3-12
|
|||
- Grumble grumble (shk@redhat.com)
|
|||
* Wed Aug 14 2013 Sam Kottler <shk@redhat.com> 1.1.3-11
|
|||
- Weird logic change (shk@redhat.com)
|
|||
* Wed Aug 14 2013 Sam Kottler <shk@redhat.com> 1.1.3-10
|
|||
- Fix some broken logic (shk@redhat.com)
|
|||
- Untwisted the little-plugger spec (shk@redhat.com)
|
|||
* Wed Aug 14 2013 Sam Kottler <shk@redhat.com> 1.1.3-9
|
|||
- delete all zero sized tito.props (msuchy@redhat.com)
|
|||
- with recent tito you do not need SCL meta package (msuchy@redhat.com)
|
|||
ff294672 | Dominic Cleal | * Mon Mar 11 2013 Lukas Zapletal <lzap+git@redhat.com> 1.1.3-6
|
|
- fixing ruby193 scl package (lzap+git@redhat.com)
|
|||
* Mon Mar 11 2013 Lukas Zapletal <lzap+git@redhat.com> 1.1.3-5
|
|||
- new package built with tito
|
|||
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.3-4
|
|||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|||
* Mon Jan 23 2012 Bohuslav Kabrda <bkabrda@redhat.com> - 1.1.3-3
|
|||
- Rebuilt for Ruby 1.9.3.
|
|||
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.3-2
|
|||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|||
* Fri Nov 18 2011 Bohuslav Kabrda <bkabrda@redhat.com> - 1.1.3-1
|
|||
- Update to 1.1.3 version (migrates tests to rspec 2, thanks Vit Ondruch for patch for upstream).
|
|||
* Wed Nov 02 2011 Bohuslav Kabrda <bkabrda@redhat.com> - 1.1.2-3
|
|||
- Introduced doc subpackage.
|
|||
- Introduced check section.
|
|||
- Removed rspec from Requires and moved it to BuildRequires, as it is only needed for running specs.
|
|||
* Sat Apr 02 2011 Chris Lalancette <clalance@redhat.com> - 1.1.2-2
|
|||
- Use the gem from rubygems.org instead of from git
|
|||
* Wed Mar 16 2011 Chris Lalancette <clalance@redhat.com> - 1.1.2-1
|
|||
- Initial package
|