Blob Blame History Raw
Name:           xfce4-hardware-monitor-plugin
Version:        1.4.7
Release:        3%{?dist}
Summary:        Xfce4 panel plugin to monitor various hardware

License:        GPL+ and LGPLv2+
URL:            https://goodies.xfce.org/projects/panel-plugins/xfce4-hardware-monitor-plugin
Source0:        http://git.xfce.org/panel-plugins/%{name}/snapshot/%{name}-%{version}.tar.bz2

BuildRequires:  xfce4-dev-tools
BuildRequires:  xfce4-panel-devel
BuildRequires:  libxfce4ui-devel
BuildRequires:  gtkmm30-devel
BuildRequires:  libgnomecanvasmm26-devel
BuildRequires:  libglademm24-devel
BuildRequires:  libgtop2-devel
BuildRequires:  lm_sensors-devel
BuildRequires:  libtool

%description
A Xfce4 panel plugin that can display various system stats
(CPU, filesystem and network usage among others) in graphs, 
visualisations or with text

%prep
%setup -q

%build
# Build in C++11 mode as glibmm headers use C++11 features. This can be dropped
# when GCC in Fedora switches to C++11 by default (with GCC 6, most likely).
export CXXFLAGS="%{optflags} -std=c++11"

xdt-autogen
%configure
make %{?_smp_mflags}

%install
%make_install
rm -f %{buildroot}/%{_libdir}/xfce4/panel/plugins/libhardwaremonitor.la
%find_lang %{name}

%files -f %{name}.lang
%license COPYING
%doc AUTHORS ChangeLog NEWS README
%{_libdir}/xfce4/panel/plugins/*
%{_datadir}/xfce4/panel/plugins/*.desktop
%{_datadir}/pixmaps/*.png
%{_datadir}/xfce4-hardware-monitor-plugin

%changelog
* Sat Oct 17 2015 Kevin Fenzi <kevin@scrye.com> 1.4.7-3
- Build with c++11 due to gtkmm30 doing so.

* Sat Oct 10 2015 Kevin Fenzi <kevin@scrye.com> 1.4.7-2
- Updates from review: remove la files. 
- Updates from review: use http url for source.
- Updates from review: Update license. 
- Fixed directory ownership

* Sat Sep 12 2015 Kevin Fenzi <kevin@scrye.com> 1.4.7-1
- Initial version for review