File crazydiskinfo.spec of Package crazydiskinfo
#
# spec file for package CrazyDiskInfo
#
# Copyright (c) 2019 Mistific@tor
#
%global dist_release 3
Name: crazydiskinfo
Version: 1.1.0
Release: %{dist_release}
License: MIT
Summary: An interactive TUI SMART viewer for Unix systems
Url: https://github.com/otakuto/crazydiskinfo
Group: Hardware/Other
Source0: %{name}_%{version}.orig.tar.xz
Source1: %{name}_%{version}-%{dist_release}.debian.tar.xz
BuildRequires: gcc-c++
BuildRequires: cmake
BuildRequires: ncurses-devel
BuildRequires: libatasmart-devel
ExclusiveArch: x86_64
%description
CrazyDiskInfo is an interactive TUI S.M.A.R.T viewer for Unix systems.
It offers the following features:
- An UI similar to CrystalDiskInfo.
- Health and temperature checking algorithms based on CrystalDiskInfo.
%global debug_package %{nil}
%prep
%setup -q -n %{name}-%{version} -a1
patch -p1 -i $(pwd)/debian/patches/0001-Drop-tinfow-link.patch
patch -p1 -i $(pwd)/debian/patches/0002-Drop-preset-CXXFLAGS-to-enable-hardening-by-buildsys.patch
%build
%cmake
make %{?_smp_mflags}
%make_jobs
%install
%cmake_install
%files
%defattr(-,root,root)
%license LICENSE
%{_sbindir}/crazy
%changelog
* Sun Aug 27 2023 Mistific@tor - 1.1.0-3
- Add 0001-Drop-tinfow-link.patch
- Add 002-Drop-preset-CXXFLAGS-to-enable-hardening-by-buildsys.patch
* Sat May 09 2020 Mistific@tor - 1.1.0-1
- Add support for toggle raw values between hexadecimal and decimal
- Add feature to hide a serial number
* Wed Sep 04 2019 Mistific@tor - 1.0.2-1
- Initial Packaging for Open Build Service.