Files
gsmartcontrol/gsmartcontrol.spec

99 lines
3.2 KiB
RPMSpec

Name: gsmartcontrol
Version: 2.0.1
Release: 1mamba
Summary: Hard disk drive health inspection tool
Group: Graphical Desktop/Applications/Utilities
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://gsmartcontrol.shaduri.dev/
Source: https://github.com/ashaduri/gsmartcontrol.git/v%{version}/gsmartcontrol-%{version}.tar.bz2
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libat-spi2-core-devel
BuildRequires: libatkmm1-devel
BuildRequires: libcairo-devel
BuildRequires: libcairomm10-devel
BuildRequires: libgcc
BuildRequires: libgdk-pixbuf-devel
BuildRequires: libglib-devel
BuildRequires: libglibmm24-devel
BuildRequires: libgtk3-devel
BuildRequires: libgtkmm3-devel
BuildRequires: libharfbuzz-devel
BuildRequires: libpango-devel
BuildRequires: libpangomm1-devel
BuildRequires: libsigc++2-devel
BuildRequires: libstdc++6-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END
%description
GSmartControl is a graphical user interface for smartctl (from smartmontools package), which is a tool for querying and controlling SMART (Self-Monitoring, Analysis, and Reporting Technology) data on modern hard disk drives. It allows you to inspect the drive's SMART data to determine its health, as well as run various tests on it.
%debug_package
%prep
%setup -q
%build
%cmake
%cmake_build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%cmake_install
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_sbindir}/gsmartcontrol
%{_bindir}/gsmartcontrol-root
%{_datadir}/applications/gsmartcontrol.desktop
%dir %{_datadir}/gsmartcontrol
%dir %{_datadir}/gsmartcontrol/icons
%{_datadir}/gsmartcontrol/icons/*.png
%dir %{_datadir}/gsmartcontrol/ui
%{_datadir}/gsmartcontrol/ui/*
%{_datadir}/metainfo/gsmartcontrol.appdata.xml
%{_datadir}/icons/hicolor/*/apps/gsmartcontrol.png
%{_datadir}/polkit-1/actions/org.gsmartcontrol.policy
%{_mandir}/man1/gsmartcontrol.1*
%{_mandir}/man1/gsmartcontrol-root.1*
%dir %{_docdir}/gsmartcontrol
%{_docdir}/gsmartcontrol/*
%doc LICENSE.txt LICENSE.LGPL3.txt
%changelog
* Thu Dec 19 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.1-1mamba
- update to 2.0.1
* Thu Feb 10 2022 Automatic Build System <autodist@mambasoft.it> 1.1.4-1mamba
- automatic version update by autodist
* Wed Dec 20 2017 Automatic Build System <autodist@mambasoft.it> 1.1.3-1mamba
- automatic version update by autodist
* Sat Sep 09 2017 Automatic Build System <autodist@mambasoft.it> 1.1.0-1mamba
- automatic version update by autodist
* Tue Sep 05 2017 Automatic Build System <autodist@mambasoft.it> 1.0.2-1mamba
- automatic version update by autodist
* Sat Jun 17 2017 Automatic Build System <autodist@mambasoft.it> 1.0.0-1mamba
- automatic version update by autodist
* Sun May 21 2017 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 0.9.0-1mamba
- update to 0.9.0
- fixed homepage and download urls
* Sun Sep 02 2012 Automatic Build System <autodist@mambasoft.it> 0.8.7-1mamba
- automatic version update by autodist
* Mon Oct 17 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 0.8.6-1mamba
- package created by autospec