Projects
Eulaceura:Factory
rubygem-capng_c
_service:obs_scm:rubygem-capng_c.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:rubygem-capng_c.spec of Package rubygem-capng_c
%global _empty_manifest_terminate_build 0 %global gem_name capng_c Name: rubygem-capng_c Version: 0.2.2 Release: 1 Summary: libcap-ng bindings for Ruby. License: Apache-2.0 URL: https://github.com/fluent-plugins-nursery/capng_c Source0: https://rubygems.org/gems/capng_c-0.2.2.gem BuildRequires: ruby BuildRequires: ruby-devel libcap-ng-devel BuildRequires: rubygems BuildRequires: rubygems-devel BuildRequires: rsync BuildRequires: gcc BuildRequires: gdb Provides: rubygem-capng_c %description libcap-ng bindings for Ruby. %package help Summary: Development documents and examples for capng_c Provides: rubygem-capng_c-doc BuildArch: noarch %description help libcap-ng bindings for Ruby. %prep %autosetup -n %{gem_name}-%{version} gem spec %{SOURCE0} -l --ruby > capng_c.gemspec %build gem build capng_c.gemspec %gem_install %install mkdir -p %{buildroot}%{gem_dir} pushd .%{gem_dir}/gems/%{gem_name}-%{version} rm -rf .github .clang-format .gitignore popd cp -a .%{gem_dir}/* %{buildroot}%{gem_dir}/ rsync -a --exclude=".*" .%{gem_dir}/* %{buildroot}%{gem_dir}/ if [ -d .%{_bindir} ]; then mkdir -p %{buildroot}%{_bindir} cp -a .%{_bindir}/* %{buildroot}%{_bindir}/ fi if [ -d ext ]; then mkdir -p %{buildroot}%{gem_extdir_mri}/capng if [ -d .%{gem_extdir_mri}/capng ]; then cp -a .%{gem_extdir_mri}/capng/*.so %{buildroot}%{gem_extdir_mri}/capng else cp -a .%{gem_extdir_mri}/*.so %{buildroot}%{gem_extdir_mri}/%{gem_name} fi cp -a .%{gem_extdir_mri}/gem.build_complete %{buildroot}%{gem_extdir_mri}/ rm -rf %{buildroot}%{gem_instdir}/ext/ fi pushd %{buildroot} touch filelist.lst if [ -d %{buildroot}%{_bindir} ]; then find .%{_bindir} -type f -printf "/%h/%f\n" >> filelist.lst fi popd mv %{buildroot}/filelist.lst . %files -n rubygem-capng_c -f filelist.lst %dir %{gem_instdir} %{gem_instdir}/* %{gem_extdir_mri} %exclude %{gem_cache} %{gem_spec} %files help %{gem_docdir}/* %changelog * Wed Mar 29 2023 liyanan <liyanan32@h-partners.com> - 0.2.2-1 - Package init
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2