forked from pool/kinit
This commit is contained in:
parent
a7738c83c2
commit
8df74bfefe
12
_service
12
_service
@ -1,12 +0,0 @@
|
|||||||
<services>
|
|
||||||
<service name="tar_scm">
|
|
||||||
<param name="url">git://anongit.kde.org/kinit.git</param>
|
|
||||||
<param name="scm">git</param>
|
|
||||||
<param name="versionformat">4.96.0~%h</param>
|
|
||||||
</service>
|
|
||||||
<service name="recompress">
|
|
||||||
<param name="file">*.tar</param>
|
|
||||||
<param name="compression">xz</param>
|
|
||||||
</service>
|
|
||||||
<service name="set_version"/>
|
|
||||||
</services>
|
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:05b1dcf114e44a9db5d2f6048efca12ad3a291901f60df613303d8e470a9e305
|
|
||||||
size 53728
|
|
@ -1,103 +0,0 @@
|
|||||||
#
|
|
||||||
# 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
|
|
3
kinit-4.96.0.tar.xz
Normal file
3
kinit-4.96.0.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:b57ea540970c21f11512454aa041f8c9e0b72fcd1425046564c564d92e4aefcf
|
||||||
|
size 52544
|
Loading…
Reference in New Issue
Block a user