- Run spec-cleaner:

+ Add pkgconfig BuildRequires.
  + Use %make_install instead of %makeinstall.
  + Add %defattr(-,root,root) to the -lang package.
- Use %_smp_mflags for parallel build and limit fdupes to not work
  across common partitions. Replace old-age $RPM_* by %-macros.

OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gnome-system-monitor?expand=0&rev=158
This commit is contained in:
Dominique Leuenberger 2017-03-17 12:48:59 +00:00 committed by Git OBS Bridge
parent da3280624f
commit af6a6e8ad1
2 changed files with 16 additions and 5 deletions

View File

@ -1,8 +1,16 @@
-------------------------------------------------------------------
Fri Mar 17 12:47:40 UTC 2017 - dimstar@opensuse.org
- Run spec-cleaner:
+ Add pkgconfig BuildRequires.
+ Use %make_install instead of %makeinstall.
+ Add %defattr(-,root,root) to the -lang package.
-------------------------------------------------------------------
Fri Mar 17 12:34:52 UTC 2017 - jengelh@inai.de
- Use %_smp_mflags for parallel build and limit fdupes to not
work across common partitions. Replace old-age $RPM_* by %-macros.
- Use %_smp_mflags for parallel build and limit fdupes to not work
across common partitions. Replace old-age $RPM_* by %-macros.
-------------------------------------------------------------------
Tue Mar 14 18:57:08 UTC 2017 - mgorse@suse.com

View File

@ -19,16 +19,17 @@
Name: gnome-system-monitor
Version: 3.23.92
Release: 0
Url: http://www.gnome.org
Summary: A Simple Process Monitor
License: GPL-2.0+
Group: System/GUI/GNOME
Url: http://www.gnome.org
Source0: http://download.gnome.org/sources/gnome-system-monitor/3.23/%{name}-%{version}.tar.xz
# PATCH-FEATURE-UPSTREAM gsm-bsc1020294-add-resources-scrollbar.patch bsc#1020294 bgo#778697 mgorse@suse.com -- add a scrollbar to the resources tab.
Patch0: gsm-bsc1020294-add-resources-scrollbar.patch
BuildRequires: fdupes
BuildRequires: gcc-c++
BuildRequires: intltool
BuildRequires: pkgconfig
BuildRequires: translation-update-upstream
BuildRequires: update-desktop-files
BuildRequires: yelp-tools
@ -53,6 +54,7 @@ GNOME-system-monitor is a simple process and system monitor for the
GNOME Desktop.
%lang_package
%prep
%setup -q
%patch0 -p1
@ -64,12 +66,12 @@ translation-update-upstream
make %{?_smp_mflags} V=1
%install
%makeinstall
%make_install
echo DocPath=gnome-system-monitor >> %{buildroot}/%{_datadir}/applications/gnome-system-monitor.desktop
%suse_update_desktop_file %{name}
%suse_update_desktop_file %{name}-kde
%find_lang %{name} %{?no_lang_C}
%fdupes %buildroot/%_prefix
%fdupes %{buildroot}/%{_prefix}
%post
%desktop_database_post
@ -98,5 +100,6 @@ echo DocPath=gnome-system-monitor >> %{buildroot}/%{_datadir}/applications/gnome
%{_libexecdir}/%{name}/gsm-renice
%files lang -f %{name}.lang
%defattr(-,root,root)
%changelog