Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:13.1:Update
rubygem-taskjuggler
rubygem-taskjuggler.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File rubygem-taskjuggler.spec of Package rubygem-taskjuggler
# # spec file for package rubygem-taskjuggler # # Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: rubygem-taskjuggler Version: 3.5.0 Release: 0 %define mod_name taskjuggler %define mod_full_name %{mod_name}-%{version} BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: ruby-macros >= 1 Requires: ruby >= 1.8.7 BuildRequires: ruby-devel >= 1.8.7 Url: http://www.taskjuggler.org Source: http://rubygems.org/gems/%{mod_full_name}.gem Summary: A Project Management Software License: GPL-2.0 Group: Development/Languages/Ruby %define mod_branch -%{version} %define mod_weight 3 PreReq: update-alternatives %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. %package doc Summary: RDoc documentation for %{mod_name} Group: Development/Languages/Ruby Requires: %{name} = %{version} %description doc Documentation generated at gem installation time. Usually in RDoc and RI formats. %package testsuite Summary: Test suite for %{mod_name} Group: Development/Languages/Ruby Requires: %{name} = %{version} %description testsuite Test::Unit or RSpec files, useful for developers. %prep #gem_unpack #if you need patches, apply them here and replace the # with a % sign in the surrounding lines #gem_build %build %install %gem_install -f # MANUAL ## vim # don't turn on folding automatically sed -i '/foldmethod/d' %{buildroot}%{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/data/tjp.vim install -d -m 0755 %{buildroot}%{_datadir}/vim/site/{syntax,ftdetect} ln -s %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/data/tjp.vim %{buildroot}%{_datadir}/vim/site/syntax cat > %{buildroot}%{_datadir}/vim/site/ftdetect/tjp_filetype.vim <<EOF au BufNewFile,BufRead *.tjp,*.tji set ft=tjp EOF mv %{buildroot}%{_bindir}/tj3{,%{mod_branch}} ln -s tj3%{mod_branch} %{buildroot}%{_bindir}/tj3 mv %{buildroot}%{_bindir}/tj3client{,%{mod_branch}} ln -s tj3client%{mod_branch} %{buildroot}%{_bindir}/tj3client mv %{buildroot}%{_bindir}/tj3d{,%{mod_branch}} ln -s tj3d%{mod_branch} %{buildroot}%{_bindir}/tj3d mv %{buildroot}%{_bindir}/tj3man{,%{mod_branch}} ln -s tj3man%{mod_branch} %{buildroot}%{_bindir}/tj3man mv %{buildroot}%{_bindir}/tj3ss_receiver{,%{mod_branch}} ln -s tj3ss_receiver%{mod_branch} %{buildroot}%{_bindir}/tj3ss_receiver mv %{buildroot}%{_bindir}/tj3ss_sender{,%{mod_branch}} ln -s tj3ss_sender%{mod_branch} %{buildroot}%{_bindir}/tj3ss_sender mv %{buildroot}%{_bindir}/tj3ts_receiver{,%{mod_branch}} ln -s tj3ts_receiver%{mod_branch} %{buildroot}%{_bindir}/tj3ts_receiver mv %{buildroot}%{_bindir}/tj3ts_sender{,%{mod_branch}} ln -s tj3ts_sender%{mod_branch} %{buildroot}%{_bindir}/tj3ts_sender mv %{buildroot}%{_bindir}/tj3ts_summary{,%{mod_branch}} ln -s tj3ts_summary%{mod_branch} %{buildroot}%{_bindir}/tj3ts_summary mv %{buildroot}%{_bindir}/tj3webd{,%{mod_branch}} ln -s tj3webd%{mod_branch} %{buildroot}%{_bindir}/tj3webd mkdir -p %{buildroot}%{_docdir}/%{name} ln -s %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/README.rdoc %buildroot/%{_docdir}/%{name}/README.rdoc ln -s %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/COPYING %buildroot/%{_docdir}/%{name}/COPYING %post /usr/sbin/update-alternatives --install \ %{_bindir}/tj3 tj3 %{_bindir}/tj3%{mod_branch} %{mod_weight} /usr/sbin/update-alternatives --install \ %{_bindir}/tj3client tj3client %{_bindir}/tj3client%{mod_branch} %{mod_weight} /usr/sbin/update-alternatives --install \ %{_bindir}/tj3d tj3d %{_bindir}/tj3d%{mod_branch} %{mod_weight} /usr/sbin/update-alternatives --install \ %{_bindir}/tj3man tj3man %{_bindir}/tj3man%{mod_branch} %{mod_weight} /usr/sbin/update-alternatives --install \ %{_bindir}/tj3ss_receiver tj3ss_receiver %{_bindir}/tj3ss_receiver%{mod_branch} %{mod_weight} /usr/sbin/update-alternatives --install \ %{_bindir}/tj3ss_sender tj3ss_sender %{_bindir}/tj3ss_sender%{mod_branch} %{mod_weight} /usr/sbin/update-alternatives --install \ %{_bindir}/tj3ts_receiver tj3ts_receiver %{_bindir}/tj3ts_receiver%{mod_branch} %{mod_weight} /usr/sbin/update-alternatives --install \ %{_bindir}/tj3ts_sender tj3ts_sender %{_bindir}/tj3ts_sender%{mod_branch} %{mod_weight} /usr/sbin/update-alternatives --install \ %{_bindir}/tj3ts_summary tj3ts_summary %{_bindir}/tj3ts_summary%{mod_branch} %{mod_weight} /usr/sbin/update-alternatives --install \ %{_bindir}/tj3webd tj3webd %{_bindir}/tj3webd%{mod_branch} %{mod_weight} %preun if [ "$1" = 0 ] ; then /usr/sbin/update-alternatives --remove tj3 %{_bindir}/tj3%{mod_branch} fi if [ "$1" = 0 ] ; then /usr/sbin/update-alternatives --remove tj3client %{_bindir}/tj3client%{mod_branch} fi if [ "$1" = 0 ] ; then /usr/sbin/update-alternatives --remove tj3d %{_bindir}/tj3d%{mod_branch} fi if [ "$1" = 0 ] ; then /usr/sbin/update-alternatives --remove tj3man %{_bindir}/tj3man%{mod_branch} fi if [ "$1" = 0 ] ; then /usr/sbin/update-alternatives --remove tj3ss_receiver %{_bindir}/tj3ss_receiver%{mod_branch} fi if [ "$1" = 0 ] ; then /usr/sbin/update-alternatives --remove tj3ss_sender %{_bindir}/tj3ss_sender%{mod_branch} fi if [ "$1" = 0 ] ; then /usr/sbin/update-alternatives --remove tj3ts_receiver %{_bindir}/tj3ts_receiver%{mod_branch} fi if [ "$1" = 0 ] ; then /usr/sbin/update-alternatives --remove tj3ts_sender %{_bindir}/tj3ts_sender%{mod_branch} fi if [ "$1" = 0 ] ; then /usr/sbin/update-alternatives --remove tj3ts_summary %{_bindir}/tj3ts_summary%{mod_branch} fi if [ "$1" = 0 ] ; then /usr/sbin/update-alternatives --remove tj3webd %{_bindir}/tj3webd%{mod_branch} fi %files %defattr(-,root,root,-) %{_docdir}/%{name} %{_bindir}/tj3%{mod_branch} %ghost %{_bindir}/tj3 %{_bindir}/tj3client%{mod_branch} %ghost %{_bindir}/tj3client %{_bindir}/tj3d%{mod_branch} %ghost %{_bindir}/tj3d %{_bindir}/tj3man%{mod_branch} %ghost %{_bindir}/tj3man %{_bindir}/tj3ss_receiver%{mod_branch} %ghost %{_bindir}/tj3ss_receiver %{_bindir}/tj3ss_sender%{mod_branch} %ghost %{_bindir}/tj3ss_sender %{_bindir}/tj3ts_receiver%{mod_branch} %ghost %{_bindir}/tj3ts_receiver %{_bindir}/tj3ts_sender%{mod_branch} %ghost %{_bindir}/tj3ts_sender %{_bindir}/tj3ts_summary%{mod_branch} %ghost %{_bindir}/tj3ts_summary %{_bindir}/tj3webd%{mod_branch} %ghost %{_bindir}/tj3webd %{_libdir}/ruby/gems/%{rb_ver}/cache/%{mod_full_name}.gem %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/ %exclude %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/spec %exclude %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/test %{_libdir}/ruby/gems/%{rb_ver}/specifications/%{mod_full_name}.gemspec # MANUAL vim %{_datadir}/vim %files doc %defattr(-,root,root,-) %doc %{_libdir}/ruby/gems/%{rb_ver}/doc/%{mod_full_name}/ %files testsuite %defattr(-,root,root,-) %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/spec %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/test %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor