Imported Upstream version 0.1.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
17BuildRequires: gtk2-devel libXmu-devel pam-devel intltool
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
31# a make macro should be used here
32# even a "job based" make if possible
33# %__make %{?jobs:-j%{jobs}}
34
35%__make
36
37%install
38make DESTDIR=${RPM_BUILD_ROOT} install
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# exactly as "%find_lang" macro
54%files -f %{name}.lang
55%defattr (-,root,root,-)
56%doc AUTHORS NEWS README COPYING INSTALL ChangeLog
57%dir %{_datadir}/lxdm/
58%{_datadir}/lxdm/*
59%dir %{_sysconfdir}/lxdm/
60%{_bindir}/lxdm
61%{_bindir}/lxdm-binary
62%{_bindir}/lxdm-greeter-gtk
63%{_sysconfdir}/lxdm/Xsession
64%config %{_sysconfdir}/lxdm/lxdm.conf
65%{_sysconfdir}/pam.d/lxdm
66
67%changelog
68