Imported Upstream version 0.2.0
[debian/lxdm.git] / lxdm.spec.in
CommitLineData
eea1c851
AL
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/
13Source0: lxdm-%{version}.tar.gz
14
15BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}
16
faee902e 17BuildRequires: gtk2-devel pam-devel intltool
eea1c851
AL
18
19%description
20Light weight X11 display manager
21
22%prep
23%setup -q
24
25%build
26export CFLAGS="$RPM_OPT_FLAGS"
27export CXXFLAGS="$RPM_OPT_FLAGS"
28
29%configure
30
eea1c851
AL
31%__make
32
33%install
34make DESTDIR=${RPM_BUILD_ROOT} install
faee902e
AL
35cd ${RPM_BUILD_ROOT}/%{_sysconfdir}/lxdm
36rm -rf LoginReady PostLogin PreLogin PostLogout PreReboot PreShutdown
37cd -
eea1c851
AL
38
39%find_lang %{name}
40
41%clean
42rm -rf $RPM_BUILD_ROOT
43
44%post
45
46%pre
47
48%preun
49
50%postun
51
eea1c851
AL
52%files -f %{name}.lang
53%defattr (-,root,root,-)
54%doc AUTHORS NEWS README COPYING INSTALL ChangeLog
55%dir %{_datadir}/lxdm/
56%{_datadir}/lxdm/*
57%dir %{_sysconfdir}/lxdm/
faee902e
AL
58%{_sbindir}/lxdm
59%{_sbindir}/lxdm-binary
60%{_libexecdir}/lxdm-greeter-gtk
eea1c851
AL
61%{_sysconfdir}/lxdm/Xsession
62%config %{_sysconfdir}/lxdm/lxdm.conf
63%{_sysconfdir}/pam.d/lxdm
64
65%changelog
66