gsmartcontrol/gsmartcontrol.spec

99 lines
2.8 KiB
RPMSpec
Raw Normal View History

2012-02-01 19:21:51 +04:00
Name: gsmartcontrol
Version: 0.8.7
Release: 1
2012-02-01 19:21:51 +04:00
License: GPLv2, GPLv3
Url: http://gsmartcontrol.berlios.de
Group: System/Kernel and hardware
Source0: http://download.berlios.de/%{name}/%{name}-%{version}.tar.bz2
source1: .abf.yml
2012-02-01 19:21:51 +04:00
Summary: GSmartControl - Hard Disk Health Inspection Tool
2012-08-02 20:46:37 +00:00
Requires: gtkmm2.4 >= 2.12.0
Requires: smartmontools
Requires: usermode-consoleonly
BuildRequires: pkgconfig(libpcre)
BuildRequires: pkgconfig(gtkmm-2.4) >= 2.12.0
2012-02-01 19:21:51 +04:00
%description
GSmartControl is a graphical user interface for smartctl, which is a tool for
querying and controlling SMART (Self-Monitoring, Analysis, and Reporting
Technology) data in 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.
%prep
%setup -q
sed -i -e "s/Exec=.*gsmartcontrol-root\"/Exec=gsmartcontrol/" data/gsmartcontrol.desktop.in
%build
%configure2_5x
%make
%install
%makeinstall_std
2012-08-02 20:46:37 +00:00
mkdir %{buildroot}%{_sbindir}
mv %{buildroot}%{_bindir}/%{name} %{buildroot}%{_sbindir}/%{name}
ln -s %{_bindir}/consolehelper %{buildroot}%{_bindir}/%{name}
2012-02-01 19:21:51 +04:00
%files
2012-08-02 20:46:37 +00:00
%doc %{_datadir}/doc/%{name}
2012-02-01 19:21:51 +04:00
%defattr(-,root,root)
%attr(0755,root,root) %{_bindir}/*
2012-08-02 20:46:37 +00:00
%attr(0755,root,root) %{_sbindir}/%{name}
%{_datadir}/%{name}
%{_datadir}/applications/%{name}.desktop
2012-02-01 19:21:51 +04:00
%{_datadir}/icons/*
%{_datadir}/pixmaps/*
2012-08-02 20:46:37 +00:00
%{_mandir}/man1/%{name}-root.1*
%{_mandir}/man1/%{name}.1*
2012-02-01 19:21:51 +04:00
%changelog
2012-08-02 20:46:37 +00:00
* Wed Nov 02 2011 Andrey Bondrov <abondrov@mandriva.org> 0.8.6-1mdv2011.0
+ Revision: 712293
- Add patch0 to fix build with glib 2.31
- New version 0.8.6
2012-02-01 19:21:51 +04:00
* Sun Dec 05 2010 Oden Eriksson <oeriksson@mandriva.com> 0.8.5-2mdv2011.0
+ Revision: 610986
- rebuild
* Wed Jan 20 2010 Colin Guthrie <cguthrie@mandriva.org> 0.8.5-1mdv2010.1
+ Revision: 493959
- New version: 0.8.5
- Drop an apparently unnneeded GCC 4.4 patch
* Sun Jul 26 2009 Frederik Himpe <fhimpe@mandriva.org> 0.8.4-2mdv2010.0
+ Revision: 400223
- Use consolehelper to launch gsmartcontrol as root when started from menu
* Thu May 14 2009 Frederik Himpe <fhimpe@mandriva.org> 0.8.4-1mdv2010.0
+ Revision: 375788
- Update to new version 0.8.4
- Remove unused source
- Fix source URL
* Sat Dec 27 2008 Funda Wang <fwang@mandriva.org> 0.8.3-1mdv2009.1
+ Revision: 319963
- drop BR
- New version 0.8.3
* Fri Nov 28 2008 Funda Wang <fwang@mandriva.org> 0.8.1-2mdv2009.1
+ Revision: 307457
- drop requries on libpcre, it was already generated by binary dependency
* Thu Nov 13 2008 Erwan Velu <erwan@mandriva.org> 0.8.1-1mdv2009.1
+ Revision: 302911
- Adding missing buildrequires
- Using new _root.sh script from the author
- import gsmartcontrol
* Mon Oct 06 2008 Alexander Shaduri <ashaduri 'at' gmail.com>
- Updated .spec file to support OpenSUSE < 10.3, Fedora and friends,
Mandriva (for OpenSUSE Build Service).
* Mon Sep 15 2008 Alexander Shaduri <ashaduri 'at' gmail.com>
- Initial .spec file.