rubygem-taskjuggler by tomas

  1. --- /home/makerpm/rpmbuild/SPECS/rubygem-taskjuggler.spec 2012-09-06 06:35:35.000000000 +1000
  2. +++ rubygem-taskjuggler.spec 2012-10-16 01:21:18.043596990 +1000
  3. @@ -1,19 +1,17 @@
  4. # Generated from taskjuggler-3.3.0.gem by gem2rpm -*- rpm-spec -*-
  5. %global gem_name taskjuggler
  6. %global version 3.3.0
  7. -%global release 1
  8. +%global release 2
  9. %global rubyabi 1.9.1
  10. Summary: A Project Management Software
  11. Name: rubygem-%{gem_name}
  12. Version: %{version}
  13. -Release: %{release}
  14. -Group: Development/Ruby
  15. +Release: %{release}%{?dist}
  16. License: GPLv2
  17. URL: http://www.taskjuggler.org
  18. -Source0: %{gem_name}-%{version}.gem
  19. -
  20. +Source0: http://rubygems.org/downloads/%{gem_name}-%{version}.gem
  21. Requires: ruby(abi) = %{rubyabi}
  22. Requires: rubygems
  23. Requires: rubygem-mail >= 2.4.3
  24. @@ -21,10 +19,11 @@
  25. Requires: rubygem-rspec >= 2.5.0
  26. BuildRequires: rubygems-devel
  27. BuildRequires: ruby(abi) = %{rubyabi}
  28. +BuildRequires: rubygem-minitest
  29. BuildArch: noarch
  30. Provides: ruby(taskjuggler) = %{version}
  31. -%define gembuilddir %{buildroot}%{gem_dir}
  32. +%global gembuilddir %{buildroot}%{gem_dir}
  33. %description
  34. TaskJuggler is a modern and powerful, Free and Open Source Software project
  35. @@ -43,18 +42,16 @@
  36. %build
  37. %install
  38. -%{__rm} -rf %{buildroot}
  39. mkdir -p %{gembuilddir}
  40. gem install --local --install-dir %{gembuilddir} --force --no-rdoc %{SOURCE0}
  41. mkdir -p %{buildroot}/%{_bindir}
  42. mv %{gembuilddir}/bin/* %{buildroot}/%{_bindir}
  43. rmdir %{gembuilddir}/bin
  44. -%clean
  45. -%{__rm} -rf %{buildroot}
  46. +%check
  47. +testrb -Ilib %{buildroot}/%{gem_instdir}/test
  48. %files
  49. -%defattr(-, root, root)
  50. # bin files
  51. %{_bindir}/tj3
  52. %{_bindir}/tj3client
  53. @@ -83,6 +80,11 @@
  54. %changelog
  55. +* Tue Oct 16 2012 Tomas Dabasinskas <tomas@redhat.com> - 3.3.0-2
  56. +- Fixing issues raised during package review
  57. + * Source
  58. + * deprecated parts in the spec file
  59. +
  60. * Thu Sep 06 2012 Tomas Dabasinskas <tomas@redhat.com> - 3.3.0-1
  61. - Initial packaging effort