Compare commits

..

No commits in common. "rawhide" and "f41" have entirely different histories.

3 changed files with 15 additions and 13 deletions

2
.gitignore vendored
View file

@ -15,5 +15,3 @@ xfce4-cpugraph-plugin-0.4.0.tar.gz
/xfce4-cpugraph-plugin-1.2.7.tar.bz2
/xfce4-cpugraph-plugin-1.2.8.tar.bz2
/xfce4-cpugraph-plugin-1.2.10.tar.bz2
/xfce4-cpugraph-plugin-1.2.11.tar.bz2
/xfce4-cpugraph-plugin-1.3.0.tar.xz

View file

@ -1 +1 @@
SHA512 (xfce4-cpugraph-plugin-1.3.0.tar.xz) = aefb0f94b7a4a480ca5769bd09aed29404316562a70abcb243c538de8637062de2eb6defe424d1f2cd2555a49d5aae4393b623b4d65dca84f87b420d38da4443
SHA512 (xfce4-cpugraph-plugin-1.2.10.tar.bz2) = 414c2a5da9576d2ed1f5478a07ff5c51c45eaa0a8432a31b6fb2408b81f5ab4485e3b10486af26cf33a18d23e2dc3afe21bf88630e4db91adcfa3e0f80468cf3

View file

@ -1,11 +1,11 @@
# Review: https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=173658
%global _hardened_build 1
%global minorversion 1.3
%global minorversion 1.2
%global xfceversion 4.18
Name: xfce4-cpugraph-plugin
Version: 1.3.0
Version: 1.2.10
Release: %autorelease
Summary: CPU monitor for the Xfce panel
@ -13,13 +13,14 @@ Summary: CPU monitor for the Xfce panel
License: GPL-2.0-or-later
URL: http://goodies.xfce.org/projects/panel-plugins/%{name}
#VCS: git:git://git.xfce.org/panel-plugins/xfce4-cpugraph-plugin
Source0: http://archive.xfce.org/src/panel-plugins/%{name}/%{minorversion}/%{name}-%{version}.tar.xz
Source0: http://archive.xfce.org/src/panel-plugins/%{name}/%{minorversion}/%{name}-%{version}.tar.bz2
BuildRequires: make
BuildRequires: make
BuildRequires: gcc-c++
BuildRequires: libxfce4ui-devel
BuildRequires: xfce4-panel-devel
BuildRequires: meson
BuildRequires: intltool
BuildRequires: gettext
Requires: xfce4-panel >= %{xfceversion}
%description
@ -33,24 +34,27 @@ colors and the size of the plugin are customizable.
%build
%meson
%meson_build
%configure
%make_build
%install
%meson_install
%make_install
# remove la file
find %{buildroot} -name '*.la' -exec rm -f {} ';'
# make sure debuginfo is generated properly
chmod -c +x %{buildroot}%{_libdir}/xfce4/panel/plugins/*.so
%find_lang %{name}
%check
%meson_test
make check
%files -f %{name}.lang
%doc AUTHORS NEWS
%doc AUTHORS ChangeLog NEWS
%license COPYING
%{_libdir}/xfce4/panel/plugins/*.so
%{_datadir}/xfce4/panel/plugins/*.desktop