commit a7738c83c29101ca83bd94fdf0f5577d2cd850c0dc9e0d997092635fbbf76c7d Author: Hrvoje Senjan Date: Fri Feb 7 21:43:12 2014 +0000 osc copypac from project:KDE:Unstable:Frameworks package:kinit revision:25 OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/kinit?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/_service b/_service new file mode 100644 index 0000000..6be1b1d --- /dev/null +++ b/_service @@ -0,0 +1,12 @@ + + + git://anongit.kde.org/kinit.git + git + 4.96.0~%h + + + *.tar + xz + + + \ No newline at end of file diff --git a/_service:recompress:tar_scm:kinit-4.96.0~dc0d230.tar.xz b/_service:recompress:tar_scm:kinit-4.96.0~dc0d230.tar.xz new file mode 100644 index 0000000..a3702f8 --- /dev/null +++ b/_service:recompress:tar_scm:kinit-4.96.0~dc0d230.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:05b1dcf114e44a9db5d2f6048efca12ad3a291901f60df613303d8e470a9e305 +size 53728 diff --git a/_service:set_version:kinit.spec b/_service:set_version:kinit.spec new file mode 100644 index 0000000..1b17318 --- /dev/null +++ b/_service:set_version:kinit.spec @@ -0,0 +1,103 @@ +# +# spec file for package kinit +# +# Copyright (c) 2014 SUSE LINUX Products 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/ +# + + +Name: kinit +Version: 4.96.0~dc0d230 +Release: 0 +BuildRequires: cmake >= 2.8.12 +BuildRequires: extra-cmake-modules >= 0.0.9 +BuildRequires: fdupes +BuildRequires: kcrash-devel +BuildRequires: kf5-filesystem +BuildRequires: ki18n-devel +BuildRequires: kio-devel +BuildRequires: kservice-devel +BuildRequires: kwindowsystem-devel +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) +PreReq: permissions +Summary: KDE Base Libraries +License: LGPL-2.1+ +Group: System/GUI/KDE +Url: http://www.kde.org +Source0: kinit-%{version}.tar.xz +BuildRoot: %{_tmppath}/%{name}-%{version}-build + +%description +This package contains the core libraries of the K Desktop Environment. + +This package is absolutely necessary for using KDE applications. + +%package devel +Summary: KDE Core Libraries: Build Environment +Group: Development/Libraries/KDE +Requires: %{name} = %{version} +Requires: extra-cmake-modules + +%description devel +This package contains all necessary include files and libraries needed +to develop non-graphical KDE applications. + +%prep +%setup -q + +%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" + %make_jobs + +%install + %kf5_makeinstall -C build + %fdupes -s %{buildroot} + +# Needs security review +echo "setBadness('permissions-file-setuid-bit', 0)" > $RPM_SOURCE_DIR/%name-rpmlintrc +echo "setBadness('non-position-independent-executable', 0)" >> $RPM_SOURCE_DIR/%name-rpmlintrc + +%post +/sbin/ldconfig + +%set_permissions %{_kf5_libexecdir}/start_kdeinit + +%postun +/sbin/ldconfig + +%verifyscript +%verify_permissions -e %{_kf5_libexecdir}/start_kdeinit + +%files +%defattr(-,root,root) +%doc COPYING* README* +%{_kf5_bindir}/kdeinit5 +%{_kf5_bindir}/kdeinit5_shutdown +%{_kf5_bindir}/kdeinit5_wrapper +%{_kf5_bindir}/kwrapper5 +%{_kf5_libdir}/libkdeinit5_klauncher.so +%{_kf5_libexecdir}/klauncher +%{_kf5_bindir}/kshell5 +%verify(not mode caps) %attr(4755,root,root) %{_kf5_libexecdir}/start_kdeinit +%{_kf5_libexecdir}/start_kdeinit_wrapper + +%files devel +%defattr(-,root,root) +%{_kf5_libdir}/cmake/KF5Init/ +%{_kf5_dbusinterfacesdir}/kf5_org.kde.KLauncher.xml + +%changelog diff --git a/kinit.spec b/kinit.spec new file mode 100644 index 0000000..b36d436 --- /dev/null +++ b/kinit.spec @@ -0,0 +1,103 @@ +# +# spec file for package kinit +# +# Copyright (c) 2014 SUSE LINUX Products 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/ +# + + +Name: kinit +Version: 4.95.0~git +Release: 0 +BuildRequires: cmake >= 2.8.12 +BuildRequires: extra-cmake-modules >= 0.0.9 +BuildRequires: fdupes +BuildRequires: kcrash-devel +BuildRequires: kf5-filesystem +BuildRequires: ki18n-devel +BuildRequires: kio-devel +BuildRequires: kservice-devel +BuildRequires: kwindowsystem-devel +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) +PreReq: permissions +Summary: KDE Base Libraries +License: LGPL-2.1+ +Group: System/GUI/KDE +Url: http://www.kde.org +Source0: kinit-%{version}.tar.xz +BuildRoot: %{_tmppath}/%{name}-%{version}-build + +%description +This package contains the core libraries of the K Desktop Environment. + +This package is absolutely necessary for using KDE applications. + +%package devel +Summary: KDE Core Libraries: Build Environment +Group: Development/Libraries/KDE +Requires: %{name} = %{version} +Requires: extra-cmake-modules + +%description devel +This package contains all necessary include files and libraries needed +to develop non-graphical KDE applications. + +%prep +%setup -q + +%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" + %make_jobs + +%install + %kf5_makeinstall -C build + %fdupes -s %{buildroot} + +# Needs security review +echo "setBadness('permissions-file-setuid-bit', 0)" > $RPM_SOURCE_DIR/%name-rpmlintrc +echo "setBadness('non-position-independent-executable', 0)" >> $RPM_SOURCE_DIR/%name-rpmlintrc + +%post +/sbin/ldconfig + +%set_permissions %{_kf5_libexecdir}/start_kdeinit + +%postun +/sbin/ldconfig + +%verifyscript +%verify_permissions -e %{_kf5_libexecdir}/start_kdeinit + +%files +%defattr(-,root,root) +%doc COPYING* README* +%{_kf5_bindir}/kdeinit5 +%{_kf5_bindir}/kdeinit5_shutdown +%{_kf5_bindir}/kdeinit5_wrapper +%{_kf5_bindir}/kwrapper5 +%{_kf5_libdir}/libkdeinit5_klauncher.so +%{_kf5_libexecdir}/klauncher +%{_kf5_bindir}/kshell5 +%verify(not mode caps) %attr(4755,root,root) %{_kf5_libexecdir}/start_kdeinit +%{_kf5_libexecdir}/start_kdeinit_wrapper + +%files devel +%defattr(-,root,root) +%{_kf5_libdir}/cmake/KF5Init/ +%{_kf5_dbusinterfacesdir}/kf5_org.kde.KLauncher.xml + +%changelog