Revision 05be91cb
Added by Dominic Cleal almost 10 years ago
facter/facter-1.6.18.tar.gz | ||
---|---|---|
../.git/annex/objects/GK/19/SHA256E-s144491--18a63a04a32713c52270000c548fd1fcdf66e30e8ec29ace65225f12f5517f2b.tar.gz/SHA256E-s144491--18a63a04a32713c52270000c548fd1fcdf66e30e8ec29ace65225f12f5517f2b.tar.gz
|
facter/facter-1.6.18.tar.gz.asc | ||
---|---|---|
-----BEGIN PGP SIGNATURE-----
|
||
Version: GnuPG v1.4.12 (GNU/Linux)
|
||
Comment: GPGTools - http://gpgtools.org
|
||
|
||
iQIcBAABAgAGBQJRQOzqAAoJEBBUt6JL1uww82UQAKpGbXVmsjsCvyKJ1OakZwFa
|
||
OxsHr+FPsMzE9iU1Y2aQRhZzDaAD5C+ufdJrJZuCxIW5ASxXAp6QurvCqKlA8xFl
|
||
FWRXmFxD4KLizCtDMLCMET5DvdLa+xpcf6eOxDkQFzdBQgqYxMyCeJJhKO/j3Hqu
|
||
D1kEB3mQrqBGOexmq9//IZUtZ7+uGFHTuqR4d2gDyUyrHLnloXi+5pCFdD8dBTZw
|
||
rdJyr3vZWl5K8UYB5IWUkzIbtPRpKiqV7NIRDJ8NTMjbpFrvUhaaOoOs/2/Wz1y7
|
||
piaKhMCbPuJ3HnjMdTHqaUwrEtBrdub0WtJhodCYD16ebkh51asfKAvtgBr3z8lM
|
||
wK1U/MNJTsuXwfGeb6c7BsMY5DVlftCLZlpbARg8uerdX/KiI7Uwj3LrDlFnUDLz
|
||
8+kkhUcKmFvoRCIGPGXImvSQTqkoyN3b5Fg8VqNJf5Ts1c5zvm/gCySl3wiwSEAG
|
||
mgO5SAz9K0qPsGWXbpFv/UwmByuo7i8qXyWxCZ8Q3JYzSAiVQuGnMlQ8hL4mbUE4
|
||
7MJzj7DQGDxVHOO2U5SlkCIH4E+u4WhNG9fQil8cp02mqWLWGvxpbVFdAEciieHT
|
||
+bsJiQzUp0Z+2jsHDDAgWbib4Ai2JIhy/FGMmNN1qXkPiwwdNYUZ+DU46/0uxR1C
|
||
q9HtpvgaYy27XTEPdHiZ
|
||
=xXGc
|
||
-----END PGP SIGNATURE-----
|
facter/facter.spec | ||
---|---|---|
%{?scl:%scl_package facter}
|
||
%{!?scl:%global pkg_name %{name}}
|
||
|
||
# F-17 and above have ruby-1.9.x, and place libs in a different location
|
||
# The checks also fail on older releases, due to an older mocha gem, it appears
|
||
%if 0%{?fedora} >= 17
|
||
%global enable_check 1
|
||
%global facter_libdir %(ruby -rrbconfig -e 'puts RbConfig::CONFIG["vendorlibdir"]')
|
||
%else
|
||
%global enable_check 0
|
||
%global facter_libdir %(ruby -rrbconfig -e 'puts RbConfig::CONFIG["sitelibdir"]')
|
||
%endif
|
||
%global facter_libdir %{ruby_vendorlibdir}
|
||
#disable for Katello
|
||
%global enable_check 0
|
||
|
||
%global ruby_version %(ruby -rrbconfig -e 'puts RbConfig::CONFIG["ruby_version"]')
|
||
|
||
# There is nothing useful in debuginfo, facter is only an arch package to
|
||
# allow arch-dependent requires.
|
||
%global debug_package %{nil}
|
||
|
||
Name: %{?scl_prefix}facter
|
||
Version: 1.6.18
|
||
Release: 5%{?dist}
|
||
Summary: Command and ruby library for gathering system information
|
||
|
||
Group: System Environment/Base
|
||
License: ASL 2.0
|
||
URL: http://www.puppetlabs.com/puppet/related-projects/%{pkg_name}/
|
||
Source0: http://downloads.puppetlabs.com/%{pkg_name}/%{pkg_name}-%{version}.tar.gz
|
||
Source1: http://downloads.puppetlabs.com/%{pkg_name}/%{pkg_name}-%{version}.tar.gz.asc
|
||
BuildRoot: %{_tmppath}/%{pkg_name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||
|
||
BuildRequires: %{?scl_prefix}ruby >= 1.8.1
|
||
BuildRequires: %{?scl_prefix}ruby-devel
|
||
%if %{enable_check}
|
||
BuildRequires: net-tools
|
||
BuildRequires: %{?scl_prefix}rubygem(mocha)
|
||
BuildRequires: %{?scl_prefix}rubygem(rspec-core)
|
||
BuildRequires: %{?scl_prefix}rubygem(rspec)
|
||
%endif
|
||
|
||
# dmidecode and pciutils are not available on all arches
|
||
%ifarch %ix86 x86_64 ia64
|
||
Requires: dmidecode
|
||
Requires: pciutils
|
||
Requires: virt-what
|
||
%endif
|
||
Requires: net-tools
|
||
# Work around the lack of ruby in the default mock buildroot
|
||
%if "%{ruby_version}"
|
||
%if 0%{?fedora} >= 19
|
||
Requires: %{?scl_prefix}ruby(release)
|
||
%else
|
||
Requires: %{?scl_prefix}ruby(abi) = %{ruby_version}
|
||
%endif
|
||
%endif
|
||
Requires: which
|
||
|
||
%description
|
||
Facter is a lightweight program that gathers basic node information about the
|
||
hardware and operating system. Facter is especially useful for retrieving
|
||
things like operating system names, hardware characteristics, IP addresses, MAC
|
||
addresses, and SSH keys.
|
||
|
||
Facter is extensible and allows gathering of node information that may be
|
||
custom or site specific. It is easy to extend by including your own custom
|
||
facts. Facter can also be used to create conditional expressions in Puppet that
|
||
key off the values returned by facts.
|
||
|
||
%prep
|
||
%setup -n %{pkg_name}-%{version} -q
|
||
|
||
|
||
%build
|
||
# Nothing to build
|
||
|
||
|
||
%install
|
||
rm -rf %{buildroot}
|
||
%{?scl:scl enable %{scl} "}
|
||
ruby install.rb --destdir=%{buildroot} --quick --no-rdoc --sitelibdir=%{facter_libdir}
|
||
%{?scl:"}
|
||
|
||
#%if ! (0%{?fedora} || 0%{?rhel} >= 7)
|
||
## Install man page, rubygem-rdoc is not available on older EL releases)
|
||
#install -D -pv -m 644 man/man8/%{pkg_name}.8 %{buildroot}/%{_mandir}/man8/%{pkg_name}.8
|
||
#%endif
|
||
|
||
%postun
|
||
# Work around issues where puppet fails to run after a facter update
|
||
# https://bugzilla.redhat.com/806370
|
||
# http://projects.puppetlabs.com/issues/12879
|
||
if [ "$1" -ge 1 ]; then
|
||
/sbin/service puppet condrestart >/dev/null 2>&1 || :
|
||
fi
|
||
|
||
|
||
%clean
|
||
rm -rf %{buildroot}
|
||
|
||
|
||
%check
|
||
%if %{enable_check}
|
||
%{?scl:scl enable %{scl} "}
|
||
rspec spec
|
||
%{?scl:"}
|
||
%endif
|
||
|
||
|
||
%files
|
||
%defattr(-,root,root,-)
|
||
%doc LICENSE README.md
|
||
%{_bindir}/%{pkg_name}
|
||
%{facter_libdir}/%{pkg_name}*
|
||
%{_mandir}/man8/%{pkg_name}*
|
||
|
||
%changelog
|
||
* Wed May 22 2013 Mike McCune <mmccune@redhat.com> 1.6.18-5
|
||
- rebuild to support SCL
|
||
|
||
* Thu Mar 21 2013 Miroslav Suchý <msuchy@redhat.com> 1.6.18-4
|
||
- put ruby libs into ruby_vendorlibdir (msuchy@redhat.com)
|
||
|
||
* Thu Mar 21 2013 Miroslav Suchý <msuchy@redhat.com> 1.6.18-3
|
||
- remove scl deps on non-ruby packages (msuchy@redhat.com)
|
||
|
||
* Thu Mar 21 2013 Miroslav Suchý <msuchy@redhat.com> 1.6.18-2
|
||
- new package built with tito
|
||
|
||
* Mon Mar 18 2013 Todd Zullinger <tmz@pobox.com> - 1.6.18-1
|
||
- Update to 1.6.18
|
||
- Restart puppet in %%postun (#806370)
|
||
- Require virt-what for improved KVM detection (#905592)
|
||
- Ensure man page is installed on EL < 7
|
||
|
||
* Tue Mar 12 2013 Vít Ondruch <vondruch@redhat.com> - 1.6.17-2
|
||
- Rebuild for https://fedoraproject.org/wiki/Features/Ruby_2.0.0
|
||
|
||
* Mon Feb 25 2013 Jeroen van Meeuwen <vanmeeuwen@kolabsys.com> - 1.6.17-1
|
||
- New upstream version, fixes rhbz #892734
|
||
|
||
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.16-2
|
||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
||
|
||
* Tue Dec 04 2012 Michael Stahnke <stahnma@puppetlabs.com> - 1.6.16-1
|
||
- Update to 1.6.16
|
||
|
||
* Wed Nov 28 2012 Michael Stahnke <stahnma@puppetlabs.com> - 1.6.15-1
|
||
- Rebase to 1.6.15
|
||
- Put asc file back as Source1
|
||
|
||
* Fri Nov 09 2012 Michael Stahnke <stahnma@puppetlabs.com> - 1.6.13-2
|
||
- Add patch for ec2 fix
|
||
- Rebase to 1.6.14 via bz 871211
|
||
|
||
* Mon Oct 29 2012 Michael Stahnke <stahnma@puppetlabs.com> - 1.6.13-1
|
||
- Rebase to 1.6.13
|
||
|
||
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.6-2
|
||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
||
|
||
* Mon Mar 05 2012 Todd Zullinger <tmz@pobox.com> - 1.6.6-1
|
||
- Update to 1.6.6
|
||
|
||
* Sun Feb 19 2012 Todd Zullinger <tmz@pobox.com> - 1.6.5-5
|
||
- Disable useless debuginfo generation (#795106, thanks to Ville Skyttä)
|
||
- Update summary and description
|
||
- Remove INSTALL from %%doc
|
||
|
||
* Wed Feb 15 2012 Todd Zullinger <tmz@pobox.com> - 1.6.5-4
|
||
- Only run rspec checks on Fedora >= 17
|
||
|
||
* Mon Feb 13 2012 Todd Zullinger <tmz@pobox.com> - 1.6.5-3
|
||
- Make spec file work for EPEL and Fedora
|
||
- Drop BuildArch: noarch and make dmidecode/pciutils deps arch-specific
|
||
- Make ec2 facts work on CentOS again (#790849, thanks to Jeremy Katz)
|
||
- Preserve timestamps when installing files
|
||
|
||
* Thu Feb 02 2012 Bohuslav Kabrda <bkabrda@redhat.com> - 1.6.5-2
|
||
- Rebuilt for Ruby 1.9.3.
|
||
|
||
* Thu Jan 26 2012 Todd Zullinger <tmz@pobox.com> - 1.6.5-1
|
||
- Update to 1.6.5
|
||
- Require net-tools and pciutils, thanks to Dominic Cleal (#783749)
|
||
|
||
* Thu Jan 05 2012 Todd Zullinger <tmz@pobox.com> - 1.6.4-1
|
||
- Update to 1.6.4
|
||
- Require dmidecode (upstream #11041)
|
||
|
||
* Sat Oct 15 2011 Todd Zullinger <tmz@pobox.com> - 1.6.2-1
|
||
- Update to 1.6.2
|
||
- Update source URL
|
||
|
||
* Thu Sep 29 2011 Todd Zullinger <tmz@pobox.com> - 1.6.1-1
|
||
- Update to 1.6.1
|
||
- Minor spec file reformatting
|
||
|
||
* Wed Jul 27 2011 Todd Zullinger <tmz@pobox.com> - 1.6.0-2
|
||
- Update license tag, GPLv2+ -> ASL 2.0
|
||
|
||
* Thu Jul 14 2011 Todd Zullinger <tmz@pobox.com> - 1.6.0-1
|
||
- Update to 1.6.0
|
||
|
||
* Thu May 26 2011 Todd Zullinger <tmz@pobox.com> - 1.5.9-1
|
||
- Update to 1.5.9
|
||
- Improve Scientific Linux support, courtesy of Orion Poplawski (upstream #7682)
|
||
|
||
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.8-2
|
||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
||
|
||
* Sat Aug 28 2010 Todd Zullinger <tmz@pobox.com> - 1.5.8-1
|
||
- Update to 1.5.8
|
||
|
||
* Fri Sep 25 2009 Todd Zullinger <tmz@pobox.com> - 1.5.7-1
|
||
- Update to 1.5.7
|
||
- Update #508037 patch from upstream ticket
|
||
|
||
* Wed Aug 12 2009 Jeroen van Meeuwen <j.van.meeuwen@ogd.nl> - 1.5.5-3
|
||
- Fix #508037 or upstream #2355
|
||
|
||
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.5-2
|
||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
||
|
||
* Fri May 22 2009 Todd Zullinger <tmz@pobox.com> - 1.5.5-1
|
||
- Update to 1.5.5
|
||
- Drop upstreamed libperms patch
|
||
|
||
* Sat Feb 28 2009 Todd Zullinger <tmz@pobox.com> - 1.5.4-1
|
||
- New version
|
||
- Use upstream install script
|
||
|
||
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.2-2
|
||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
||
|
||
* Tue Sep 09 2008 Todd Zullinger <tmz@pobox.com> - 1.5.2-1
|
||
- New version
|
||
- Simplify spec file checking for Fedora and RHEL versions
|
||
|
||
* Mon Sep 8 2008 David Lutterkort <dlutter@redhat.com> - 1.5.1-1
|
||
- New version
|
||
|
||
* Thu Jul 17 2008 David Lutterkort <dlutter@redhat.com> - 1.5.0-3
|
||
- Change 'mkdir' in install to 'mkdir -p'
|
||
|
||
* Thu Jul 17 2008 David Lutterkort <dlutter@redhat.com> - 1.5.0-2
|
||
- Remove files that were listed twice in files section
|
||
|
||
* Mon May 19 2008 James Turnbull <james@lovedthanlosty.net> - 1.5.0-1
|
||
- New version
|
||
- Added util and plist files
|
||
|
||
* Mon Sep 24 2007 David Lutterkort <dlutter@redhat.com> - 1.3.8-1
|
||
- Update license tag
|
||
- Copy all of lib/ into ruby_sitelibdir
|
||
|
||
* Thu Mar 29 2007 David Lutterkort <dlutter@redhat.com> - 1.3.7-1
|
||
- New version
|
||
|
||
* Fri Jan 19 2007 David Lutterkort <dlutter@redhat.com> - 1.3.6-1
|
||
- New version
|
||
|
||
* Thu Jan 18 2007 David Lutterkort <dlutter@redhat.com> - 1.3.5-3
|
||
- require which; facter is very unhappy without it
|
||
|
||
* Mon Nov 20 2006 David Lutterkort <dlutter@redhat.com> - 1.3.5-2
|
||
- Make require ruby(abi) and buildarch: noarch conditional for fedora 5 or
|
||
later to allow building on older fedora releases
|
||
|
||
* Tue Oct 10 2006 David Lutterkort <dlutter@redhat.com> - 1.3.5-1
|
||
- New version
|
||
|
||
* Tue Sep 26 2006 David Lutterkort <dlutter@redhat.com> - 1.3.4-1
|
||
- New version
|
||
|
||
* Wed Sep 13 2006 David Lutterkort <dlutter@redhat.com> - 1.3.3-2
|
||
- Rebuilt for FC6
|
||
|
||
* Wed Jun 28 2006 David Lutterkort <dlutter@redhat.com> - 1.3.3-1
|
||
- Rebuilt
|
||
|
||
* Fri Jun 19 2006 Luke Kanies <luke@madstop.com> - 1.3.0-1
|
||
- Fixed spec file to work again with the extra memory and processor files.
|
||
- Require ruby(abi). Build as noarch
|
||
|
||
* Fri Jun 9 2006 Luke Kanies <luke@madstop.com> - 1.3.0-1
|
||
- Added memory.rb and processor.rb
|
||
|
||
* Mon Apr 17 2006 David Lutterkort <dlutter@redhat.com> - 1.1.4-4
|
||
- Rebuilt with changed upstream tarball
|
||
|
||
* Tue Mar 21 2006 David Lutterkort <dlutter@redhat.com> - 1.1.4-3
|
||
- Do not rely on install.rb, it will be deleted upstream
|
||
|
||
* Mon Mar 13 2006 David Lutterkort <dlutter@redhat.com> - 1.1.4-2
|
||
- Commented out noarch; requires fix for bz184199
|
||
|
||
* Mon Mar 6 2006 David Lutterkort <dlutter@redhat.com> - 1.1.4-1
|
||
- Removed unused macros
|
||
|
||
* Mon Feb 6 2006 David Lutterkort <dlutter@redhat.com> - 1.1.1-2
|
||
- Fix BuildRoot. Add dist to release tag
|
||
|
||
* Wed Jan 11 2006 David Lutterkort <dlutter@redhat.com> - 1.1.1-1
|
||
- Initial build.
|
ruby-wrapper/LICENSE | ||
---|---|---|
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
|
ruby-wrapper/README | ||
---|---|---|
%{scl_prefix}-ruby-wrapper
|
||
|
||
This is just a tiny wrapper script to be used as a shim where useful. It is
|
||
used in OpenShift Origin for RHEL+RHSCL installs and it's been packaged
|
||
independently in hopes it might be useful for others.
|
||
|
||
You should find an example script in your docdir (most likely
|
||
/usr/share/doc/%{scl_prefix}-ruby-wrapper/)
|
ruby-wrapper/README.md | ||
---|---|---|
ruby-wrapper
|
||
============
|
||
|
||
Wrapper for RHSCL ruby
|
||
|
||
|
||
%{scl_prefix}-ruby-wrapper
|
||
|
||
This is just a tiny wrapper script to be used as a shim where useful. It is
|
||
used in OpenShift Origin for RHEL+RHSCL installs and it's been packaged
|
||
independently in hopes it might be useful for others.
|
||
|
||
You should find an example script in your docdir (most likely
|
||
/usr/share/doc/%{scl_prefix}-ruby-wrapper/)
|
||
|
||
|
||
Note: There some modifications happening in the rpm spec file to make this
|
||
SCL agnostic in an attempt to be ready for the future so if you use this at
|
||
face value it's not going to work and you need to change FIXMESCL in
|
||
ruby-wrapper and install it as /usr/bin/${SCL_NAME}-ruby (such that SCL_NAME
|
||
were treated like a shell variable).
|
ruby-wrapper/example_shim | ||
---|---|---|
export LD_LIBRARY_PATH=/opt/rh/ruby193/root/usr/local/lib64:/opt/rh/ruby193/root/usr/lib64
|
||
export GEM_HOME=/opt/rh/ruby193/root/usr/share/gems
|
||
export GEM_PATH=/opt/rh/ruby193/root/usr/local/share/gems:/opt/rh/ruby193/root/usr/share/gems
|
||
|
||
ruby193-ruby $@
|
||
|
ruby-wrapper/ruby-wrapper | ||
---|---|---|
#!/bin/bash
|
||
|
||
COMMAND="ruby $@"
|
||
SCL=FIXMESCL
|
||
|
||
scl enable $SCL "$COMMAND"
|
||
|
ruby-wrapper/ruby-wrapper-rails | ||
---|---|---|
#!/bin/bash
|
||
|
||
COMMAND="rails $@"
|
||
SCL=FIXMESCL
|
||
|
||
scl enable $SCL "$COMMAND"
|
||
|
ruby-wrapper/ruby-wrapper-rake | ||
---|---|---|
#!/bin/bash
|
||
|
||
COMMAND="rake $@"
|
||
SCL=FIXMESCL
|
||
|
||
scl enable $SCL "$COMMAND"
|
||
|
ruby-wrapper/ruby-wrapper.spec | ||
---|---|---|
%{!?scl:%global pkg_name %{name}}
|
||
%{?scl:%scl_package %{name}}
|
||
|
||
%define wrapper_doc_dir %{_root_datadir}/doc/%{name}-%{version}
|
||
|
||
%global rubyabi 1.9.1
|
||
|
||
Summary: Wrapper for %{scl_prefix} ruby.
|
||
Name: %{?scl:%scl_prefix}ruby-wrapper
|
||
Version: 0.0.2
|
||
Release: 5%{?dist}
|
||
Group: Development/Languages
|
||
License: ASL 2.0
|
||
URL: https://github.com/maxamillion/ruby-wrapper
|
||
Requires: %{?scl:%scl_prefix}ruby(abi) = %{rubyabi}
|
||
Requires: %{?scl:%scl_prefix}ruby
|
||
Requires: %{?scl:%scl_prefix}rubygems
|
||
Source0: ruby-wrapper
|
||
Source1: ruby-wrapper-rake
|
||
Source2: ruby-wrapper-rails
|
||
Source3: LICENSE
|
||
Source4: README
|
||
Source5: example_shim
|
||
BuildArch: noarch
|
||
|
||
%description
|
||
Wrapper for %{scl_prefix} ruby so that other wrapper scripts can be
|
||
written with a "shim." Examples can be found in the doc directory.
|
||
|
||
%install
|
||
|
||
# Create the %%{_root_bindir} wrapper:
|
||
%if 0%{?scl:1}
|
||
mkdir -p %{buildroot}%{_root_bindir}
|
||
install -p -m0755 %{SOURCE0} %{buildroot}%{_root_bindir}/%{scl_prefix}ruby
|
||
install -p -m0755 %{SOURCE1} %{buildroot}%{_root_bindir}/%{scl_prefix}rake
|
||
install -p -m0755 %{SOURCE2} %{buildroot}%{_root_bindir}/%{scl_prefix}rails
|
||
|
||
# Modify the shim/wrapper to include the correct scl
|
||
%if "%{?scl}" == "ruby193"
|
||
sed -i 's/FIXMESCL/%{scl}\nif scl -l | grep -qw ^v8314$; then\nSCL="ruby193 v8314"\nfi/' %{buildroot}%{_root_bindir}/%{scl_prefix}ruby
|
||
sed -i 's/FIXMESCL/%{scl}\nif scl -l | grep -qw ^v8314$; then\nSCL="ruby193 v8314"\nfi/' %{buildroot}%{_root_bindir}/%{scl_prefix}rake
|
||
sed -i 's/FIXMESCL/%{scl}\nif scl -l | grep -qw ^v8314$; then\nSCL="ruby193 v8314"\nfi/' %{buildroot}%{_root_bindir}/%{scl_prefix}rails
|
||
%else
|
||
sed -i s/FIXMESCL/%{scl}/ %{buildroot}%{_root_bindir}/%{scl_prefix}ruby
|
||
sed -i s/FIXMESCL/%{scl}/ %{buildroot}%{_root_bindir}/%{scl_prefix}rake
|
||
sed -i s/FIXMESCL/%{scl}/ %{buildroot}%{_root_bindir}/%{scl_prefix}rails
|
||
%endif
|
||
|
||
mkdir -p %{buildroot}%{wrapper_doc_dir}
|
||
|
||
install -p -m0644 %{SOURCE3} %{buildroot}%{wrapper_doc_dir}/LICENSE
|
||
install -p -m0644 %{SOURCE4} %{buildroot}%{wrapper_doc_dir}/README
|
||
install -p -m0644 %{SOURCE5} %{buildroot}%{wrapper_doc_dir}/example_shim
|
||
|
||
%else
|
||
# Not SCL is an error, this should only build for SCL
|
||
exit 1
|
||
%endif
|
||
|
||
%files
|
||
%dir %{wrapper_doc_dir}
|
||
%{wrapper_doc_dir}/*
|
||
|
||
%{?scl:%{_root_bindir}/%{scl_prefix}ruby}
|
||
%{?scl:%{_root_bindir}/%{scl_prefix}rake}
|
||
%{?scl:%{_root_bindir}/%{scl_prefix}rails}
|
||
|
||
|
||
%changelog
|
||
* Tue May 06 2014 Dominic Cleal <dcleal@redhat.com> 0.0.2-5
|
||
- Enable v8 collection too for SCL 1.1 (jmontleo@redhat.com)
|
||
|
||
* Tue Dec 03 2013 Eric D Helms <ehelms@redhat.com> 0.0.2-4
|
||
- new package built with tito
|
||
|
||
* Wed Sep 18 2013 Sam Kottler <shk@redhat.com> -0.0.2-3
|
||
* Add a rails wrapper
|
||
* Mon Sep 9 2013 Sam Kottler <shk@redhat.com> - 0.0.2-2
|
||
- Move /usr/bin/ruby193-ruby-rake to /usr/bin/ruby193-rake
|
||
* Mon Sep 9 2013 Sam Kottler <shk@redhat.com> - 0.0.2-1
|
||
- Add prefixed rake wrapper
|
||
* Wed Jun 26 2013 Adam Miller <maxamillion@fedoraproject.org> - 0.0.1-2
|
||
- Fix rubyabi
|
||
* Wed Jun 26 2013 Adam Miller <maxamillion@fedoraproject.org> - 0.0.1-1
|
||
- First package of the ruby-wrapper
|
rubygem-addressable/addressable-2.3.5.gem | ||
---|---|---|
../.git/annex/objects/Zm/mJ/SHA256E-s96768--e74d0e825fe79b12943c7e3cbd3a5c92f7e3ebb94485b2493d320d6876321b86.5.gem/SHA256E-s96768--e74d0e825fe79b12943c7e3cbd3a5c92f7e3ebb94485b2493d320d6876321b86.5.gem
|
rubygem-addressable/rubygem-addressable.spec | ||
---|---|---|
%{?scl:%scl_package rubygem-%{gem_name}}
|
||
%{!?scl:%global pkg_name %{name}}
|
||
|
||
# Generated from addressable-2.2.6.gem by gem2rpm -*- rpm-spec -*-
|
||
%global gem_name addressable
|
||
|
||
%global rubyabi 1.9.1
|
||
|
||
Summary: URI Implementation
|
||
Name: %{?scl_prefix}rubygem-%{gem_name}
|
||
Version: 2.3.5
|
||
Release: 1%{?dist}
|
||
Group: Development/Languages
|
||
License: GPLv2+ or Ruby
|
||
URL: http://addressable.rubyforge.org/
|
||
Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
|
||
Requires: %{?scl_prefix}ruby(abi) = %{rubyabi}
|
||
Requires: %{?scl_prefix}ruby(rubygems)
|
||
Requires: %{?scl_prefix}ruby
|
||
BuildRequires: %{?scl_prefix}ruby(abi) = %{rubyabi}
|
||
BuildRequires: %{?scl_prefix}ruby(rubygems)
|
||
BuildRequires: %{?scl_prefix}ruby
|
||
BuildRequires: %{?scl_prefix}rubygems-devel
|
||
BuildArch: noarch
|
||
Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
|
||
|
||
%description
|
||
Addressable is a replacement for the URI implementation that is part of
|
||
Ruby's standard library. It more closely conforms to the relevant RFCs and
|
||
adds support for IRIs and URI templates.
|
||
|
||
|
||
%package doc
|
||
Summary: Documentation for %{pkg_name}
|
||
Group: Documentation
|
||
Requires: %{?scl_prefix}%{pkg_name} = %{version}-%{release}
|
||
BuildArch: noarch
|
||
|
||
%description doc
|
||
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 %{SOURCE0}
|
||
%{?scl:"}
|
||
|
||
%build
|
||
|
||
%install
|
||
mkdir -p %{buildroot}%{gem_dir}
|
||
cp -a .%{gem_dir}/* \
|
||
%{buildroot}%{gem_dir}/
|
||
|
||
|
||
%files
|
||
%dir %{gem_instdir}
|
||
%{gem_instdir}/*
|
||
%{gem_dir}/cache/%{gem_name}-%{version}.gem
|
||
%{gem_dir}/specifications/%{gem_name}-%{version}.gemspec
|
||
|
||
%files doc
|
||
%doc %{gem_dir}/doc/%{gem_name}-%{version}
|
||
%doc %{gem_instdir}/README.md
|
||
|
||
%changelog
|
||
* Sun Nov 10 2013 Dominic Cleal <dcleal@redhat.com> 2.3.5-1
|
||
- Rebase to addressable 2.3.5 (dcleal@redhat.com)
|
||
- delete all zero sized tito.props (msuchy@redhat.com)
|
||
- with recent tito you do not need SCL meta package (msuchy@redhat.com)
|
||
|
||
* Fri Mar 29 2013 Marek Hulan <ares@igloonet.cz> 2.2.6-4
|
||
- fix for SCL
|
||
|
||
* Wed Mar 27 2013 Marek Hulan <ares@igloonet.cz> 2.2.6-3
|
||
- new package built with tito
|
||
|
||
* Mon Nov 05 2012 Miroslav Suchý <msuchy@redhat.com> 2.2.6-2
|
||
- add rubygem-addressable (msuchy@redhat.com)
|
||
|
||
* Wed Aug 10 2011 John Eckersberg <jeckersb@redhat.com> - 2.2.6-1
|
||
- Initial package
|
rubygem-ancestry/ancestry-2.0.0.gem | ||
---|---|---|
../.git/annex/objects/Vw/X4/SHA256E-s16384--0d74af95229faed077af5c0dedf405e3b4519362353fdf9c7df740c9568778c0.0.gem/SHA256E-s16384--0d74af95229faed077af5c0dedf405e3b4519362353fdf9c7df740c9568778c0.0.gem
|
rubygem-ancestry/rubygem-ancestry.spec | ||
---|---|---|
%{?scl:%scl_package rubygem-%{gem_name}}
|
||
%{!?scl:%global pkg_name %{name}}
|
||
|
||
%global gem_name ancestry
|
||
|
||
Summary: Organise ActiveRecord model into a tree structure
|
||
Name: %{?scl_prefix}rubygem-%{gem_name}
|
||
|
||
Version: 2.0.0
|
||
Release: 2%{dist}
|
||
Group: Development/Languages
|
||
License: MIT
|
||
URL: http://github.com/stefankroes/ancestry
|
||
Source0: http://rubygems.org/downloads/%{gem_name}-%{version}.gem
|
||
%if 0%{?fedora} > 18
|
||
Requires: %{?scl_prefix}ruby(release)
|
||
%else
|
||
Requires: %{?scl_prefix}ruby(abi) = 1.9.1
|
||
%endif
|
||
BuildRequires: %{?scl_prefix}rubygems-devel
|
||
Requires: %{?scl_prefix}rubygems
|
||
Requires: %{?scl_prefix}rubygem-activerecord >= 2.2.2
|
||
BuildRequires: %{?scl_prefix}rubygems
|
||
BuildArch: noarch
|
||
Provides: %{?scl_prefix}rubygem(ancestry) = %{version}
|
||
|
||
%description
|
||
Ancestry allows the records of a ActiveRecord model to be organised in a tree
|
||
structure, using a single, intuitively formatted database column. It exposes
|
||
all the standard tree structure relations (ancestors, parent, root, children,
|
||
siblings, descendants) and all of them can be fetched in a single sql query.
|
||
Additional features are named_scopes, integrity checking, integrity
|
||
restoration, arrangement of (sub)tree into hashes and different strategies
|
||
for dealing with orphaned records.
|
||
|
||
%description
|
||
TTFunk is a TrueType font parser written in pure ruby.
|
||
|
||
%package doc
|
||
BuildArch: noarch
|
||
Requires: %{?scl_prefix}%{pkg_name} = %{version}-%{release}
|
||
Summary: Documentation for rubygem-%{gem_name}
|
||
|
||
%description doc
|
||
This package contains documentation for rubygem-%{gem_name}.
|
||
|
||
%prep
|
||
%{?scl:scl enable %{scl} "}
|
||
gem unpack %{SOURCE0}
|
||
%{?scl:"}
|
||
%setup -q -D -T -n %{gem_name}-%{version}
|
||
|
||
%{?scl:scl enable %{scl} "}
|
||
gem spec %{SOURCE0} -l --ruby > %{gem_name}.gemspec
|
||
%{?scl:"}
|
||
|
||
%build
|
||
mkdir -p .%{gem_dir}
|
||
|
||
%{?scl:scl enable %{scl} "}
|
||
# Create the gem as gem install only works on a gem file
|
||
%{?scl:"}
|
||
%{?scl:scl enable %{scl} "}
|
||
gem build %{gem_name}.gemspec
|
||
%{?scl:"}
|
||
|
||
%{?scl:scl enable %{scl} "}
|
||
gem install -V \
|
||
--local \
|
||
--install-dir ./%{gem_dir} \
|
||
--force \
|
||
--rdoc \
|
||
%{gem_name}-%{version}.gem
|
||
%{?scl:"}
|
||
rm -rf ./%{gem_dir}/gems/%{gem_name}-%{version}/.yardoc
|
||
|
||
%install
|
||
mkdir -p %{buildroot}%{gem_dir}
|
||
cp -a ./%{gem_dir}/* %{buildroot}%{gem_dir}/
|
||
mv %{buildroot}%{gem_instdir}/{MIT-LICENSE,README.rdoc} ./
|
||
|
||
%files
|
||
%doc MIT-LICENSE README.rdoc
|
||
%dir %{gem_instdir}
|
||
%{gem_instdir}/lib
|
||
%{gem_instdir}/init.rb
|
||
%{gem_instdir}/install.rb
|
||
%{gem_instdir}/ancestry.gemspec
|
||
%{gem_cache}
|
||
%{gem_spec}
|
||
|
||
%files doc
|
||
%{gem_docdir}
|
||
|
||
%changelog
|
||
* Fri Sep 27 2013 Lukas Zapletal <lzap+git@redhat.com> 2.0.0-2
|
||
- bumping ancestry (lzap+git@redhat.com)
|
||
|
||
* Fri Sep 27 2013 Lukas Zapletal <lzap+rpm[@]redhat.com> - 2.0.0-1
|
||
- bump to 2.0.0 because this is in Fedora 19 now
|
||
|
||
* Wed Jul 03 2013 Dominic Cleal <dcleal@redhat.com> 1.3.0-4
|
||
- change ruby(abi) to ruby(release) for F19+ (dcleal@redhat.com)
|
||
|
||
* Tue Mar 12 2013 Miroslav Suchý <msuchy@redhat.com> 1.3.0-2
|
||
- new package built with tito
|
||
|
||
* Fri Aug 10 2012 Miroslav Suchý <msuchy@redhat.com> 1.3.0-1
|
||
- new package built with tito
|
||
|
rubygem-apipie-rails/apipie-rails-0.1.2.gem | ||
---|---|---|
../.git/annex/objects/8m/V3/SHA256E-s242688--8d494b08412dcc475bb4a8c51c168df713466be361b80f78b125744c8a0a2334.2.gem/SHA256E-s242688--8d494b08412dcc475bb4a8c51c168df713466be361b80f78b125744c8a0a2334.2.gem
|
rubygem-apipie-rails/rubygem-apipie-rails.spec | ||
---|---|---|
%{?scl:%scl_package rubygem-%{gem_name}}
|
||
%{!?scl:%global pkg_name %{name}}
|
||
|
||
%global gem_name apipie-rails
|
||
|
||
Summary: Rails API documentation tool and client generator
|
||
Name: %{?scl_prefix}rubygem-%{gem_name}
|
||
Version: 0.1.2
|
||
Release: 1%{?dist}
|
||
Group: Development/Libraries
|
||
#This gem is released under MIT license. Copy is included in file MIT-LICENSE.
|
||
#
|
||
#Twitter Bootstrap and google-code-prettify are licensed under Apache License
|
||
#2.0. Copy is included in file APACHE-LICENSE-2.0.
|
||
License: MIT and ASL 2.0
|
||
URL: http://github.com/Pajk/apipie-rails
|
||
Source0: http://rubygems.org/downloads/%{gem_name}-%{version}.gem
|
||
|
||
|
||
Requires: %{?scl_prefix}rubygems
|
||
%if 0%{?fedora} > 18
|
||
Requires: %{?scl_prefix}ruby(release)
|
||
%else
|
||
Requires: %{?scl_prefix}ruby(abi) = 1.9.1
|
||
%endif
|
||
BuildRequires: %{?scl_prefix}rubygems-devel
|
||
BuildRequires: %{?scl_prefix}rubygems
|
||
|
||
BuildArch: noarch
|
||
|
||
Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
|
||
|
||
%description
|
||
This gem adds new methods to Rails controllers that can be used to describe
|
||
resources exposed by API. Information entered with provided DSL are used
|
||
to generate documentation, client or to validate incoming requests.
|
||
|
||
%package doc
|
||
BuildArch: noarch
|
||
Requires: %{?scl_prefix}%{pkg_name} = %{version}-%{release}
|
||
Summary: Documentation for rubygem-%{gem_name}
|
||
|
||
%description doc
|
||
This package contains documentation for rubygem-%{gem_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 %{SOURCE0} --no-rdoc --no-ri
|
||
%{?scl:"}
|
||
|
||
%build
|
||
|
||
%install
|
||
mkdir -p %{buildroot}%{gem_dir}
|
||
cp -a .%{gem_dir}/* \
|
||
%{buildroot}%{gem_dir}/
|
||
|
||
%files
|
||
%dir %{gem_instdir}
|
||
%{gem_instdir}/app
|
||
%{gem_instdir}/lib
|
||
%exclude %{gem_cache}
|
||
%{gem_spec}
|
||
%doc %{gem_instdir}/MIT-LICENSE
|
||
%doc %{gem_instdir}/APACHE-LICENSE-2.0
|
||
|
||
%exclude %{gem_instdir}/spec
|
||
%exclude %{gem_instdir}/rel-eng
|
||
%exclude %{gem_instdir}/.gitignore
|
||
%exclude %{gem_instdir}/.rspec
|
||
%exclude %{gem_instdir}/.travis.yml
|
||
%exclude %{gem_instdir}/Gemfile.*
|
||
%exclude %{gem_dir}/cache/%{gem_name}-%{version}.gem
|
||
|
||
%files doc
|
||
%doc %{gem_instdir}/MIT-LICENSE
|
||
%doc %{gem_instdir}/README.rst
|
||
%doc %{gem_instdir}/CHANGELOG.md
|
||
%doc %{gem_instdir}/NOTICE
|
||
%{gem_instdir}/Rakefile
|
||
%{gem_instdir}/Gemfile
|
||
%{gem_instdir}/%{gem_name}.gemspec
|
||
|
||
%changelog
|
||
* Tue May 13 2014 Ivan Nečas <inecas@redhat.com> 0.2.0-1
|
||
- Bump version to 0.2.0 (inecas@redhat.com)
|
||
|
||
* Thu Mar 20 2014 Ivan Nečas <inecas@redhat.com> 0.1.2-1
|
||
- Bump version of apipie-rails to 0.1.2 (inecas@redhat.com)
|
||
|
||
* Thu Mar 13 2014 Ivan Nečas <inecas@redhat.com> 0.1.1-1
|
||
- Bump version of apipie-rails to 0.1.1 (inecas@redhat.com)
|
||
|
||
* Mon Mar 03 2014 Ivan Nečas <inecas@redhat.com> 0.1.0-1
|
||
- Bump version of apipie-rails to 0.1.0 (inecas@redhat.com)
|
||
|
||
* Wed Sep 04 2013 Ivan Necas <inecas@redhat.com> 0.0.23-1
|
||
- bumping version of apipie-rails to 0.0.23 (inecas@redhat.com)
|
||
|
||
* Wed Jun 26 2013 Miroslav Suchý <msuchy@redhat.com> 0.0.22-3
|
||
- add ASL to license (msuchy@redhat.com)
|
||
|
||
* Wed Jun 12 2013 Lukas Zapletal <lzap+git@redhat.com> 0.0.22-2
|
||
- bumping version of apipie-rails to 0.0.22
|
||
|
||
* Wed May 29 2013 Miroslav Suchý <msuchy@redhat.com> 0.0.21-2
|
||
- change ruby(abi) to ruby(release) for F19+ (msuchy@redhat.com)
|
||
|
||
* Fri May 10 2013 Ivan Necas <inecas@redhat.com> 0.0.21-1
|
||
- Use new version of apipie-rails - needed by the Foreman (inecas@redhat.com)
|
||
- remove empty tito.props and definition which are duplicate with default from
|
||
rel-eng/tito.props (msuchy@redhat.com)
|
||
- with recent tito you do not need SCL meta package (msuchy@redhat.com)
|
||
|
||
* Thu Mar 07 2013 Lukas Zapletal <lzap+git@redhat.com> 0.0.18-4
|
||
- fixing ruby193 scl package (lzap+git@redhat.com)
|
||
- require ruby193-build for tagging (msuchy@redhat.com)
|
||
|
||
* Tue Feb 26 2013 Miroslav Suchý <msuchy@redhat.com> 0.0.18-3
|
||
- remove false positive scl macro (msuchy@redhat.com)
|
||
|
||
* Mon Feb 25 2013 Miroslav Suchý <msuchy@redhat.com> 0.0.18-2
|
||
- new package built with tito
|
||
|
||
* Mon Feb 25 2013 Ivan Necas <inecas@redhat.com> 0.0.18-1
|
||
- param_group and def_param_group keywords
|
||
- :action_aware options for reusing param groups for create/update actions
|
||
- support for multiple see links at action and ability to provide
|
||
description of see links
|
||
|
||
* Wed Feb 06 2013 Ivan Necas <inecas@redhat.com> 0.0.16-1
|
||
- New version of apipie from upstream (inecas@redhat.com)
|
||
|
||
* Thu Nov 29 2012 Petr Chalupa <pchalupa@redhat.com> 0.0.13-1
|
||
- New version of apipie (0.0.13) from upstream (pchalupa@redhat.com)
|
||
|
||
* Tue Oct 09 2012 Ivan Necas <inecas@redhat.com> 0.0.12-1
|
||
- New version of apipie from upstream (inecas@redhat.com)
|
||
|
||
* Fri Sep 07 2012 Miroslav Suchý <msuchy@redhat.com> 0.0.11-3
|
||
- summary should not end with dot (msuchy@redhat.com)
|
||
- fix spelling (msuchy@redhat.com)
|
||
- do not package Gemfile.lock (msuchy@redhat.com)
|
||
|
||
* Fri Aug 17 2012 Ivan Necas <inecas@redhat.com> 0.0.11-2
|
||
- fix building for F17 reusing the macros from rubygem- devel
|
||
|
||
* Wed Aug 15 2012 Pavel Pokorný <pajkycz@gmail.com> 0.0.11-1
|
||
- apipie-rails v0.0.11
|
||
- cli client improvements
|
||
|
||
* Tue Jul 31 2012 Pavel Pokorný <pajkycz@gmail.com> 0.0.9-2
|
||
- exclude documentation from rpm
|
||
|
||
* Tue Jul 31 2012 Pavel Pokorný <pajkycz@gmail.com> 0.0.9-1
|
||
- New version of apipie-rails gem (pajkycz@gmail.com)
|
||
- fixed client generator
|
||
- resource level error descriptions
|
||
- response supported formats
|
||
|
||
* Thu Jul 26 2012 Pavel Pokorný <pajkycz@gmail.com> 0.0.8-3
|
||
- Require rubygems in spec file
|
||
|
||
* Thu Jul 26 2012 Pavel Pokorný <pajkycz@gmail.com> 0.0.8-2
|
||
- New version of apipie-rails gem
|
||
- Generated client improvements
|
||
|
||
* Thu Jul 26 2012 Pavel Pokorný <pajkycz@gmail.com> 0.0.7-2
|
||
- removed doc files from rpm
|
||
|
||
* Wed Jul 25 2012 Pavel Pokorný <pajkycz@gmail.com> 0.0.7-1
|
||
- new package built with tito
|
||
|
rubygem-audited-activerecord/audited-activerecord-3.0.0-tests.tgz | ||
---|---|---|
../.git/annex/objects/2X/4p/SHA256E-s9215--3b04e462abe116e550abbc0c55b61479cf2509bbf0f257300c491be0ad299629.tgz/SHA256E-s9215--3b04e462abe116e550abbc0c55b61479cf2509bbf0f257300c491be0ad299629.tgz
|
rubygem-audited-activerecord/audited-activerecord-3.0.0.gem | ||
---|---|---|
../.git/annex/objects/f1/F9/SHA256E-s5632--45801205ba19f1741af57dc0c34dfb6248751dd4b5604eeea322b5d6b8423b41.0.gem/SHA256E-s5632--45801205ba19f1741af57dc0c34dfb6248751dd4b5604eeea322b5d6b8423b41.0.gem
|
rubygem-audited-activerecord/rubygem-audited-activerecord.spec | ||
---|---|---|
%{?scl:%scl_package rubygem-%{gem_name}}
|
||
%{!?scl:%global pkg_name %{name}}
|
||
|
||
# Generated from audited-activerecord-3.0.0.gem by gem2rpm -*- rpm-spec -*-
|
||
%global gem_name audited-activerecord
|
||
%global rubyabi 1.9.1
|
||
|
||
Summary: Log all changes to your ActiveRecord models
|
||
Name: %{?scl_prefix}rubygem-%{gem_name}
|
||
Version: 3.0.0
|
||
Release: 3%{?dist}
|
||
Group: Development/Languages
|
||
# The license information is missing in the .gem file ATM.
|
||
# https://github.com/collectiveidea/audited/pull/127
|
||
License: MIT
|
||
URL: https://github.com/collectiveidea/audited
|
||
Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
|
||
# Hopefully the tests will be included in the gem in the future.
|
||
# https://github.com/collectiveidea/audited/pull/125
|
||
#
|
||
# git clone https://github.com/collectiveidea/audited.git && cd audited && git checkout 224786f
|
||
# tar czvf audited-activerecord-3.0.0-tests.tgz spec/audited/adapters/active_record \
|
||
# spec/rails_app spec/support/active_record spec/*.rb test
|
||
Source1: %{gem_name}-%{version}-tests.tgz
|
||
Requires: %{?scl_prefix}ruby(abi) = %{rubyabi}
|
||
Requires: %{?scl_prefix}ruby(rubygems)
|
||
Requires: %{?scl_prefix}rubygem(audited) = 3.0.0
|
||
Requires: %{?scl_prefix}rubygem(activerecord) => 3.0
|
||
Requires: %{?scl_prefix}rubygem(activerecord) < 4
|
||
BuildRequires: %{?scl_prefix}ruby(abi) = %{rubyabi}
|
||
BuildRequires: %{?scl_prefix}rubygems-devel
|
||
BuildRequires: %{?scl_prefix}ruby
|
||
BuildRequires: %{?scl_prefix}rubygem(audited) = 3.0.0
|
||
BuildRequires: %{?scl_prefix}rubygem(minitest)
|
||
BuildRequires: %{?scl_prefix}rubygem(rails) => 3.0
|
||
BuildRequires: %{?scl_prefix}rubygem(rails) < 4
|
||
BuildRequires: %{?scl_prefix}rubygem(rspec-rails)
|
||
BuildRequires: %{?scl_prefix}rubygem(sqlite3)
|
||
BuildArch: noarch
|
||
Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
|
||
|
||
%description
|
||
Log all changes to your ActiveRecord models
|
||
|
||
|
||
%package doc
|
||
Summary: Documentation for %{pkg_name}
|
||
Group: Documentation
|
||
Requires: %{?scl_prefix}%{pkg_name} = %{version}-%{release}
|
||
BuildArch: noarch
|
||
|
||
%description doc
|
||
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 %{SOURCE0}
|
||
%{?scl:"}
|
||
|
||
%build
|
||
|
||
%install
|
||
mkdir -p %{buildroot}%{gem_dir}
|
||
cp -pa .%{gem_dir}/* \
|
||
%{buildroot}%{gem_dir}/
|
||
|
||
%check
|
||
tar xzvf %{SOURCE1} -C .%{gem_instdir}
|
||
pushd .%{gem_instdir}
|
||
%{?scl:scl enable %{scl} "}
|
||
rspec spec
|
||
%{?scl:"}
|
||
# This is ugly. It should be probably reported to upstream ;)
|
||
%{?scl:scl enable %{scl} - << \EOF}
|
||
RUBYOPT='-Ilib -rrails/all -raudited-activerecord' testrb test/*_test.rb
|
||
%{?scl:EOF}
|
||
popd
|
||
|
||
|
||
|
||
%files
|
||
%dir %{gem_instdir}
|
||
%{gem_libdir}
|
||
%exclude %{gem_cache}
|
||
%{gem_spec}
|
||
|
||
%files doc
|
||
%doc %{gem_docdir}
|
||
|
||
%changelog
|
||
* Tue Mar 12 2013 Miroslav Suchý <msuchy@redhat.com> 3.0.0-2
|
||
- new package built with tito
|
||
|
||
* Wed Nov 28 2012 Vít Ondruch <vondruch@redhat.com> - 3.0.0-1
|
||
- Initial package
|
rubygem-audited/audited-3.0.0.gem | ||
---|---|---|
../.git/annex/objects/7J/2K/SHA256E-s17920--14234a1349536d135fa6276ac65e4ee01f96bb04158d219739e6dd6cc33f3ca1.0.gem/SHA256E-s17920--14234a1349536d135fa6276ac65e4ee01f96bb04158d219739e6dd6cc33f3ca1.0.gem
|
rubygem-audited/rubygem-audited.spec | ||
---|---|---|
%{?scl:%scl_package rubygem-%{gem_name}}
|
||
%{!?scl:%global pkg_name %{name}}
|
||
|
||
# Generated from audited-3.0.0.gem by gem2rpm -*- rpm-spec -*-
|
||
%global gem_name audited
|
||
%global rubyabi 1.9.1
|
||
|
||
Summary: Log all changes to your models
|
||
Name: %{?scl_prefix}rubygem-%{gem_name}
|
||
Version: 3.0.0
|
||
Release: 3%{?dist}
|
||
Group: Development/Languages
|
||
License: MIT
|
||
URL: https://github.com/collectiveidea/audited
|
||
Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
|
||
Requires: %{?scl_prefix}ruby(abi) = %{rubyabi}
|
||
Requires: %{?scl_prefix}ruby(rubygems)
|
||
BuildRequires: %{?scl_prefix}ruby(abi) = %{rubyabi}
|
||
BuildRequires: %{?scl_prefix}rubygems-devel
|
||
BuildRequires: %{?scl_prefix}ruby
|
||
BuildArch: noarch
|
||
Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
|
||
|
||
%description
|
||
Log all changes to your models
|
||
|
||
|
||
%package doc
|
||
Summary: Documentation for %{pkg_name}
|
||
Group: Documentation
|
||
Requires: %{?scl_prefix}%{pkg_name} = %{version}-%{release}
|
||
BuildArch: noarch
|
||
|
||
%description doc
|
||
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 %{SOURCE0}
|
||
%{?scl:"}
|
||
|
||
%build
|
||
|
||
%install
|
||
mkdir -p %{buildroot}%{gem_dir}
|
||
cp -pa .%{gem_dir}/* \
|
||
%{buildroot}%{gem_dir}/
|
||
|
||
# Remove shebang from Rakefile that do not have executable permission.
|
||
sed -i '/^#!\//d' %{buildroot}%{gem_instdir}/Rakefile
|
||
|
||
|
||
%check
|
||
# Unfortunatelly, there doesn't seems to be any test coverage of auditable gem.
|
||
# However, there are available test suites for audited's ORM adapters.
|
||
|
||
|
||
%files
|
||
%dir %{gem_instdir}
|
||
%{gem_libdir}
|
||
%doc %{gem_instdir}/LICENSE
|
||
%exclude %{gem_instdir}/.*
|
||
# audited-*.gemspec seems to be included by mistake.
|
||
# https://github.com/collectiveidea/audited/pull/124
|
||
%exclude %{gem_instdir}/audited-*.gemspec
|
||
# Seems that spec and test folders are included just by mistake.
|
||
# https://github.com/collectiveidea/audited/pull/125
|
||
%exclude %{gem_instdir}/spec
|
||
%exclude %{gem_instdir}/test
|
||
%exclude %{gem_cache}
|
||
%{gem_spec}
|
||
|
||
%files doc
|
||
%doc %{gem_docdir}
|
||
%{gem_instdir}/Appraisals
|
||
%doc %{gem_instdir}/CHANGELOG
|
||
%{gem_instdir}/Gemfile
|
||
%doc %{gem_instdir}/README.md
|
||
%{gem_instdir}/Rakefile
|
||
%{gem_instdir}/audited.gemspec
|
||
%{gem_instdir}/gemfiles
|
||
|
||
%changelog
|
||
* Tue Mar 12 2013 Miroslav Suchý <msuchy@redhat.com> 3.0.0-2
|
||
- new package built with tito
|
||
|
||
* Tue Nov 27 2012 Vít Ondruch <vondruch@redhat.com> - 3.0.0-1
|
||
- Initial package
|
rubygem-autoparse/autoparse-0.3.3.gem | ||
---|---|---|
../.git/annex/objects/GK/qw/SHA256E-s26624--6651baaa01f8e5b898e702e38726cab3acbed1226ab9e4f3ab9309f6509bbce0.3.gem/SHA256E-s26624--6651baaa01f8e5b898e702e38726cab3acbed1226ab9e4f3ab9309f6509bbce0.3.gem
|
rubygem-autoparse/rubygem-autoparse.spec | ||
---|---|---|
%{?scl:%scl_package rubygem-%{gem_name}}
|
||
%{!?scl:%global pkg_name %{name}}
|
||
|
||
%global gem_name autoparse
|
||
%global rubyabi 1.9.1
|
||
|
||
Summary: An implementation of the JSON Schema specification
|
||
Name: %{?scl_prefix}rubygem-%{gem_name}
|
||
Version: 0.3.3
|
||
Release: 1%{?dist}
|
||
Group: Development/Languages
|
||
License: MIT
|
||
URL: http://autoparse.rubyforge.org/
|
||
Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
|
||
|
||
%if 0%{?fedora} > 18
|
||
Requires: %{?scl_prefix}ruby(release)
|
||
%else
|
||
Requires: %{?scl_prefix}ruby(abi) = %{rubyabi}
|
||
%endif
|
||
Requires: %{?scl_prefix}ruby(rubygems)
|
||
Requires: %{?scl_prefix}ruby
|
||
Requires: %{?scl_prefix}rubygem(addressable) >= 2.3.1
|
||
Requires: %{?scl_prefix}rubygem(extlib) >= 0.9.15
|
||
Requires: %{?scl_prefix}rubygem(multi_json) >= 1.0.0
|
||
|
||
%if 0%{?fedora} > 18
|
||
BuildRequires: %{?scl_prefix}ruby(release)
|
||
%else
|
||
BuildRequires: %{?scl_prefix}ruby(abi) = %{rubyabi}
|
||
%endif
|
||
BuildRequires: %{?scl_prefix}rubygems-devel
|
||
BuildRequires: %{?scl_prefix}ruby
|
||
BuildArch: noarch
|
||
Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
|
||
|
||
%description
|
||
An implementation of the JSON Schema specification. Provides automatic parsing
|
||
for any given JSON Schema.
|
||
|
||
%package doc
|
||
Summary: Documentation for %{pkg_name}
|
||
Group: Documentation
|
||
Requires: %{?scl_prefix}%{pkg_name} = %{version}-%{release}
|
||
BuildArch: noarch
|
||
|
||
%description doc
|
||
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 %{SOURCE0}
|
||
%{?scl:"}
|
||
|
||
%build
|
||
|
||
%install
|
||
mkdir -p %{buildroot}%{gem_dir}
|
||
cp -a .%{gem_dir}/* \
|
||
%{buildroot}%{gem_dir}/
|
||
|
||
%files
|
||
%dir %{gem_instdir}
|
||
%{gem_libdir}
|
||
%exclude %{gem_cache}
|
||
%{gem_spec}
|
||
%doc %{gem_instdir}/LICENSE
|
||
|
||
%exclude %{gem_instdir}/Gemfile
|
||
%exclude %{gem_instdir}/Rakefile
|
||
%exclude %{gem_instdir}/spec
|
||
%exclude %{gem_instdir}/tasks
|
||
|
||
%files doc
|
||
%doc %{gem_docdir}
|
||
%doc %{gem_instdir}/CHANGELOG.md
|
||
%doc %{gem_instdir}/LICENSE
|
||
%doc %{gem_instdir}/README.md
|
||
|
||
%changelog
|
||
* Sun Nov 10 2013 Dominic Cleal <dcleal@redhat.com> 0.3.3-1
|
||
- new package built with tito
|
||
|
rubygem-bootstrap-sass/bootstrap-sass-3.0.3.0.gem | ||
---|---|---|
../.git/annex/objects/P9/XZ/SHA256E-s169984--3f9269bae459b9f48bcb46524497fe7c422919708d12d9d9b1096b45339654c7.0.gem/SHA256E-s169984--3f9269bae459b9f48bcb46524497fe7c422919708d12d9d9b1096b45339654c7.0.gem
|
rubygem-bootstrap-sass/rubygem-bootstrap-sass.spec | ||
---|---|---|
%{?scl:%scl_package rubygem-%{gem_name}}
|
||
%{!?scl:%global pkg_name %{name}}
|
||
|
||
%global gem_name bootstrap-sass
|
||
%global rubyabi 1.9.1
|
||
|
||
Summary: Twitter's Bootstrap, converted to Sass and ready to drop into Rails or Compass
|
||
Name: %{?scl_prefix}rubygem-%{gem_name}
|
||
Version: 3.0.3.0
|
||
Release: 1%{?dist}
|
||
Group: Development/Languages
|
||
License: ASL 2.0
|
||
URL: https://github.com/twbs/bootstrap-sass
|
||
Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
|
||
|
||
%if 0%{?fedora} > 18
|
||
Requires: %{?scl_prefix}ruby(release)
|
||
%else
|
||
Requires: %{?scl_prefix}ruby(abi) = %{rubyabi}
|
||
%endif
|
||
Requires: %{?scl_prefix}ruby(rubygems)
|
||
Requires: %{?scl_prefix}ruby
|
||
Requires: %{?scl_prefix}rubygem(sass) >= 3.2
|
||
Requires: %{?scl_prefix}rubygem(sass) < 4
|
||
|
||
%if 0%{?fedora} > 18
|
||
BuildRequires: %{?scl_prefix}ruby(release)
|
||
%else
|
||
BuildRequires: %{?scl_prefix}ruby(abi) = %{rubyabi}
|
||
%endif
|
||
BuildRequires: %{?scl_prefix}rubygems-devel
|
||
BuildRequires: %{?scl_prefix}ruby
|
||
BuildArch: noarch
|
||
Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
|
||
|
||
%description
|
||
bootstrap-sass is a Sass-powered version of Bootstrap, ready to drop right into
|
||
your Sass powered applications.
|
||
|
||
%package doc
|
||
Summary: Documentation for %{pkg_name}
|
||
Group: Documentation
|
||
Requires: %{?scl_prefix}%{pkg_name} = %{version}-%{release}
|
||
BuildArch: noarch
|
||
|
||
%description doc
|
||
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 %{SOURCE0}
|
||
%{?scl:"}
|
||
|
||
%build
|
||
|
||
%install
|
||
mkdir -p %{buildroot}%{gem_dir}
|
||
cp -a .%{gem_dir}/* \
|
||
%{buildroot}%{gem_dir}/
|
||
|
||
%files
|
||
%dir %{gem_instdir}
|
||
%{gem_libdir}
|
||
%{gem_instdir}/tasks
|
||
%{gem_instdir}/templates
|
||
%{gem_instdir}/vendor
|
||
%exclude %{gem_cache}
|
||
%{gem_spec}
|
||
%doc %{gem_instdir}/LICENSE
|
||
|
||
%exclude %{gem_instdir}/Gemfile
|
||
%exclude %{gem_instdir}/test
|
||
%exclude %{gem_instdir}/*.gemspec
|
||
%exclude %{gem_instdir}/.*
|
||
|
||
%files doc
|
||
%doc %{gem_docdir}
|
||
%doc %{gem_instdir}/LICENSE
|
||
%doc %{gem_instdir}/*.md
|
||
%{gem_instdir}/Rakefile
|
||
|
||
%changelog
|
||
* Sun Dec 29 2013 Dominic Cleal <dcleal@redhat.com> 3.0.3.0-1
|
||
- new package built with tito
|
||
|
rubygem-commonjs/commonjs-0.2.6.gem | ||
---|---|---|
../.git/annex/objects/GK/9z/SHA256E-s7168--666591bc82e39b83674091856a1e89ce77a3be72cf376de5c44f186da21512f9.6.gem/SHA256E-s7168--666591bc82e39b83674091856a1e89ce77a3be72cf376de5c44f186da21512f9.6.gem
|
rubygem-commonjs/rubygem-commonjs.spec | ||
---|---|---|
%{?scl:%scl_package rubygem-%{gem_name}}
|
||
%{!?scl:%global pkg_name %{name}}
|
||
|
||
# Generated from commonjs-0.2.6.gem by gem2rpm -*- rpm-spec -*-
|
||
%global gem_name commonjs
|
||
%global rubyabi 1.9.1
|
||
|
||
Summary: Provide access to your Ruby and Operating System runtime via the commonjs API
|
||
Name: %{?scl_prefix}rubygem-%{gem_name}
|
||
Version: 0.2.6
|
||
Release: 6%{?dist}
|
||
Group: Development/Languages
|
||
License: GPLv2+ or Ruby
|
||
URL: http://github.com/cowboyd/commonjs.rb
|
||
Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
|
||
%if 0%{?fedora} > 18
|
||
Requires: %{?scl_prefix}ruby(release)
|
||
%else
|
||
Requires: %{?scl_prefix}ruby(abi) = %{rubyabi}
|
||
%endif
|
||
Requires: %{?scl_prefix}ruby(rubygems)
|
||
Requires: %{?scl_prefix}ruby
|
||
%if 0%{?fedora} > 18
|
||
BuildRequires: %{?scl_prefix}ruby(release)
|
||
%else
|
||
BuildRequires: %{?scl_prefix}ruby(abi) = %{rubyabi}
|
||
%endif
|
||
BuildRequires: %{?scl_prefix}rubygems-devel
|
||
BuildRequires: %{?scl_prefix}ruby
|
||
BuildArch: noarch
|
||
Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
|
||
|
||
%description
|
||
Host CommonJS JavaScript environments in Ruby
|
||
|
||
|
||
%package doc
|
||
Summary: Documentation for %{pkg_name}
|
||
Group: Documentation
|
||
Requires: %{?scl_prefix}%{pkg_name} = %{version}-%{release}
|
||
BuildArch: noarch
|
||
|
||
%description doc
|
||
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 %{SOURCE0}
|
||
%{?scl:"}
|
||
|
||
%build
|
||
|
||
%install
|
||
mkdir -p %{buildroot}%{gem_dir}
|
||
cp -a .%{gem_dir}/* \
|
||
%{buildroot}%{gem_dir}/
|
||
|
||
rm -rf %{buildroot}%{gem_instdir}/{.gitignore,.gitmodules}
|
||
|
||
|
||
|
||
%files
|
||
%dir %{gem_instdir}
|
||
%{gem_libdir}
|
||
%exclude %{gem_cache}
|
||
%{gem_spec}
|
||
%exclude %{gem_instdir}/%{gem_name}.gemspec
|
||
%doc %{gem_instdir}/README.md
|
||
|
||
%files doc
|
||
%doc %{gem_docdir}
|
||
%{gem_instdir}/.travis.yml
|
||
%{gem_instdir}/Gemfile
|
||
%{gem_instdir}/Rakefile
|
||
%{gem_instdir}/spec
|
||
|
||
%changelog
|
||
* Wed Jul 03 2013 Dominic Cleal <dcleal@redhat.com> 0.2.6-6
|
||
- change ruby(abi) to ruby(release) for F19+ (dcleal@redhat.com)
|
||
- delete all zero sized tito.props (msuchy@redhat.com)
|
||
- with recent tito you do not need SCL meta package (msuchy@redhat.com)
|
||
|
||
* Fri Mar 29 2013 Miroslav Suchý <msuchy@redhat.com> 0.2.6-4
|
||
- new package built with tito
|
||
|
||
* Fri Mar 29 2013 Miroslav Suchý <msuchy@redhat.com> 0.2.6-3
|
||
- fix files section (msuchy@redhat.com)
|
||
|
||
* Fri Mar 29 2013 Miroslav Suchý <msuchy@redhat.com> 0.2.6-2
|
||
- new package built with tito
|
||
|
||
* Fri Mar 29 2013 msuchy@redhat.com - 0.2.6-1
|
||
- Initial package
|
rubygem-daemons/daemons-1.1.4.gem | ||
---|---|---|
../.git/annex/objects/zw/Kp/SHA256E-s33792--e7a7e5bf035a6de2b7aed78845c8f2e5fdfd00b157620b250448e80048a6ca8e.4.gem/SHA256E-s33792--e7a7e5bf035a6de2b7aed78845c8f2e5fdfd00b157620b250448e80048a6ca8e.4.gem
|
Also available in: Unified diff
Import SCL dependencies