Releasing debian version 0.5.3-2.
[debian/lxdm.git] / lxdm.spec.in
CommitLineData
9931e273
DB
1# on SuSE based distros that's allow compilation
2# without root rights, on other distros that's just
3# a comment, you should keep it.
4# norootforbuild
5
6Name: lxdm
7Version: @PACKAGE_VERSION@
8Release: 1
9Summary: Light weight X11 display manager
10License: GPL
11Group: User Interface/X
12URL: http://lxde.sourceforge.net/
d6ba7c28 13Source0: lxdm-%{version}.tar.xz
9931e273
DB
14
15BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}
16
d6ba7c28
AG
17BuildRequires: gtk3-devel pam-devel intltool
18Provides: service(graphical-login) = lxdm
9931e273
DB
19
20%description
21Light weight X11 display manager
22
23%prep
24%setup -q
25
26%build
27export CFLAGS="$RPM_OPT_FLAGS"
28export CXXFLAGS="$RPM_OPT_FLAGS"
29
d6ba7c28 30%configure --enable-gtk3
9931e273
DB
31
32%__make
33
34%install
35make DESTDIR=${RPM_BUILD_ROOT} install
36cd ${RPM_BUILD_ROOT}/%{_sysconfdir}/lxdm
37rm -rf LoginReady PostLogin PreLogin PostLogout PreReboot PreShutdown
38cd -
39
40%find_lang %{name}
41
42%clean
43rm -rf $RPM_BUILD_ROOT
44
45%post
46
47%pre
48
49%preun
50
51%postun
52
53%files -f %{name}.lang
54%defattr (-,root,root,-)
55%doc AUTHORS NEWS README COPYING INSTALL ChangeLog
56%dir %{_datadir}/lxdm/
57%{_datadir}/lxdm/*
58%dir %{_sysconfdir}/lxdm/
59%{_sbindir}/lxdm
60%{_sbindir}/lxdm-binary
61%{_bindir}/lxdm-config
62%{_libexecdir}/lxdm-greeter-gtk
63%{_libexecdir}/lxdm-greeter-gdk
64%{_libexecdir}/lxdm-numlock
d6ba7c28 65%{_libexecdir}/lxdm-session
9931e273
DB
66%{_sysconfdir}/lxdm/Xsession
67%config %{_sysconfdir}/lxdm/lxdm.conf
68%{_sysconfdir}/pam.d/lxdm
d6ba7c28 69%{_unitdir}/lxdm.service
9931e273
DB
70
71%changelog
72