Josef Stribny c6b2cf6
# Generated from acts_as_list-0.4.0.gem by gem2rpm -*- rpm-spec -*-
Josef Stribny c6b2cf6
%global gem_name acts_as_list
Josef Stribny c6b2cf6
Josef Stribny c6b2cf6
Name: rubygem-%{gem_name}
4eb8c4e
Version: 1.0.4
e50f655
Release: 8%{?dist}
4eb8c4e
Summary: A gem allowing active_record model to act as a list
Josef Stribny c6b2cf6
License: MIT
f779393
URL: http://github.com/brendon/acts_as_list
Josef Stribny c6b2cf6
Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
26e6dea
BuildRequires: ruby(release)
7789c6e
BuildRequires: rubygems-devel
26e6dea
BuildRequires: ruby >= 1.9.2
Josef Stribny c6b2cf6
BuildRequires: rubygem(activerecord)
7789c6e
BuildRequires: rubygem(mocha)
Josef Stribny c6b2cf6
BuildRequires: rubygem(sqlite3)
7789c6e
BuildRequires: rubygem(timecop)
Josef Stribny c6b2cf6
BuildArch: noarch
Josef Stribny c6b2cf6
Josef Stribny c6b2cf6
%description
Josef Stribny c6b2cf6
This "acts_as" extension provides the capabilities for sorting and reordering
Josef Stribny c6b2cf6
a number of objects in a list. The class that has this specified needs to have
Josef Stribny c6b2cf6
a "position" column defined as an integer on the mapped database table.
Josef Stribny c6b2cf6
Josef Stribny c6b2cf6
Josef Stribny c6b2cf6
%package doc
Josef Stribny c6b2cf6
Summary: Documentation for %{name}
Josef Stribny c6b2cf6
Requires: %{name} = %{version}-%{release}
Josef Stribny c6b2cf6
BuildArch: noarch
Josef Stribny c6b2cf6
Josef Stribny c6b2cf6
%description doc
Josef Stribny c6b2cf6
Documentation for %{name}.
Josef Stribny c6b2cf6
Josef Stribny c6b2cf6
%prep
b05382b
%setup -q -n %{gem_name}-%{version}
Josef Stribny c6b2cf6
Josef Stribny c6b2cf6
%build
b05382b
gem build ../%{gem_name}-%{version}.gemspec
Josef Stribny c6b2cf6
%gem_install
Josef Stribny c6b2cf6
Josef Stribny c6b2cf6
%install
Josef Stribny c6b2cf6
mkdir -p %{buildroot}%{gem_dir}
Josef Stribny c6b2cf6
cp -a .%{gem_dir}/* \
Josef Stribny c6b2cf6
        %{buildroot}%{gem_dir}/
Josef Stribny c6b2cf6
Josef Stribny c6b2cf6
Josef Stribny c6b2cf6
# Run the test suite
Josef Stribny c6b2cf6
%check
Josef Stribny c6b2cf6
pushd .%{gem_instdir}
Josef Stribny c6b2cf6
# Remove Bundler
7789c6e
sed -i '/bundler/,/^end$/ s/^/#/' test/helper.rb
7789c6e
7789c6e
ruby -Itest -e 'Dir.glob "./test/**/test_*.rb", &method(:require)'
Josef Stribny c6b2cf6
popd
Josef Stribny c6b2cf6
Josef Stribny c6b2cf6
%files
Josef Stribny c6b2cf6
%dir %{gem_instdir}
7789c6e
%exclude %{gem_instdir}/.*
7789c6e
%license %{gem_instdir}/MIT-LICENSE
Josef Stribny c6b2cf6
%{gem_libdir}
Josef Stribny c6b2cf6
%exclude %{gem_cache}
Josef Stribny c6b2cf6
%{gem_spec}
Josef Stribny c6b2cf6
Josef Stribny c6b2cf6
%files doc
Josef Stribny c6b2cf6
%doc %{gem_docdir}
26e6dea
%{gem_instdir}/Appraisals
7789c6e
%doc %{gem_instdir}/CHANGELOG.md
Josef Stribny c6b2cf6
%{gem_instdir}/Gemfile
Josef Stribny c6b2cf6
%doc %{gem_instdir}/README.md
7789c6e
%{gem_instdir}/Rakefile
Josef Stribny c6b2cf6
%{gem_instdir}/test
Josef Stribny c6b2cf6
%{gem_instdir}/init.rb
Josef Stribny c6b2cf6
%{gem_instdir}/gemfiles
Josef Stribny c6b2cf6
%{gem_instdir}/%{gem_name}.gemspec
Josef Stribny c6b2cf6
Josef Stribny c6b2cf6
%changelog
e50f655
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.4-8
e50f655
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
e50f655
ef38542
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.4-7
ef38542
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
ef38542
9f64cf9
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.4-6
9f64cf9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
9f64cf9
564b946
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.4-5
564b946
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
564b946
8f17a0b
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.4-4
8f17a0b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
8f17a0b
3b3a896
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.4-3
3b3a896
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
3b3a896
e2e0748
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.4-2
e2e0748
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
e2e0748
4eb8c4e
* Mon Apr 19 2021 Pavel Valena <pvalena@redhat.com> - 1.0.4-1
4eb8c4e
- Update to acts_as_list 1.0.4.
4eb8c4e
  Resolves: rhbz#1951328
4eb8c4e
843700a
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.3-2
843700a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
843700a
Pavel Valena b6d85ec
* Thu Dec 31 2020 Pavel Valena <pavel.valena@email.com> - 1.0.3-1
Pavel Valena b6d85ec
- Update to acts_as_list 1.0.3.
Pavel Valena b6d85ec
  Resolves: rhbz#1910499
Pavel Valena b6d85ec
1c65124
* Fri Oct 30 03:09:33 CET 2020 Pavel Valena <pvalena@redhat.com> - 1.0.2-1
1c65124
- Update to acts_as_list 1.0.2.
1c65124
  Resolves: rhbz#1686627
1c65124
f779393
* Sat Aug 22 01:21:40 GMT 2020 Pavel Valena <pvalena@redhat.com> - 1.0.1-1
f779393
- Update to acts_as_list 1.0.1.
f779393
  Resolves: rhbz#1686627
f779393
4e29605
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.16-5
4e29605
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
4e29605
0628331
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.16-4
0628331
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
0628331
939a0f6
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.16-3
939a0f6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
939a0f6
d03cc77
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.16-2
d03cc77
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
d03cc77
b05382b
* Thu Aug 30 2018 Pavel Valena <pvalena@redhat.com> - 0.9.16-1
b05382b
- Update to acts_as_list 0.9.16.
b05382b
2c2d7a7
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.5-4
2c2d7a7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
2c2d7a7
6ef0191
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.5-3
6ef0191
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
6ef0191
aabeaa2
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.5-2
aabeaa2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
aabeaa2
7789c6e
* Tue Apr 04 2017 Vít Ondruch <vondruch@redhat.com> - 0.9.5-1
7789c6e
- Update to acts_as_list 0.9.5.
7789c6e
c44acb8
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.2-2
c44acb8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
c44acb8
26e6dea
* Wed Mar 23 2016 Jun Aruga <jaruga@redhat.com> - 0.7.2-1
26e6dea
- Update version to 0.7.2 to test suite for Ruby 2.3 compatibility. (rhbz#1308001)
26e6dea
85727d1
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.0-3
85727d1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
85727d1
662370e
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.0-2
662370e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
662370e
Josef Stribny c6b2cf6
* Thu Sep 18 2014 Josef Stribny <jstribny@redhat.com> - 0.4.0-1
Josef Stribny c6b2cf6
- Initial package