Name: qingy Version: 0.9.9 Release: 1%{?dist} Summary: A DirectFB getty replacement Group: System Environment/Base License: GPLv2+ with exceptions URL: http://qingy.sourceforge.net Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2 Patch0: qingy-xorg-path.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: pam-devel BuildRequires: ncurses-devel BuildRequires: openssl-devel BuildRequires: directfb-devel >= 0.9.18 BuildRequires: libX11-devel BuildRequires: libXScrnSaver-devel %description qingy is a replacement for getty. Written in C, it uses DirectFB to provide a fast, nice GUI without the overhead of the X Windows System. It allows the user to log in and start the session of his choice (text console, gnome, kde, wmaker, ...) %prep %setup -q %patch0 -p1 %build %configure --disable-static \ --disable-optimizations \ --disable-gpm-lock make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' rm -f $RPM_BUILD_ROOT%{_infodir}/dir %clean rm -rf $RPM_BUILD_ROOT %post /sbin/install-info %{_infodir}/%{name}.info.gz %{_infodir}/dir %preun if [ "$1" = 0 ]; then /sbin/install-info --del %{_infodir}/%{name}.info.gz %{_infodir}/dir fi %files %defattr(-,root,root,-) %doc AUTHORS COPYING ChangeLog NEWS README THANKS TODO %dir %{_sysconfdir}/%{name} %config(noreplace) %{_sysconfdir}/%{name}/settings %config(noreplace) %{_sysconfdir}/%{name}/welcomes %config(noreplace) %{_sysconfdir}/pam.d/%{name} %{_sysconfdir}/%{name}/sessions %{_sbindir}/%{name} %{_sbindir}/%{name}-DirectFB %{_sbindir}/%{name}-reset-console %{_libdir}/%{name} %{_datadir}/%{name} %{_infodir}/%{name}* %changelog * Sat Mar 20 2010 Alexey Kurov - 0.9.9-1 - Initial RPM release