]> git.pld-linux.org Git - SPECS.git/blob - light-locker.spec
SPECS updated Sun 1 Aug 20:28:02 CEST 2021
[SPECS.git] / light-locker.spec
1 Summary:        A simple session-locker for lightdm
2 Name:           light-locker
3 Version:        1.7.0
4 Release:        2
5 License:        GPL v2
6 Group:          X11/Applications
7 Source0:        https://github.com/the-cavalry/light-locker/archive/v%{version}/%{name}-%{version}.tar.gz
8 # Source0-md5:  525b76a4c49c9f0d40e483fbbd085470
9 URL:            https://github.com/the-cavalry/light-locker
10 BuildRequires:  ConsoleKit-devel
11 BuildRequires:  autoconf
12 BuildRequires:  automake
13 BuildRequires:  dbus-devel
14 BuildRequires:  glib2-devel >= 1:2.25.6
15 BuildRequires:  gtk+3-devel
16 BuildRequires:  intltool
17 BuildRequires:  libtool
18 BuildRequires:  pam-devel
19 BuildRequires:  systemd-devel
20 BuildRequires:  upower-devel
21 BuildRequires:  xfce4-dev-tools
22 BuildRequires:  xorg-lib-libX11-devel
23 BuildRequires:  xorg-lib-libXScrnSaver-devel
24 BuildRequires:  xorg-lib-libXext-devel
25 BuildRequires:  xorg-lib-libXxf86vm-devel
26 Requires:       glib2 >= 1:2.26.0
27 Requires:       lightdm
28 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29
30 %description
31 light-locker is a simple locker (forked from gnome-screensaver) that
32 aims to have simple, sane, secure defaults and be well integrated with
33 the desktop while not carrying any desktop-specific dependencies. It
34 relies on lightdm for locking and unlocking your session via
35 ConsoleKit/UPower or logind/systemd.
36
37 %prep
38 %setup -q
39
40 %build
41 NOCONFIGURE=1 xdt-autogen
42 %configure \
43         --with-x \
44         --with-mit-ext \
45         --with-dpms-ext \
46         --with-xf86gamma-ext \
47         --with-console-kit \
48         --with-systemd \
49         --with-upower \
50         --enable-settings-backend=gsettings \
51         --enable-late-locking \
52         --enable-lock-on-suspend
53 %{__make}
54
55 %install
56 rm -rf $RPM_BUILD_ROOT
57 %{__make} install \
58         DESTDIR=$RPM_BUILD_ROOT
59
60 %find_lang %{name}
61
62 %clean
63 rm -rf $RPM_BUILD_ROOT
64
65 %post
66 %glib_compile_schemas
67
68 %postun
69 %glib_compile_schemas
70
71 %files -f %{name}.lang
72 %defattr(644,root,root,755)
73 %doc AUTHORS HACKING NEWS README
74 /etc/xdg/autostart/light-locker.desktop
75 %attr(755,root,root) %{_bindir}/light-locker
76 %attr(755,root,root) %{_bindir}/light-locker-command
77 %{_datadir}/glib-2.0/schemas/apps.light-locker.gschema.xml
78 %{_mandir}/man1/light-locker-command.1*
79 %{_mandir}/man1/light-locker.1*
This page took 0.215481 seconds and 3 git commands to generate.