Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.2:Staging:N
checkmedia
checkmedia.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File checkmedia.spec of Package checkmedia
# # spec file for package checkmedia # # Copyright (c) 2020 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/ # Name: checkmedia Summary: Check SUSE installation media License: GPL-3.0-or-later Group: System/Management Version: 5.4 Release: 0 Url: https://github.com/openSUSE/checkmedia Source: %{name}-%{version}.tar.xz BuildRequires: gpg BuildRequires: xz BuildRoot: %{_tmppath}/%{name}-%{version}-build %description The program checks SUSE installation media for errors. %define libversion %(echo %version | cut -d. -f1) %package -n libmediacheck%{libversion} Summary: Library for checking SUSE installation media Group: System/Libraries Requires: gpg %description -n libmediacheck%{libversion} Library for checking SUSE installation media. Used by checkmedia and linuxrc. %package -n libmediacheck-devel Summary: Library for checking SUSE installation media Group: Development/Libraries/C and C++ Requires: libmediacheck%{libversion} = %version %description -n libmediacheck-devel Library for checking SUSE installation media. Used by checkmedia and linuxrc. %prep %setup %build make %{?_smp_mflags} %check make test %install install -d -m 755 %{buildroot}/usr/bin %make_install %post -n libmediacheck%{libversion} -p /sbin/ldconfig %postun -n libmediacheck%{libversion} -p /sbin/ldconfig %files %defattr(-,root,root) /usr/bin/checkmedia /usr/bin/tagmedia %files -n libmediacheck%{libversion} %defattr(-,root,root) %{_libdir}/*.so.* %doc README.md %doc mediacheck.md %if %suse_version >= 1500 %license COPYING %else %doc COPYING %endif %files -n libmediacheck-devel %defattr(-,root,root) %{_libdir}/*.so %{_includedir}/mediacheck.h %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