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 edabf8e..7592951 100644 --- a/kdesu.changes +++ b/kdesu.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +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 + +- 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..35fe7c2 100644 --- a/kdesu.spec +++ b/kdesu.spec @@ -16,19 +16,21 @@ # +%bcond_without lang %define lname libKF5Su5 -%define _tar_path 5.8 +%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 >= 1.8.0 +BuildRequires: extra-cmake-modules >= %{_tar_path} BuildRequires: fdupes -BuildRequires: kcoreaddons-devel >= %{kf5_version} +BuildRequires: kcoreaddons-devel >= %{_tar_path} BuildRequires: kf5-filesystem -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 @@ -51,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 @@ -63,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 @@ -83,14 +87,16 @@ 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 echo "setBadness('permissions-file-setuid-bit', 0)" > $RPM_SOURCE_DIR/%name-rpmlintrc %endif - %find_lang kdesud5 %{name}.lang +%if %{with lang} +%find_lang kdesud5 %{name}.lang +%endif %post -n %lname /sbin/ldconfig @@ -101,7 +107,9 @@ echo "setBadness('permissions-file-setuid-bit', 0)" > $RPM_SOURCE_DIR/%name-rpml %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)