From 86b370393935a3e4eb689de02dcbede3e90199d307132d3846a28d1f10bec976 Mon Sep 17 00:00:00 2001 From: Fabian Vogt Date: Thu, 15 Sep 2016 09:14:17 +0000 Subject: [PATCH] osc copypac from project:KDE:Unstable:Frameworks package:kinfocenter5 revision:118 OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5:LTS/kinfocenter5?expand=0&rev=1 --- _service | 12 ++ ...r-5.7.90git~20160915T101104~fffbc05.tar.xz | 3 + _service:set_version:kinfocenter5.spec | 124 ++++++++++++++++++ kinfocenter-4.98.0.tar.xz | 3 + kinfocenter-5.7.4.tar.xz | 3 - kinfocenter5-rpmlintrc | 2 + kinfocenter5.changes | 79 ----------- kinfocenter5.spec | 14 +- plasma-session-name.patch | 2 +- 9 files changed, 152 insertions(+), 90 deletions(-) create mode 100644 _service create mode 100644 _service:recompress:tar_scm:kinfocenter-5.7.90git~20160915T101104~fffbc05.tar.xz create mode 100644 _service:set_version:kinfocenter5.spec create mode 100644 kinfocenter-4.98.0.tar.xz delete mode 100644 kinfocenter-5.7.4.tar.xz create mode 100644 kinfocenter5-rpmlintrc diff --git a/_service b/_service new file mode 100644 index 0000000..d12da7d --- /dev/null +++ b/_service @@ -0,0 +1,12 @@ + + + git://anongit.kde.org/kinfocenter.git + git + 5.7.90git~%ci~%h + + + *.tar + xz + + + \ No newline at end of file diff --git a/_service:recompress:tar_scm:kinfocenter-5.7.90git~20160915T101104~fffbc05.tar.xz b/_service:recompress:tar_scm:kinfocenter-5.7.90git~20160915T101104~fffbc05.tar.xz new file mode 100644 index 0000000..defff1e --- /dev/null +++ b/_service:recompress:tar_scm:kinfocenter-5.7.90git~20160915T101104~fffbc05.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:280e854fbd4cc423da31e8cf52474a25b75b15a0061f69bfd7bd67044317bbc6 +size 358340 diff --git a/_service:set_version:kinfocenter5.spec b/_service:set_version:kinfocenter5.spec new file mode 100644 index 0000000..c3ad1b2 --- /dev/null +++ b/_service:set_version:kinfocenter5.spec @@ -0,0 +1,124 @@ +# +# spec file for package kinfocenter5 +# +# 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: kinfocenter5 +Version: 5.7.90git~20160915T101104~fffbc05 +Release: 0 +Summary: Utility that provides information about a computer system +License: GPL-2.0+ +Group: System/GUI/KDE +Url: http://www.kde.org/ +Source: kinfocenter-%{version}.tar.xz +Source99: %{name}-rpmlintrc +# PATCH-FIX-OPENSUSE plasma-session-name.patch +Patch0: plasma-session-name.patch +BuildRequires: extra-cmake-modules >= 1.2.0 +BuildRequires: kf5-filesystem +BuildRequires: libraw1394-devel +BuildRequires: pciutils-devel +BuildRequires: update-desktop-files +BuildRequires: xz +BuildRequires: cmake(KF5Completion) >= 5.9.0 +BuildRequires: cmake(KF5Config) >= 5.9.0 +BuildRequires: cmake(KF5ConfigWidgets) >= 5.9.0 +BuildRequires: cmake(KF5CoreAddons) >= 5.9.0 +BuildRequires: cmake(KF5DBusAddons) >= 5.9.0 +BuildRequires: cmake(KF5Declarative) >= 5.9.0 +BuildRequires: cmake(KF5DocTools) >= 5.9.0 +BuildRequires: cmake(KF5I18n) >= 5.9.0 +BuildRequires: cmake(KF5IconThemes) >= 5.9.0 +BuildRequires: cmake(KF5KCMUtils) >= 5.9.0 +BuildRequires: cmake(KF5KDELibs4Support) >= 5.9.0 +BuildRequires: cmake(KF5KIO) >= 5.9.0 +BuildRequires: cmake(KF5Package) >= 5.9.0 +BuildRequires: cmake(KF5Service) >= 5.9.0 +BuildRequires: cmake(KF5Solid) >= 5.9.0 +BuildRequires: cmake(KF5Solid) >= 5.9.0 +BuildRequires: cmake(KF5Wayland) >= %{_plasma5_version} +BuildRequires: cmake(KF5WidgetsAddons) >= 5.9.0 +BuildRequires: cmake(KF5XmlGui) >= 5.9.0 +BuildRequires: cmake(Qt5Core) >= 5.4.0 +BuildRequires: cmake(Qt5Gui) >= 5.4.0 +BuildRequires: cmake(Qt5Widgets) >= 5.4.0 +BuildRequires: pkgconfig(egl) +%ifarch %arm aarch64 +BuildRequires: pkgconfig(glesv2) +%else +BuildRequires: pkgconfig(gl) +%endif +BuildRequires: pkgconfig(glu) +BuildRequires: pkgconfig(x11) +Conflicts: kdebase4-workspace < 5.3.0 +%if %{with lang} +Recommends: %{name}-lang +%endif +# needed for the fileindexermonitor +Requires: baloo5-imports +BuildRoot: %{_tmppath}/%{name}-%{version}-build + +%description +KDE Utility that provides information about a computer system. + +%lang_package +%prep +%setup -q -n kinfocenter-%{version} +%patch0 -p1 + +%build + %cmake_kf5 -d build -- -DCMAKE_INSTALL_LOCALEDIR=share/locale/kf5 + %make_jobs + +%install + %kf5_makeinstall -C build + +%files +%defattr(-,root,root) +%doc COPYING* +%{_kf5_bindir}/kinfocenter +%{_kf5_plugindir}/ +%{_kf5_applicationsdir}/org.kde.kinfocenter.desktop +%dir %{_kf5_htmldir}/en +%dir %{_kf5_htmldir} +%doc %{_kf5_htmldir}/en/kinfocenter/ +%{_kf5_sharedir}/kcmusb/ +%{_kf5_sharedir}/kcmview1394/ +%{_kf5_sharedir}/kpackage/ +%{_kf5_servicesdir}/ +%{_kf5_servicetypesdir}/ +%{_kf5_sharedir}/kxmlgui5/ +%{_kf5_configdir}/menus/kinfocenter.menu +%{_kf5_sharedir}/desktop-directories/ + +%if %{with lang} +%files lang +%defattr(-,root,root) +%doc COPYING* +%{_kf5_localedir}/ +%doc %lang(ca) %{_kf5_htmldir}/ca/ +%doc %lang(de) %{_kf5_htmldir}/de/ +%doc %lang(it) %{_kf5_htmldir}/it/ +%doc %lang(nl) %{_kf5_htmldir}/nl/ +%doc %lang(sv) %{_kf5_htmldir}/sv/ +%doc %lang(uk) %{_kf5_htmldir}/uk/ +%doc %lang(pt_BR) %{_kf5_htmldir}/pt_BR/ +%doc %lang(sr) %{_kf5_htmldir}/sr/ +%doc %lang(sr@latin) %{_kf5_htmldir}/sr@latin/ +%endif + +%changelog diff --git a/kinfocenter-4.98.0.tar.xz b/kinfocenter-4.98.0.tar.xz new file mode 100644 index 0000000..3f354fa --- /dev/null +++ b/kinfocenter-4.98.0.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bf8c2213663e3e5003b0298b4e4c9c6ca3c291a22e01c6db09134c6997464744 +size 1062652 diff --git a/kinfocenter-5.7.4.tar.xz b/kinfocenter-5.7.4.tar.xz deleted file mode 100644 index 2a6051e..0000000 --- a/kinfocenter-5.7.4.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:348c7717b088ac117e3beae38aa13de4655b0be4012aef18c63c0208b82f9448 -size 1242700 diff --git a/kinfocenter5-rpmlintrc b/kinfocenter5-rpmlintrc new file mode 100644 index 0000000..cc4ae51 --- /dev/null +++ b/kinfocenter5-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/kinfocenter5.changes b/kinfocenter5.changes index e3447ee..be7c7e7 100644 --- a/kinfocenter5.changes +++ b/kinfocenter5.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:35:55 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:22 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:27 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:27:46 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:22 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:14 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:38 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:46 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:20:47 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:50 UTC 2016 - hrvoje.senjan@gmail.com diff --git a/kinfocenter5.spec b/kinfocenter5.spec index 70b4b4b..de47e1d 100644 --- a/kinfocenter5.spec +++ b/kinfocenter5.spec @@ -18,13 +18,14 @@ %bcond_without lang Name: kinfocenter5 -Version: 5.7.4 +Version: 5.6.0 Release: 0 Summary: Utility that provides information about a computer system License: GPL-2.0+ Group: System/GUI/KDE Url: http://www.kde.org/ Source: kinfocenter-%{version}.tar.xz +Source99: %{name}-rpmlintrc # PATCH-FIX-OPENSUSE plasma-session-name.patch Patch0: plasma-session-name.patch BuildRequires: extra-cmake-modules >= 1.2.0 @@ -49,7 +50,7 @@ BuildRequires: cmake(KF5Package) >= 5.9.0 BuildRequires: cmake(KF5Service) >= 5.9.0 BuildRequires: cmake(KF5Solid) >= 5.9.0 BuildRequires: cmake(KF5Solid) >= 5.9.0 -BuildRequires: cmake(KF5Wayland) >= %{version} +BuildRequires: cmake(KF5Wayland) >= %{_plasma5_version} BuildRequires: cmake(KF5WidgetsAddons) >= 5.9.0 BuildRequires: cmake(KF5XmlGui) >= 5.9.0 BuildRequires: cmake(Qt5Core) >= 5.4.0 @@ -80,14 +81,11 @@ KDE Utility that provides information about a computer system. %patch0 -p1 %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 %files %defattr(-,root,root) @@ -108,8 +106,10 @@ KDE Utility that provides information about a computer system. %{_kf5_sharedir}/desktop-directories/ %if %{with lang} -%files lang -f %{name}.lang +%files lang +%defattr(-,root,root) %doc COPYING* +%{_kf5_localedir}/ %doc %lang(ca) %{_kf5_htmldir}/ca/ %doc %lang(de) %{_kf5_htmldir}/de/ %doc %lang(it) %{_kf5_htmldir}/it/ diff --git a/plasma-session-name.patch b/plasma-session-name.patch index 4dfb488..df78814 100644 --- a/plasma-session-name.patch +++ b/plasma-session-name.patch @@ -1,5 +1,5 @@ diff --git a/Modules/about-distro/src/Module.cpp b/Modules/about-distro/src/Module.cpp -index 9e9dc9c..7a34520 100644 +index bec3a36..b78ede7 100644 --- a/Modules/about-distro/src/Module.cpp +++ b/Modules/about-distro/src/Module.cpp @@ -190,7 +190,7 @@ void Module::defaults()