From e915ac9f7cbb1619346df8474b63edfcdddfe210d56b4f039fecb3a7a97eece7 Mon Sep 17 00:00:00 2001 From: Hrvoje Senjan Date: Mon, 16 Mar 2015 11:49:13 +0000 Subject: [PATCH 1/4] OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/kdesu?expand=0&rev=52 --- kdesu.changes | 5 +++++ kdesu.spec | 1 + 2 files changed, 6 insertions(+) diff --git a/kdesu.changes b/kdesu.changes index edabf8e..8612354 100644 --- a/kdesu.changes +++ b/kdesu.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Mar 16 11:50:36 UTC 2015 - hrvoje.senjan@gmail.com + +- Add explicit ki18n-devel BuildRequires + ------------------------------------------------------------------- Sat Mar 7 16:58:36 UTC 2015 - hrvoje.senjan@gmail.com diff --git a/kdesu.spec b/kdesu.spec index 53b9081..19a05cb 100644 --- a/kdesu.spec +++ b/kdesu.spec @@ -27,6 +27,7 @@ BuildRequires: extra-cmake-modules >= 1.8.0 BuildRequires: fdupes BuildRequires: kcoreaddons-devel >= %{kf5_version} BuildRequires: kf5-filesystem +BuildRequires: ki18n-devel >= %{kf5_version} BuildRequires: kpty-devel >= %{kf5_version} BuildRequires: kservice-devel >= %{kf5_version} BuildRequires: pkgconfig(Qt5Core) >= 5.2.0 From c083fc4c74e8a17817c166e732029c3106481445e15bfd431d240de4ef4e16fc Mon Sep 17 00:00:00 2001 From: Hrvoje Senjan Date: Sun, 5 Apr 2015 11:40:06 +0000 Subject: [PATCH 2/4] 5.9.0 OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/kdesu?expand=0&rev=53 --- kdesu-5.8.0.tar.xz | 3 --- kdesu-5.9.0.tar.xz | 3 +++ kdesu.changes | 7 +++++++ kdesu.spec | 10 +++++++--- 4 files changed, 17 insertions(+), 6 deletions(-) delete mode 100644 kdesu-5.8.0.tar.xz create mode 100644 kdesu-5.9.0.tar.xz diff --git a/kdesu-5.8.0.tar.xz b/kdesu-5.8.0.tar.xz deleted file mode 100644 index c52e1a8..0000000 --- a/kdesu-5.8.0.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:7bec16bab7a272cd7714fc5b9d7d54a1dfa618985553bbd0244941b6c6839d2f -size 43520 diff --git a/kdesu-5.9.0.tar.xz b/kdesu-5.9.0.tar.xz new file mode 100644 index 0000000..6fd3ff4 --- /dev/null +++ b/kdesu-5.9.0.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:390ddd65d71f877d898d96583f2919e7035bac05a180976de03a6a732f312e48 +size 43516 diff --git a/kdesu.changes b/kdesu.changes index 8612354..7592951 100644 --- a/kdesu.changes +++ b/kdesu.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Sat Apr 4 14:40:34 UTC 2015 - hrvoje.senjan@gmail.com + +- Update to 5.9.0 + * For more details please see: + https://www.kde.org/announcements/kde-frameworks-5.9.0.php + ------------------------------------------------------------------- Mon Mar 16 11:50:36 UTC 2015 - hrvoje.senjan@gmail.com diff --git a/kdesu.spec b/kdesu.spec index 19a05cb..5129f6b 100644 --- a/kdesu.spec +++ b/kdesu.spec @@ -17,13 +17,13 @@ %define lname libKF5Su5 -%define _tar_path 5.8 +%define _tar_path 5.9 Name: kdesu Version: %{_tar_path}.0 Release: 0 %define kf5_version %{version} BuildRequires: cmake >= 2.8.12 -BuildRequires: extra-cmake-modules >= 1.8.0 +BuildRequires: extra-cmake-modules >= %{version} BuildRequires: fdupes BuildRequires: kcoreaddons-devel >= %{kf5_version} BuildRequires: kf5-filesystem @@ -91,7 +91,11 @@ Development files. echo "setBadness('permissions-file-setuid-bit', 0)" > $RPM_SOURCE_DIR/%name-rpmlintrc %endif - %find_lang kdesud5 %{name}.lang +if [ -e po ]; then +%find_lang kdesud5 %{name}.lang +else +touch %{name}.lang +fi %post -n %lname /sbin/ldconfig From 0b7ec48ee4f2876eb131baafcb0ed98e22ed4ff00e8e36aa8a9b3bb6f2ce6534 Mon Sep 17 00:00:00 2001 From: Hrvoje Senjan Date: Fri, 10 Apr 2015 16:26:13 +0000 Subject: [PATCH 3/4] OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/kdesu?expand=0&rev=54 --- kdesu.spec | 27 +++++++++++++++------------ 1 file changed, 15 insertions(+), 12 deletions(-) diff --git a/kdesu.spec b/kdesu.spec index 5129f6b..d09ef7e 100644 --- a/kdesu.spec +++ b/kdesu.spec @@ -16,20 +16,21 @@ # +%bcond_without lang %define lname libKF5Su5 %define _tar_path 5.9 Name: kdesu -Version: %{_tar_path}.0 +Version: 5.9.0 Release: 0 %define kf5_version %{version} BuildRequires: cmake >= 2.8.12 -BuildRequires: extra-cmake-modules >= %{version} +BuildRequires: extra-cmake-modules >= %{_tar_path} BuildRequires: fdupes -BuildRequires: kcoreaddons-devel >= %{kf5_version} +BuildRequires: kcoreaddons-devel >= %{_tar_path} BuildRequires: kf5-filesystem -BuildRequires: ki18n-devel >= %{kf5_version} -BuildRequires: kpty-devel >= %{kf5_version} -BuildRequires: kservice-devel >= %{kf5_version} +BuildRequires: ki18n-devel >= %{_tar_path} +BuildRequires: kpty-devel >= %{_tar_path} +BuildRequires: kservice-devel >= %{_tar_path} BuildRequires: pkgconfig(Qt5Core) >= 5.2.0 BuildRequires: pkgconfig(x11) Summary: User interface for running shell commands with root privileges @@ -52,7 +53,9 @@ Summary: User interface for running shell commands with root privileges Group: System/GUI/KDE PreReq: permissions Obsoletes: libKF5Su4 +%if %{with lang} Recommends: %lname-lang = %{version} +%endif %description -n %lname libkdesu provides functionality for building GUI front ends for @@ -64,8 +67,8 @@ Summary: User interface for running shell commands with root privileges Group: Development/Libraries/KDE Requires: %lname = %{version} Requires: extra-cmake-modules -Requires: kpty-devel >= %{kf5_version} -Requires: kservice-devel >= %{kf5_version} +Requires: kpty-devel >= %{_tar_path} +Requires: kservice-devel >= %{_tar_path} %description devel libkdesu provides functionality for building GUI front ends for @@ -91,11 +94,9 @@ Development files. echo "setBadness('permissions-file-setuid-bit', 0)" > $RPM_SOURCE_DIR/%name-rpmlintrc %endif -if [ -e po ]; then +%if %{with lang} %find_lang kdesud5 %{name}.lang -else -touch %{name}.lang -fi +%endif %post -n %lname /sbin/ldconfig @@ -106,7 +107,9 @@ fi %verifyscript -n %lname %verify_permissions -e %{_kf5_libexecdir}/kdesud +%if %{with lang} %files -n %lname-lang -f %{name}.lang +%endif %files -n %lname %defattr(-,root,root) From 15c6c6622b6ced51f21821c9d40abc3bf0b140a72185801b5f2b70899ea8325a Mon Sep 17 00:00:00 2001 From: Hrvoje Senjan Date: Fri, 10 Apr 2015 16:46:39 +0000 Subject: [PATCH 4/4] OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/kdesu?expand=0&rev=55 --- kdesu.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kdesu.spec b/kdesu.spec index d09ef7e..35fe7c2 100644 --- a/kdesu.spec +++ b/kdesu.spec @@ -87,7 +87,7 @@ Development files. %install %kf5_makeinstall -C build - %fdupes -s %{buildroot} + %fdupes %{buildroot} %if 0%{?suse_version} <= 1310 # we need this for older oS releases; only Factory/13.2 has the whitelist