Accepting request 438952 from home:adra:branches:KDE:Extra

Fix file list, Added Source URL

OBS-URL: https://build.opensuse.org/request/show/438952
OBS-URL: https://build.opensuse.org/package/show/KDE:Extra/diskmonitor?expand=0&rev=3
This commit is contained in:
Christophe Giboudeaux 2016-11-07 12:11:58 +00:00 committed by Git OBS Bridge
parent f46467590f
commit 75ffb755e1
2 changed files with 16 additions and 4 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sat Nov 5 18:19:37 UTC 2016 - asterios.dramis@gmail.com
- Fix file list (add appdata.xml file) for Leap 42.2 and
openSUSE > 13.2. Added Source URL.
-------------------------------------------------------------------
Thu Dec 31 15:52:37 UTC 2015 - joerg.lorenzen@ki.tng.de

View File

@ -1,7 +1,7 @@
#
# spec file for package diskmonitor
#
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -16,12 +16,14 @@
#
%define _appstreamkpackage 0%(cat %{_kf5_libdir}/cmake/KF5Package/KF5PackageMacros.cmake | grep -q 'appstream-metainfo' && echo 1)
Name: diskmonitor
Summary: KDE tools to monitor SMART devices and MDRaid health status
Version: 0.3.1
Release: 1
Release: 0
Url: https://github.com/papylhomme/diskmonitor
Source0: diskmonitor-%{version}.zip
Source0: https://github.com/papylhomme/diskmonitor/archive/%{version}.zip#/%{name}-%{version}.zip
Patch0: diskmonitor-underlinking.patch
Patch1: diskmonitor-desktop.patch
Patch2: diskmonitor-installdirs.patch
@ -68,7 +70,7 @@ Applet:
%lang_package
%prep
%setup -q -n diskmonitor-%{version}
%setup -q
%patch0
%patch1
%patch2
@ -93,6 +95,9 @@ Applet:
%{_kf5_qmldir}/org/papylhomme/diskmonitor/libdiskmonitor_qmlplugins.so
%{_kf5_qmldir}/org/papylhomme/diskmonitor/qmldir
%{_kf5_sharedir}/applications/diskmonitor.desktop
%if 0%{?_appstreamkpackage}
%{_kf5_appstreamdir}/org.papylhomme.diskmonitor.appdata.xml
%endif
%dir %{_kf5_configkcfgdir}
%{_kf5_configkcfgdir}/diskmonitor.kcfg
%{_kf5_iconsdir}/hicolor/scalable/apps/diskmonitor.svg
@ -102,5 +107,6 @@ Applet:
%doc CHANGELOG LICENSE README.md
%files lang -f diskmonitor.lang
%defattr(-,root,root)
%changelog