Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
home:Marvin1973:pcs
rubygem-chef
gem2rpm.yml
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File gem2rpm.yml of Package rubygem-chef
# --- # ## 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: systemd %{systemd_requires} Requires(pre): pwdutils Requires: rubygem(chef) = %{version} # ## used by gem2rpm # :patches: # foo.patch: -p1 # bar.patch: # :post_patch: # if you need to fiddle with the source dir before rebuilding the gem # ## used by gem2rpm :sources: - chef.rb - chef-client.init - chef-client.service - chef-15.6.10.gem.sha256 # :gem_install_args: '....' # ## used by gem2rpm # :pre_install: |- # %if 0%{?use_system_libev} # export USE_VENDORED_LIBEV="no" # %endif # ## used by gem2rpm # :post_install: |- # # delete custom files here or do other fancy stuff # install -D -m 0644 %{S:1} %{buildroot}%{_bindir}/gem2rpm-opensuse :post_install: |- mkdir -p %{buildroot}/etc/chef mkdir -p %{buildroot}%{_sbindir} install -m 0640 %{S:1} %{buildroot}/etc/chef/client.rb mkdir -p %{buildroot}%{_unitdir} install -m 0640 %{S:3} %{buildroot}%{_unitdir} ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rcchef-client mkdir -p %{buildroot}%{_localstatedir}/log/chef mkdir -p %{buildroot}%{_localstatedir}/lib/chef mkdir -p %{buildroot}%{_localstatedir}/cache/chef mkdir -p %{buildroot}/run/chef rm -rf %{buildroot}%{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/distro find %{buildroot}%{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/spec -type f -exec chmod -x {} \; # ## used by gem2rpm # :testsuite_command: |- # (pushd %{buildroot}%{gem_base}/gems/%{mod_full_name} && rake test) # ## used by gem2rpm # :filelist: |- # /usr/bin/gem2rpm-opensuse :filelist: |- %defattr(-,root,root,-) %config(noreplace) %attr(0640, root, chef) /etc/chef/client.rb %dir %attr(0750, root, chef) %{_sysconfdir}/chef %dir %attr(0750, chef, chef) %{_localstatedir}/log/chef %dir %attr(0750, chef, chef) %{_localstatedir}/lib/chef %dir %attr(0750, chef, chef) %{_localstatedir}/cache/chef %ghost %attr(0750, chef, chef) /run/chef %{_unitdir}/chef-client.service %{_sbindir}/rcchef-client # ## used by gem2rpm # :scripts: # :post: |- # /bin/echo foo :scripts: :pre: |- getent group chef >/dev/null || groupadd -r chef getent passwd chef >/dev/null || useradd -r -g chef -d %{_localstatedir}/lib/chef -s /sbin/nologin -c "Opscode Chef Daemon" chef %service_add_pre chef-client.service exit 0 :post: |- %fillup_only %service_add_post chef-client.service :preun: |- if [ -f /etc/init.d/chef-client ]; then %stop_on_removal chef-client fi %service_del_preun chef-client.service :postun: |- %service_del_postun chef-client.service # ## used by gem_packages # :main: # :preamble: |- # Requires: util-linux # Recommends: pwgen # :filelist: |- # /usr/bin/gem2rpm-opensuse # ## used by gem_packages # :custom_pkgs: # 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 # :preamble: |- # %if 0%{?suse_version} && 0%{?suse_version} < 1330 # %define rb_build_versions ruby24 ruby25 # %define rb_default_ruby_abi ruby:2.4.0 ruby:2.5.0 # %endif
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