commit rubygem-taskjuggler for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-taskjuggler for openSUSE:Factory checked in at 2015-08-01 11:34:00 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/rubygem-taskjuggler (Old) and /work/SRC/openSUSE:Factory/.rubygem-taskjuggler.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "rubygem-taskjuggler" Changes: -------- --- /work/SRC/openSUSE:Factory/rubygem-taskjuggler/rubygem-taskjuggler.changes 2013-08-01 16:03:43.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.rubygem-taskjuggler.new/rubygem-taskjuggler.changes 2015-08-01 11:34:01.000000000 +0200 @@ -1,0 +2,5 @@ +Fri Jun 19 10:38:34 UTC 2015 - coolo@suse.com + +- use new packaging + +------------------------------------------------------------------- New: ---- gem2rpm.yml ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ rubygem-taskjuggler.spec ++++++ --- /var/tmp/diff_new_pack.BwOyma/_old 2015-08-01 11:34:02.000000000 +0200 +++ /var/tmp/diff_new_pack.BwOyma/_new 2015-08-01 11:34:02.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package rubygem-taskjuggler # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,23 +16,29 @@ # +# +# This file was generated with a gem2rpm.yml and not just plain gem2rpm. +# All sections marked as MANUAL, license headers, summaries and descriptions +# can be maintained in that file. Please consult this file before editing any +# of those fields +# + 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 +BuildRequires: %{ruby >= 1.8.7} +BuildRequires: %{rubygem gem2rpm} +BuildRequires: ruby-macros >= 5 +BuildRequires: update-alternatives Url: http://www.taskjuggler.org Source: http://rubygems.org/gems/%{mod_full_name}.gem +Source1: gem2rpm.yml 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 @@ -45,32 +51,15 @@ 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 +%gem_install \ + --symlink-binaries \ + --doc-files="CHANGELOG COPYING README.rdoc" \ + -f # MANUAL ## vim # don't turn on folding automatically @@ -80,123 +69,12 @@ 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 +# /MANUAL %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 +%gem_packages %changelog ++++++ gem2rpm.yml ++++++ # --- # ## used by gem2rpm # :summary: this is a custom summary # ## used by gem2rpm # :description: |- # this is a custom description # # it can be multiline # ## used by gem2rpm # :license: MIT or Ruby # ## used by gem2rpm and gem_packages # :version_suffix: -x_y # ## used by gem2rpm and gem_packages # :disable_docs: true # ## used by gem2rpm # :disable_automatic_rdoc_dep: true # ## used by gem2rpm # :preamble: |- # BuildRequires: foobar # Requires: foobar # ## used by gem2rpm # :patches: # foo.patch: -p1 # bar.patch: # ## used by gem2rpm # :sources: # - foo.desktop # - bar.desktop # :gem_install_args: '....' # ## used by gem2rpm # :pre_install: |- # %if 0%{?use_system_libev} # export USE_VENDORED_LIBEV="no" # %endif # ## used by gem2rpm :post_install: |- ## 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 # # delete custom files here or do other fancy stuff # install -D -m 0644 %{S:1} %{buildroot}%{_bindir}/gem2rpm-opensuse # ## used by gem2rpm # :testsuite_command: |- # (pushd %{buildroot}%{gem_base}/gems/%{mod_full_name} && rake test) # ## used by gem2rpm :filelist: |- %{_datadir}/vim # /usr/bin/gem2rpm-opensuse # ## used by gem2rpm # :scripts: # :post: |- # /bin/echo foo # ## used by gem_packages # :main: # :preamble: |- # Requires: util-linux # Recommends: pwgen # :filelist: |- # /usr/bin/gem2rpm-opensuse # ## used by gem_packages # :custom: # apache: # :preamble: |- # Requires: ..... # :filelist: |- # /etc/apache2/conf.d/passenger.conf # :summary: Custom summary is optional # :description: |- # Custom description is optional # # bar # :post: |- # /bin/echo foo #
participants (1)
-
root@hilbert.suse.de