init package
This commit is contained in:
parent
722eca7c16
commit
afdddb89b9
BIN
kscreenlocker-5.15.4.tar.xz
Normal file
BIN
kscreenlocker-5.15.4.tar.xz
Normal file
Binary file not shown.
82
kscreenlocker.spec
Normal file
82
kscreenlocker.spec
Normal file
@ -0,0 +1,82 @@
|
||||
Name: kscreenlocker
|
||||
Version: 5.15.4
|
||||
Release: 1
|
||||
Summary: Library and components for secure lock screen architecture
|
||||
|
||||
License: GPLv2+
|
||||
URL: https://cgit.kde.org/%{name}.git
|
||||
|
||||
%global plasmaver %(echo %{version} | cut -d. -f1,2,3)
|
||||
%global revision %(echo %{version} | cut -d. -f3)
|
||||
%if %{revision} >= 50
|
||||
%global stable unstable
|
||||
%else
|
||||
%global stable stable
|
||||
%endif
|
||||
Source0: http://download.kde.org/%{stable}/plasma/%{plasmaver}/%{name}-%{version}.tar.xz
|
||||
|
||||
# help upgrades, split from plasma-workspace since 5.5
|
||||
Conflicts: plasma-workspace < 5.5
|
||||
|
||||
## upstream patches
|
||||
|
||||
BuildRequires: perl-generators qt5-qtbase-devel qt5-qtdeclarative-devel qt5-qtx11extras-devel kf5-rpm-macros extra-cmake-modules kf5-plasma-devel kf5-kcmutils-devel kf5-kdeclarative-devel kf5-kidletime-devel kf5-kdelibs4support-devel kf5-kcrash-devel kf5-kglobalaccel-devel kf5-kwayland-devel libX11-devel xcb-util-keysyms-devel wayland-devel pkgconfig(xi) libXcursor-devel pam-devel
|
||||
%description
|
||||
%{summary}.
|
||||
|
||||
%package devel
|
||||
Summary: Development files for %{name}
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
Provides: kf5-kscreen-devel = %{version}-%{release}
|
||||
Provides: kf5-kscreen-devel%{?_isa} = %{version}-%{release}
|
||||
Obsoletes: kf5-kscreen-devel <= 1:5.2.0
|
||||
%description devel
|
||||
The %{name}-devel package contains libraries and header files for
|
||||
developing applications that use %{name}.
|
||||
|
||||
|
||||
%prep
|
||||
%autosetup -n %{name}-%{plasmaver} -p1
|
||||
|
||||
|
||||
%build
|
||||
mkdir %{_target_platform}
|
||||
pushd %{_target_platform}
|
||||
%{cmake_kf5} ..
|
||||
popd
|
||||
|
||||
make %{?_smp_mflags} -C %{_target_platform}
|
||||
|
||||
|
||||
%install
|
||||
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
|
||||
|
||||
%find_lang %{name} --with-qt --all-name
|
||||
|
||||
|
||||
%ldconfig_scriptlets
|
||||
|
||||
%files -f %{name}.lang
|
||||
%license COPYING
|
||||
%{_kf5_libdir}/libKScreenLocker.so.*
|
||||
%{_kf5_datadir}/knotifications5/*.notifyrc
|
||||
%{_kf5_datadir}/kconf_update/*
|
||||
%{_libexecdir}/kcheckpass
|
||||
%{_libexecdir}/kscreenlocker_greet
|
||||
%dir %{_kf5_datadir}/ksmserver/
|
||||
%{_kf5_datadir}/ksmserver/screenlocker/
|
||||
%{_kf5_datadir}/kservices5/*.desktop
|
||||
%{_kf5_qtplugindir}/screenlocker_kcm.so
|
||||
|
||||
%files devel
|
||||
%{_kf5_libdir}/libKScreenLocker.so
|
||||
%{_kf5_libdir}/cmake/ScreenSaverDBusInterface/
|
||||
%{_kf5_libdir}/cmake/KScreenLocker/
|
||||
%{_includedir}/KScreenLocker/
|
||||
%{_datadir}/dbus-1/interfaces/*.xml
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Aug 7 2020 weidong <weidong@uniontech.com> - 5.15.4-1
|
||||
- Initial release for OpenEuler
|
||||
|
||||
4
kscreenlocker.yaml
Normal file
4
kscreenlocker.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
version_control: github
|
||||
src_repo: KDE/kscreenlocker
|
||||
tag_prefix: "^v"
|
||||
seperator: "."
|
||||
Loading…
x
Reference in New Issue
Block a user