From 87b15840495c770aaa1ca86b99420cc5d4981133b828d49e069e0ed98f9baa1b Mon Sep 17 00:00:00 2001 From: Fabian Vogt Date: Thu, 15 Sep 2016 09:15:01 +0000 Subject: [PATCH] osc copypac from project:KDE:Unstable:Frameworks package:libksysguard5 revision:82 OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5:LTS/libksysguard5?expand=0&rev=1 --- _service | 12 ++ ...d-5.7.90git~20160716T171055~c2fba0b.tar.xz | 3 + _service:set_version:libksysguard5.spec | 137 ++++++++++++++++++ libksysguard-5.7.4.tar.xz | 3 - libksysguard5-rpmlintrc | 2 + libksysguard5.changes | 79 ---------- libksysguard5.spec | 12 +- 7 files changed, 160 insertions(+), 88 deletions(-) create mode 100644 _service create mode 100644 _service:recompress:tar_scm:libksysguard-5.7.90git~20160716T171055~c2fba0b.tar.xz create mode 100644 _service:set_version:libksysguard5.spec delete mode 100644 libksysguard-5.7.4.tar.xz create mode 100644 libksysguard5-rpmlintrc diff --git a/_service b/_service new file mode 100644 index 0000000..f393dc8 --- /dev/null +++ b/_service @@ -0,0 +1,12 @@ + + + git://anongit.kde.org/libksysguard.git + git + 5.7.90git~%ci~%h + + + *.tar + xz + + + \ No newline at end of file diff --git a/_service:recompress:tar_scm:libksysguard-5.7.90git~20160716T171055~c2fba0b.tar.xz b/_service:recompress:tar_scm:libksysguard-5.7.90git~20160716T171055~c2fba0b.tar.xz new file mode 100644 index 0000000..c4feb7a --- /dev/null +++ b/_service:recompress:tar_scm:libksysguard-5.7.90git~20160716T171055~c2fba0b.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4b463859d2dc0c31369d95d8b66ddbcb243804bd67e184c26a03eb229d91e2b0 +size 136052 diff --git a/_service:set_version:libksysguard5.spec b/_service:set_version:libksysguard5.spec new file mode 100644 index 0000000..ec1341c --- /dev/null +++ b/_service:set_version:libksysguard5.spec @@ -0,0 +1,137 @@ +# +# spec file for package libksysguard5 +# +# 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 +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + + +%bcond_without lang +Name: libksysguard5 +Version: 5.7.90git~20160716T171055~c2fba0b +Release: 0 +Summary: Task management and system monitoring library +License: GPL-2.0+ +Group: Development/Libraries/C and C++ +Url: http://www.kde.org +Source: libksysguard-%{version}.tar.xz +Source1: baselibs.conf +Source99: %{name}-rpmlintrc +BuildRequires: extra-cmake-modules >= 1.2.0 +BuildRequires: kf5-filesystem +BuildRequires: xz +BuildRequires: cmake(KF5Auth) +BuildRequires: cmake(KF5Completion) +BuildRequires: cmake(KF5Config) +BuildRequires: cmake(KF5ConfigWidgets) +BuildRequires: cmake(KF5CoreAddons) +BuildRequires: cmake(KF5I18n) +BuildRequires: cmake(KF5IconThemes) +BuildRequires: cmake(KF5Plasma) +BuildRequires: cmake(KF5Service) +BuildRequires: cmake(KF5WidgetsAddons) +BuildRequires: cmake(KF5WindowSystem) +BuildRequires: cmake(Qt5DBus) >= 5.4.0 +BuildRequires: cmake(Qt5Network) >= 5.4.0 +BuildRequires: cmake(Qt5Script) >= 5.4.0 +BuildRequires: cmake(Qt5WebKitWidgets) >= 5.4.0 +BuildRequires: cmake(Qt5Widgets) >= 5.4.0 +BuildRequires: cmake(Qt5X11Extras) >= 5.4.0 +BuildRequires: pkgconfig(x11) +BuildRequires: pkgconfig(xres) +BuildRequires: pkgconfig(zlib) +%if %{with lang} +Recommends: %{name}-lang +%endif +#BuildRequires: update-desktop-files +BuildRoot: %{_tmppath}/%{name}-%{version}-build + +%description +Task management and system monitoring library. + +%package devel +Summary: Task management and system monitoring library -- devel files +Group: Development/Libraries/C and C++ +Requires: %{name} = %{version} +Requires: cmake(KF5Config) +Requires: cmake(KF5I18n) +Requires: cmake(KF5IconThemes) +Requires: cmake(Qt5Core) >= 5.4.0 +Requires: cmake(Qt5Network) >= 5.4.0 +Requires: cmake(Qt5Widgets) >= 5.4.0 +Conflicts: kdebase4-workspace-devel + +%description devel +Task management and system monitoring library. This package contains development +files. + +%package helper +Summary: Task management and system monitoring library -- helper files +Group: Development/Libraries/C and C++ +Conflicts: kdebase4-workspace < 5.3.0 + +%description helper +Task management and system monitoring library. This package contains helper files +for actions that require elevated privileges. + +%lang_package +%prep +%setup -q -n libksysguard-%{version} + +%build + %cmake_kf5 -d build -- -DCMAKE_INSTALL_LOCALEDIR=share/locale/kf5 + %make_jobs + +%install + %kf5_makeinstall -C build + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root) +%doc COPYING* +%{_kf5_libdir}/libksgrd.so.* +%{_kf5_libdir}/liblsofui.so.* +%{_kf5_libdir}/libksignalplotter.so.* +%{_kf5_libdir}/libprocesscore.so.* +%{_kf5_libdir}/libprocessui.so.* +%{_kf5_sharedir}/ksysguard/ + +%files helper +%defattr(-,root,root) +%doc COPYING* +%{_kf5_sysconfdir}/dbus-1/system.d/org.kde.ksysguard.processlisthelper.conf +%{_kf5_libdir}/libexec/ +%{_kf5_sharedir}/dbus-1/system-services/org.kde.ksysguard.processlisthelper.service +%{_kf5_sharedir}/polkit-1/actions/org.kde.ksysguard.processlisthelper.policy + +%files devel +%defattr(-,root,root) +%doc COPYING* +%{_includedir}/ksysguard/ +%{_kf5_libdir}/cmake/KF5SysGuard/ +%{_kf5_libdir}/libksgrd.so +%{_kf5_libdir}/liblsofui.so +%{_kf5_libdir}/libksignalplotter.so +%{_kf5_libdir}/libprocesscore.so +%{_kf5_libdir}/libprocessui.so + +%if %{with lang} +%files lang +%defattr(-,root,root) +%{_kf5_localedir}/ +%endif + +%changelog diff --git a/libksysguard-5.7.4.tar.xz b/libksysguard-5.7.4.tar.xz deleted file mode 100644 index 92bee6f..0000000 --- a/libksysguard-5.7.4.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:403aefa84e05fcd37ae6552251c16e42c1719b1ce9e72a008340aa7cbfd46ece -size 568916 diff --git a/libksysguard5-rpmlintrc b/libksysguard5-rpmlintrc new file mode 100644 index 0000000..cc4ae51 --- /dev/null +++ b/libksysguard5-rpmlintrc @@ -0,0 +1,2 @@ +# we don't use find_lang macro as it doesn't searches in subdirectories +addFilter("file-not-in-%lang .*") \ No newline at end of file diff --git a/libksysguard5.changes b/libksysguard5.changes index 751f807..fb3194e 100644 --- a/libksysguard5.changes +++ b/libksysguard5.changes @@ -1,82 +1,3 @@ -------------------------------------------------------------------- -Fri Aug 26 20:36:41 UTC 2016 - fabian@ritter-vogt.de - -- Update to 5.7.4 - * New bugfix release - * For more details please see: - https://www.kde.org/announcements/plasma-5.7.4.php - -------------------------------------------------------------------- -Tue Aug 2 11:36:00 UTC 2016 - hrvoje.senjan@gmail.com - -- Update to 5.7.3 - * New bugfix release - * For more details please see: - https://www.kde.org/announcements/plasma-5.7.3.php - -------------------------------------------------------------------- -Wed Jul 20 08:54:33 UTC 2016 - hrvoje.senjan@gmail.com - -- Update to 5.7.2 - * New bugfix release - * For more details please see: - https://www.kde.org/announcements/plasma-5.7.2.php - -------------------------------------------------------------------- -Wed Jul 13 06:13:32 UTC 2016 - hrvoje.senjan@gmail.com - -- Update to 5.7.1 - * New bugfix release - * For more details please see: - https://www.kde.org/announcements/plasma-5.7.1.php - -------------------------------------------------------------------- -Tue Jul 5 11:42:21 UTC 2016 - wbauer@tmo.at - -- Use the new %kf5_find_lang macro to create the file list for the - lang package -- Remove rpmlintrc file, it is not needed any more now - -------------------------------------------------------------------- -Thu Jun 30 12:02:27 UTC 2016 - hrvoje.senjan@gmail.com - -- Update to 5.7.0 - * New feature release - * For more details please see: - https://www.kde.org/announcements/plasma-5.7.0.php - -------------------------------------------------------------------- -Sun May 15 16:50:19 UTC 2016 - hrvoje.senjan@gmail.com - -- Update to 5.6.4 - * New bugfix release - * For more details please see: - https://www.kde.org/announcements/plasma-5.6.4.php - -------------------------------------------------------------------- -Tue Apr 19 20:45:59 UTC 2016 - hrvoje.senjan@gmail.com - -- Update to 5.6.3 - * New bugfix release - * For more details please see: - https://www.kde.org/announcements/plasma-5.6.3.php - -------------------------------------------------------------------- -Tue Apr 5 15:53:51 UTC 2016 - hrvoje.senjan@gmail.com - -- Update to 5.6.2 - * New bugfix release - * For more details please see: - https://www.kde.org/announcements/plasma-5.6.2.php - -------------------------------------------------------------------- -Tue Mar 29 16:21:01 UTC 2016 - hrvoje.senjan@gmail.com - -- Update to 5.6.1 - * New bugfix release - * For more details please see: - https://www.kde.org/announcements/plasma-5.6.1.php - ------------------------------------------------------------------- Sun Mar 20 09:19:55 UTC 2016 - hrvoje.senjan@gmail.com diff --git a/libksysguard5.spec b/libksysguard5.spec index 83b5710..cfa6f98 100644 --- a/libksysguard5.spec +++ b/libksysguard5.spec @@ -18,7 +18,7 @@ %bcond_without lang Name: libksysguard5 -Version: 5.7.4 +Version: 5.6.0 Release: 0 Summary: Task management and system monitoring library License: GPL-2.0+ @@ -26,6 +26,7 @@ Group: Development/Libraries/C and C++ Url: http://www.kde.org Source: libksysguard-%{version}.tar.xz Source1: baselibs.conf +Source99: %{name}-rpmlintrc BuildRequires: extra-cmake-modules >= 1.2.0 BuildRequires: kf5-filesystem BuildRequires: xz @@ -88,14 +89,11 @@ for actions that require elevated privileges. %setup -q -n libksysguard-%{version} %build - %cmake_kf5 -d build -- -DCMAKE_INSTALL_LOCALEDIR=%{_kf5_localedir} + %cmake_kf5 -d build -- -DCMAKE_INSTALL_LOCALEDIR=share/locale/kf5 %make_jobs %install %kf5_makeinstall -C build -%if %{with lang} - %kf5_find_lang -%endif %post -p /sbin/ldconfig @@ -131,7 +129,9 @@ for actions that require elevated privileges. %{_kf5_libdir}/libprocessui.so %if %{with lang} -%files lang -f %{name}.lang +%files lang +%defattr(-,root,root) +%{_kf5_localedir}/ %endif %changelog