Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:schaats
opi
opi.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File opi.spec of Package opi
# # spec file for package opi # # Copyright (c) 2024 SUSE LLC # # 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 https://bugs.opensuse.org/ # Name: opi Version: 5.4.0 Release: 0 Summary: OBS Package Installer (CLI) License: GPL-3.0-only Group: System/Packages URL: https://github.com/openSUSE/%{name} Source0: https://github.com/openSUSE/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz BuildArch: noarch BuildRequires: help2man BuildRequires: python3 BuildRequires: python3-curses BuildRequires: python3-lxml BuildRequires: python3-requests BuildRequires: python3-rpm BuildRequires: python3-setuptools BuildRequires: python3-termcolor Requires: sudo Requires: zypper # rpm --import used curl but doesn't require it explicitly Requires: curl Requires: python3-curses Requires: python3-lxml Requires: python3-requests Requires: python3-rpm Requires: python3-termcolor Requires: zypper # for rpm building and snap extracting Requires: rpm-build Requires: squashfs %description OBS Package Installer (CLI) %prep %setup -q %build help2man -s8 -N ./bin/opi > opi.8 %install python3 setup.py install --prefix=%{_prefix} --root=%{buildroot} install -m 644 -D -v org.openSUSE.opi.appdata.xml %{buildroot}%{_datadir}/metainfo/org.openSUSE.opi.appdata.xml install -m 644 -D -v opi.8 %{buildroot}%{_datadir}/man/man8/opi.8 install -m 644 -D -v opi.default.cfg %{buildroot}%{_sysconfdir}/opi.cfg %python3_fix_shebang %check python3 setup.py --version | grep %{version} %files %license LICENSE %doc README.md %{_bindir}/%{name} %{_datadir}/metainfo/org.openSUSE.opi.appdata.xml %{_datadir}/man/man8/opi.8%{?ext_man} %{python3_sitelib}/* %config %{_sysconfdir}/opi.cfg %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