Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:aspiers
supportconfig-utils
supportconfig-utils.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File supportconfig-utils.spec of Package supportconfig-utils
# # spec file for package supportconfig-utils # # 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 # 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/ # %define version_unconverted 0.2.0+git.1550071091.03c5392 # Support older distributions # https://en.opensuse.org/openSUSE:Packaging_Conventions_RPM_Macros#.25_fillupdir %if ! %{defined _fillupdir} %define _fillupdir /var/adm/fillup-templates %endif Name: supportconfig-utils Version: 0.2.0+git.1550071091.03c5392 Release: 0 Summary: Utilities for examining supportconfig tarballs License: GPL-3.0 Group: Development/Tools/Debuggers Url: https://github.com/SUSE/supportconfig-utils.git Source0: supportconfig-utils-%{version}.tar.bz2 # suse_update_desktop_file macro requires /var/cache/gio-2.0: BuildRequires: libgio-2_0-0 # Required for desktop macros to work BuildRequires: update-desktop-files Requires: tar # Maybe even 2.1 is required, not sure Requires: tmux >= 2.0 Requires: tmux-lib # For xdg-terminal: Requires: xdg-utils Requires: unpack Requires(post): %fillup_prereq Recommends: lnav BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %description Utilities for examining supportconfig tarballs more easily, including: - unpack-supportconfig - extracts supportconfigs, including snapshots of any config file / log file etc. which is embedded inside a .txt file within the supportconfig - supportconfig-tmux - a wrapper around unpack-supportconfig which additionally creates a new tmux session with a window for viewing each of the log files which you most commonly look at - a desktop handler and associated MIME type configuration in order to automatically launch a new tmux session in a new terminal when a supportconfig is downloaded - extensions for SUSE products including SUSE OpenStack Cloud %prep %setup -q %build %install install -d %{buildroot}%{_bindir} install -D -m 755 bin/* plugins/*/bin/* %{buildroot}%{_bindir} %suse_update_desktop_file -i supportconfig-tmux install -d -m 755 %{buildroot}%{_datadir}/mime/packages install -D -m 644 share/mime/packages/* %{buildroot}%{_datadir}/mime/packages etc=%{buildroot}%{_sysconfdir}/%{name} doc=%{buildroot}%{_docdir}/%{name} install -d -m 755 $etc $doc cd plugins for plugin in *; do for file in $plugin/etc/*; do if [[ $file == *.sample ]]; then install -D -m 644 -t $doc/plugins/$plugin $file else install -D -m 644 -t $etc/plugins/$plugin $file fi done done cd .. install -d -m 755 %{buildroot}%{_fillupdir} install -m 644 etc/sysconfig.%{name} %{buildroot}%{_fillupdir} %post %desktop_database_post %mime_database_post %fillup_only %postun %desktop_database_postun %mime_database_postun %files %defattr(-,root,root) %{_sysconfdir}/%{name} %{_docdir}/%{name} %{_bindir}/* %{_datadir}/mime/packages/*.xml %{_datadir}/applications/*.desktop %{_fillupdir}/sysconfig.%{name} %doc README.md CONTRIBUTING.md %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