# Generated from taskjuggler-3.3.0.gem by gem2rpm -*- rpm-spec -*- %global gem_name taskjuggler %global version 3.3.0 %global release 2 %global rubyabi 1.9.1 Summary: A Project Management Software Name: rubygem-%{gem_name} Version: %{version} Release: %{release}%{?dist} License: GPLv2 URL: http://www.taskjuggler.org Source0: http://rubygems.org/downloads/%{gem_name}-%{version}.gem Requires: ruby(abi) = %{rubyabi} Requires: rubygems Requires: rubygem-mail >= 2.4.3 Requires: rubygem-term-ansicolor >= 1.0.7 Requires: rubygem-rspec >= 2.5.0 BuildRequires: rubygems-devel BuildRequires: ruby(abi) = %{rubyabi} BuildRequires: rubygem-minitest BuildArch: noarch Provides: ruby(taskjuggler) = %{version} %global gembuilddir %{buildroot}%{gem_dir} %description TaskJuggler is a modern and powerful, Free and Open Source Software project management tool. Its new approach to project planing and tracking is more flexible and superior to the commonly used Gantt chart editing tools. TaskJuggler is project management software for serious project managers. It covers the complete spectrum of project management tasks from the first idea to the completion of the project. It assists you during project scoping, resource assignment, cost and revenue planing, risk and communication management. %prep %setup -T -c %build %install mkdir -p %{gembuilddir} gem install --local --install-dir %{gembuilddir} --force --no-rdoc %{SOURCE0} mkdir -p %{buildroot}/%{_bindir} mv %{gembuilddir}/bin/* %{buildroot}/%{_bindir} rmdir %{gembuilddir}/bin %check testrb -Ilib %{buildroot}/%{gem_instdir}/test %files # bin files %{_bindir}/tj3 %{_bindir}/tj3client %{_bindir}/tj3d %{_bindir}/tj3man %{_bindir}/tj3ss_receiver %{_bindir}/tj3ss_sender %{_bindir}/tj3ts_receiver %{_bindir}/tj3ts_sender %{_bindir}/tj3ts_summary %{_bindir}/tj3webd # application files %{gem_cache} %{gem_instdir} %exclude %{gem_instdir}/manual %exclude %{gem_instdir}/COPYING %exclude %{gem_instdir}/examples %exclude %{gem_instdir}/README.rdoc %{gem_spec} # Docs %doc %{gem_instdir}/manual %doc %{gem_instdir}/COPYING %doc %{gem_instdir}/examples %doc %{gem_instdir}/README.rdoc %doc %{gem_docdir} %changelog * Tue Oct 16 2012 Tomas Dabasinskas - 3.3.0-2 - Fixing issues raised during package review * Source * deprecated parts in the spec file * Thu Sep 06 2012 Tomas Dabasinskas - 3.3.0-1 - Initial packaging effort