92d5ef4
Name:       gsmartcontrol
7da34c1
Version:    1.1.3
ec2b408
Release:    6%{?dist}
92d5ef4
Summary:    Graphical user interface for smartctl
Eric Smith 7de8fa8
Eric Smith 7de8fa8
# Note that the "Whatever" license is effectively the MIT license.  See email
Eric Smith 7de8fa8
# from Tom Callaway to Fedora-legal-list on 18-APR-2011.
92d5ef4
License:    (GPLv2 or GPLv3) and BSD and zlib and Boost and MIT
Eric Smith 7de8fa8
3a70ad7
URL:        http://gsmartcontrol.sourceforge.net
09800c9
Source0:    https://downloads.sourceforge.net/project/%{name}/%{version}/%{name}-%{version}.tar.bz2
Eric Smith 476a8cd
c5439eb
BuildRequires:  gcc-c++
92d5ef4
BuildRequires:  autoconf
92d5ef4
BuildRequires:  automake
1e6231e
BuildRequires:  gtkmm30-devel
92d5ef4
BuildRequires:  pcre-devel
92d5ef4
BuildRequires:  desktop-file-utils
e859e2e
Requires:       smartmontools >= 5.43
6455a1e
Requires:       hicolor-icon-theme
Eric Smith 7de8fa8
Eric Smith 7de8fa8
%description
Eric Smith 7de8fa8
GSmartControl is a graphical user interface for smartctl (from
Eric Smith 7de8fa8
smartmontools package), which is a tool for querying and controlling
Eric Smith 7de8fa8
SMART (Self-Monitoring, Analysis, and Reporting Technology) data on
Eric Smith 7de8fa8
modern hard disk drives. It allows you to inspect the drive's SMART
Eric Smith 7de8fa8
data to determine its health, as well as run various tests on it.
Eric Smith 7de8fa8
Eric Smith 7de8fa8
%prep
5596c62
%autosetup -p1
92d5ef4
autoreconf -fiv
Eric Smith 7de8fa8
5596c62
Eric Smith 7de8fa8
%build
4ac5ec9
%configure --docdir=%{_pkgdocdir}
92d5ef4
%make_build
Eric Smith 7de8fa8
Eric Smith 7de8fa8
%install
92d5ef4
%make_install
6455a1e
#Correct shebang
6455a1e
sed -i 's|/usr/bin/env bash|/usr/bin/bash|' %{buildroot}%{_bindir}/%{name}-root
Eric Smith 7de8fa8
Eric Smith 7de8fa8
5cd158e
%check
5cd158e
desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop
Eric Smith 7de8fa8
Eric Smith 7de8fa8
%files
5596c62
%license COPYING
6455a1e
%{_bindir}/%{name}-root
Eric Smith 7de8fa8
%{_sbindir}/%{name}
Eric Smith 7de8fa8
%{_datadir}/applications/%{name}.desktop
Eric Smith 7de8fa8
%{_datadir}/%{name}
Eric Smith 7de8fa8
%{_datadir}/pixmaps/%{name}.png
Eric Smith 7de8fa8
%{_datadir}/pixmaps/%{name}.xpm
Eric Smith 7de8fa8
%{_datadir}/icons/hicolor/*x*/apps/%{name}.png
5596c62
%{_datadir}/polkit-1/actions/org.%{name}.policy
Eric Smith 7de8fa8
%{_mandir}/man1/%{name}.1.*
Eric Smith 7de8fa8
%{_mandir}/man1/%{name}-root.1.*
4ac5ec9
%{_pkgdocdir}
5cd158e
%{_datadir}/metainfo/gsmartcontrol.appdata.xml
Eric Smith 7de8fa8
Eric Smith 7de8fa8
%changelog
ec2b408
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.3-6
ec2b408
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
ec2b408
5f99ae0
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.3-5
5f99ae0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
5f99ae0
6718652
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.3-4
6718652
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
6718652
792bfff
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.3-3
792bfff
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
792bfff
6cc0201
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.3-2
6cc0201
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
6cc0201
7da34c1
* Thu Dec 07 2017 Vasiliy N. Glazov <vascom2@gmail.com> - 1.1.3-1
7da34c1
- Update to 1.1.3
7da34c1
e859e2e
* Tue Oct 10 2017 Vasiliy N. Glazov <vascom2@gmail.com> - 1.1.1-1
e859e2e
- Update to 1.1.1
e859e2e
6455a1e
* Thu Sep 21 2017 Vasiliy N. Glazov <vascom2@gmail.com> - 1.1.0-2
6455a1e
- Drop consolehelper
6455a1e
5596c62
* Tue Sep 12 2017 Vasiliy N. Glazov <vascom2@gmail.com> - 1.1.0-1
5596c62
- Update to 1.1.0
5596c62
- Drop pcrecpp patch
5596c62
- Cleanup spec
5596c62
20349ef
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-3
20349ef
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
20349ef
31ed6d1
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-2
31ed6d1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
31ed6d1
3a70ad7
* Fri Jul 21 2017 Vasiliy N. Glazov <vascom2@gmail.com> - 1.0.2-1
3a70ad7
- Update to 1.0.2
3a70ad7
5e3ccc1
* Mon Jun 19 2017 Vasiliy N. Glazov <vascom2@gmail.com> - 1.0.1-1
5e3ccc1
- Update to 1.0.1
5e3ccc1
1831b65
* Sat Jun 17 2017 Vasiliy N. Glazov <vascom2@gmail.com> - 1.0.0-1
1831b65
- Update to 1.0.0
1831b65
e0ba63e
* Mon May 15 2017 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.0-2
e0ba63e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_27_Mass_Rebuild
e0ba63e
09800c9
* Thu May 11 2017 Vasiliy N. Glazov <vascom2@gmail.com> - 0.9.0-1
09800c9
- Update to 0.9.0
09800c9
- Update source url
09800c9
a5f28da
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.7-11
a5f28da
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
a5f28da
92d5ef4
* Wed Sep 28 2016 Vasiliy N. Glazov <vascom2@gmail.com> - 0.8.7-10
92d5ef4
- Use system pcrecpp (#1119134)
92d5ef4
- Require usermode-gtk (#1368430)
92d5ef4
8a81e8b
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.7-9
8a81e8b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
8a81e8b
7e9d067
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.7-8
7e9d067
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
7e9d067
aa743b6
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 0.8.7-7
aa743b6
- Rebuilt for GCC 5 C++11 ABI change
aa743b6
3c8e2f2
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.7-6
3c8e2f2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
3c8e2f2
482bfc5
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.7-5
482bfc5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
482bfc5
4ac5ec9
* Wed Nov 13 2013 Ville Skyttä <ville.skytta@iki.fi> - 0.8.7-4
4ac5ec9
- Install docs to %%{_pkgdocdir} where available (#993808).
4ac5ec9
70312ad
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.7-3
70312ad
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
70312ad
bcb46fb
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.7-2
bcb46fb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
bcb46fb
Eric Smith e21853a
* Fri Oct 26 2012 Eric Smith <eric@brouhaha.com>  0.8.7-1
Eric Smith e21853a
- Update to latest upstream.
Eric Smith e21853a
- Dropped patches 1 and 2.
Eric Smith e21853a
4f01e0c
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.6-7
4f01e0c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
4f01e0c
fa96f36
* Fri Feb 10 2012 Petr Pisar <ppisar@redhat.com> - 0.8.6-6
fa96f36
- Rebuild against PCRE 8.30
fa96f36
Eric Smith 476a8cd
* Mon Jan 16 2012 Eric Smith <eric@brouhaha.com>  0.8.6-5
Eric Smith 476a8cd
- Patch to compile with GCC 4.7.
Eric Smith 476a8cd
35f192d
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.6-4
35f192d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
35f192d
Eric Smith 22b0a96
* Mon Dec 12 2011 Eric Smith <eric@brouhaha.com>  0.8.6-3
Eric Smith 22b0a96
- Patch to work around deprecated g_static_mutex.
Eric Smith 22b0a96
Eric Smith 7de8fa8
* Sat Dec 03 2011 Eric Smith <eric@brouhaha.com>  0.8.6-2
Eric Smith 7de8fa8
- Updated per package review comments.
Eric Smith 7de8fa8
Eric Smith 7de8fa8
* Sat Oct 08 2011 Eric Smith <eric@brouhaha.com>  0.8.6-1
Eric Smith 7de8fa8
- Updated to latest upstream release.
Eric Smith 7de8fa8
- Removed obsolte BuildRoot tag, clean section, defattr, etc.
Eric Smith 7de8fa8
- Added runtime requirements for smartmontools and hicolor-icon-theme,
Eric Smith 7de8fa8
  per the suggestions in the package review (bug 697247).
Eric Smith 7de8fa8
Eric Smith 7de8fa8
* Mon Apr 18 2011 Eric Smith <eric@brouhaha.com>  0.8.5-2
Eric Smith 7de8fa8
- Changed "Whatever" to "MIT" in license tag, based on Tom Callaway's
Eric Smith 7de8fa8
  post to Fedora-legal-list.
Eric Smith 7de8fa8
Eric Smith 7de8fa8
* Sun Apr 17 2011 Eric Smith <eric@brouhaha.com>  0.8.5-1
Eric Smith 7de8fa8
- Initial version