]> git.pld-linux.org Git - SPECS.git/blob - qingy.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / qingy.spec
1 #
2 #       TODO:
3 #               - console locking mechanism is broken (as of 0.6.0) 
4 #               - have some bugs - pretty, but not 'rock solid stable' :-( 
5 #               - bcond for screensavers, x, ...
6 #               - !BR /proc/cpuinfo
7
8 Summary:        Qingy - a replacement for getty
9 Summary(pl.UTF-8):      Qingy - zastępca getty
10 Name:           qingy
11 Version:        0.9.7
12 Release:        1
13 License:        GPL
14 Group:          Applications/System
15 Source0:        http://dl.sourceforge.net/qingy/%{name}-%{version}.tar.bz2
16 # Source0-md5:  710592c7dea0a255da2499cbea50da84
17 Patch0:         %{name}-ncurses.patch
18 Patch1:         %{name}-no-opt.patch
19 URL:            http://qingy.sourceforge.net/
20 BuildRequires:  DirectFB-devel
21 BuildRequires:  autoconf
22 BuildRequires:  fbset
23 BuildRequires:  ncurses-devel
24 BuildRequires:  pam-devel
25 BuildRequires:  pkgconfig
26 BuildRequires:  xorg-lib-libXScrnSaver-devel
27 BuildRequires:  xorg-proto-scrnsaverproto-devel
28 Requires:       DirectFB-font-ft2
29 Requires:       DirectFB-image-png
30 Requires:       DirectFB-image-jpeg
31 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
32
33 %description
34 Qingy is a replacement for getty. It uses DirectFB to provide a fast,
35 nice GUI without the overhead of the X Window System. It allows the
36 user to log in and start the session of his choice (text terminal,
37 GNOME, KDE, wmaker, etc.).
38
39 Note: the console locking mechanism is broken in this release.
40
41 %description -l pl.UTF-8
42 Qingy jest zastępcą getty. Używa DirectFB aby zapewnić szybkie, ładne
43 GUI bez nadmiarowości X Window System. Pozwala użytkownikom zalogować
44 się i wybrać sesję (terminal tekstowy, GNOME, KDE, wmaker, itp.).
45
46 Uwaga: mechanizm blokowania konsoli nie działa poprawnie w tej wersji.
47
48 %prep
49 %setup -q
50 %patch0 -p1
51 %patch1 -p1
52
53 %build
54 %{__libtoolize}
55 %{__aclocal}
56 %{__autoconf}
57 %{__autoheader}
58 %{__automake}
59 %configure \
60         --enable-gpm-lock \
61         --enable-optimizations \
62         --enable-pam \
63         --enable-x-support \
64         --enable-DirectFB-support \
65         --disable-screen-savers \
66         --with-themes-dir=%{_datadir}/%{name}/themes
67         
68 #--disable-shadow       don't use shadow for authentication
69 #--enable-static-build  compile qingy statically (default is no)
70 #--enable-crypto=<arg>  make qingy encrypt communications with its user interface. Supported crypto libraries are: none (no
71 #                       encryption), openssl (openssl RSA encryption), libgcrypt (GNU libgcrypt RSA encryption)
72 #--with-screen-savers-dir specify screen savers directory
73
74 %{__make}
75
76 %install
77 rm -rf $RPM_BUILD_ROOT
78
79 %{__make} install \
80         DESTDIR=$RPM_BUILD_ROOT
81 install -d $RPM_BUILD_ROOT%{_sysconfdir}/X11/Sessions
82
83 %clean
84 rm -rf $RPM_BUILD_ROOT
85
86 %files
87 %defattr(644,root,root,755)
88 %doc AUTHORS ChangeLog NEWS README THANKS TODO
89 %dir %{_sysconfdir}/%{name}
90 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/settings
91 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/welcomes
92 %{_sysconfdir}/%{name}/sessions
93 %{_datadir}/%{name}
94 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/pam.d/%{name}
95 %{_libdir}/%{name}
96 %attr(755,root,root) %{_sbindir}/*
97 %{_infodir}/*.info*
98 %dir %{_sysconfdir}/X11/Sessions
This page took 0.188975 seconds and 3 git commands to generate.