Package lxqt-lightdm-greeter

Download lxqt-lightdm-greeter.spec
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
Name: lxqt-lightdm-greeter
Version: 0.7.0
Release: alt2.M70T.1

Summary: LightDM greeter for LXQt
License: LGPL
Group: Graphical desktop/Other

Url: http://lxqt.org
Source: %name-%version.tar
Packager: Michael Shigorin <mike@altlinux.org>

BuildRequires: gcc-c++ cmake rpm-macros-cmake
BuildRequires: libqt4-devel lightdm-devel lightdm-qt-greeter
BuildRequires: liblxqt-devel libqtxdg-devel

Requires: lightdm
Provides: lightdm-greeter
Provides: lightdm-lxqt-greeter

Provides: lightdm-razorqt-greeter = %version
Obsoletes: lightdm-razorqt-greeter < 0.7.0

%description
A LightDM greeter that uses the LXQt and Qt libraries.
It was written for LXQt but can be used standalone as well.

%prep
%setup
sed -i 's,liblightdm-qt-3,liblightdm-qt-2,g' CMakeLists.txt

%build
%cmake_insource
%make_build

%install
%makeinstall_std

# add an alternative for xgreeter
cd %buildroot
mkdir -p ./%_altdir
printf '%_datadir/xgreeters/lightdm-default-greeter.desktop\t%_datadir/xgreeters/lxqt-lightdm-greeter.desktop\t400\n' >./%_altdir/lightdm-lxqt-greeter

%files
%_bindir/lxqt-lightdm-greeter
%_altdir/lightdm-lxqt-greeter
%_datadir/xgreeters/lxqt-lightdm-greeter.desktop
%_sysconfdir/lightdm/lxqt-lightdm-greeter.conf
%doc AUTHORS

%changelog
* Wed Mar 04 2015 Michael Shigorin <mike@altlinux.org> 0.7.0-alt2.M70T.1
- built for t7/branch

* Wed Oct 15 2014 Michael Shigorin <mike@altlinux.org> 0.7.0-alt3
- rebuilt against current libraries

* Sun Sep 28 2014 Michael Shigorin <mike@altlinux.org> 0.7.0-alt1.M70T.2
- avoid lightdm-razorqt-greeter in build environment
- adapt to older liblightdm-qt

* Tue Sep 23 2014 Michael Shigorin <mike@altlinux.org> 0.7.0-alt1.M70T.1
- built for t7/branch

* Wed May 14 2014 Michael Shigorin <mike@altlinux.org> 0.7.0-alt2
- replace lightdm-razorqt-greeter

* Fri May 09 2014 Michael Shigorin <mike@altlinux.org> 0.7.0-alt1
- initial release
Back to Top