diff --git a/baselibs.conf b/baselibs.conf new file mode 100644 index 0000000..81a18bc --- /dev/null +++ b/baselibs.conf @@ -0,0 +1,3 @@ +kinit +kinit-devel + requires "kinit- = " diff --git a/disable-OOM-protection.patch b/disable-OOM-protection.patch deleted file mode 100644 index 15df0de..0000000 --- a/disable-OOM-protection.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/src/start_kdeinit/CMakeLists.txt b/src/start_kdeinit/CMakeLists.txt -index 73e50b8..e84e6a9 100644 ---- a/src/start_kdeinit/CMakeLists.txt -+++ b/src/start_kdeinit/CMakeLists.txt -@@ -4,7 +4,7 @@ add_executable(start_kdeinit_wrapper start_kdeinit_wrapper.c) - install(TARGETS start_kdeinit DESTINATION ${KF5_LIBEXEC_INSTALL_DIR}) - install(TARGETS start_kdeinit_wrapper DESTINATION ${KF5_LIBEXEC_INSTALL_DIR}) - --if (CMAKE_SYSTEM_NAME MATCHES Linux) -+if (0) - MESSAGE(STATUS "Using setuid root kdeinit wrapper in order to protect it from bad Linux OOM-killer") - set(KDEINIT_OOM_PROTECT 1) - install(CODE " diff --git a/kinit-4.100.0.tar.xz b/kinit-4.100.0.tar.xz new file mode 100644 index 0000000..67395f2 --- /dev/null +++ b/kinit-4.100.0.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bd01a344a6621a5184a503410e55964bbab70800f9acd7796b12a387c1e89bf6 +size 2792932 diff --git a/kinit-4.99.0.tar.xz b/kinit-4.99.0.tar.xz deleted file mode 100644 index 2821b10..0000000 --- a/kinit-4.99.0.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d017bcadd4c089c7ee76a4a2a7d33a24479972c453be53119f70283cfa716d8f -size 2792356 diff --git a/kinit.changes b/kinit.changes index f8184ba..840b424 100644 --- a/kinit.changes +++ b/kinit.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Sun Jun 1 18:02:30 UTC 2014 - hrvoje.senjan@gmail.com + +- Update to 4.100.0 + * API improvements and cleanups + * Buildsystem fixes + * For more details please see: + http://www.kde.org/announcements/announce-frameworks5-beta3.php +- Drop disable-OOM-protection.patch, better solution applied upstream +- Added libcap-devel and libcap-progs BuildRequires, to enable capabilities + OOM-killer protection +- Add baselibs.conf + ------------------------------------------------------------------- Sun May 4 01:41:14 UTC 2014 - hrvoje.senjan@gmail.com diff --git a/kinit.spec b/kinit.spec index 09bcf56..21155be 100644 --- a/kinit.spec +++ b/kinit.spec @@ -17,30 +17,32 @@ Name: kinit -Version: 4.99.0 +Version: 4.100.0 Release: 0 BuildRequires: cmake >= 2.8.12 -BuildRequires: extra-cmake-modules >= 0.0.13 +BuildRequires: extra-cmake-modules >= 0.0.14 BuildRequires: fdupes BuildRequires: kcrash-devel >= %{_kf5_version} +BuildRequires: kdoctools-devel >= %{_kf5_version} BuildRequires: kf5-filesystem BuildRequires: ki18n-devel >= %{_kf5_version} -BuildRequires: kdoctools-devel >= %{_kf5_version} BuildRequires: kio-devel >= %{_kf5_version} BuildRequires: kservice-devel >= %{_kf5_version} BuildRequires: kwindowsystem-devel >= %{_kf5_version} +BuildRequires: libcap-devel +BuildRequires: libcap-progs BuildRequires: pkgconfig(Qt5Core) >= 5.2.0 BuildRequires: pkgconfig(Qt5DBus) >= 5.2.0 BuildRequires: pkgconfig(Qt5Gui) >= 5.2.0 BuildRequires: pkgconfig(Qt5Widgets) >= 5.2.0 BuildRequires: pkgconfig(x11) +Recommends: %{name}-lang = %{version} Summary: Helper library to speed up start of applications on KDE workspaces License: LGPL-2.1+ Group: System/GUI/KDE Url: http://www.kde.org -Source0: kinit-%{version}.tar.xz -# PATCH-FIX-UPSTREAM disable-OOM-protection.patch -- it was not proved to be needed feature, and create potential security risk, bnc#862953 -Patch0: disable-OOM-protection.patch +Source: http://download.kde.org/unstable/frameworks/%{version}/%{name}-%{version}.tar.xz +Source1: baselibs.conf BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -57,9 +59,9 @@ Requires: extra-cmake-modules Kdeinit is a process launcher somewhat similar to the famous init used for booting UNIX. Development files. +%lang_package %prep %setup -q -%patch0 -p1 %build %cmake_kf5 -d build -- -DCMAKE_CXX_FLAGS="%{optflags} -fpie" -DCMAKE_C_FLAGS="%{optflags} -fpie" -DCMAKE_SHARED_LINKER_FLAGS="-pie" -DCMAKE_EXE_LINKER_FLAGS="-pie" -DCMAKE_MODULE_LINKER_FLAGS="-pie" @@ -69,10 +71,14 @@ booting UNIX. Development files. %kf5_makeinstall -C build %fdupes -s %{buildroot} + %find_lang %{name}5 + %post -p /sbin/ldconfig %postun -p /sbin/ldconfig +%files lang -f %{name}5.lang + %files %defattr(-,root,root) %doc COPYING* README*