1 Summary: Privledged helper for utmpx updates
2 Summary(pl): Biblioteka pozwalaj±ca na zapisywanie w utmpx
9 Source0: %{name}-%{version}.tar.gz
10 Patch0: utempter-lastlog.patch
11 Prereq: /sbin/ldconfig
12 Prereq: SysVinit >= 2.76-14
13 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16 Utempter is a utility which allows programs to log information to a
17 privledged file (/var/run/utmpx), without compromising system
18 security. It accomplishes this task by acting as a buffer between root
22 Utempter jest programem pozwalaj±cym na zapisywanie uzytkownikom do
23 pliku /var/run/utmpx bez naruszania bezpieczeñstwa systemu.
26 Summary: utempter library header files
27 Group: Development/Libraries
28 Group(fr): Development/Librairies
29 Group(pl): Programowanie/Biblioteki
30 Requires: %{name} = %{version}
33 utempter library header files.
35 %description -l pl devel
36 Pliki nag³ówkowe utempter.
43 %{__make} CFLAGS="$RPM_OPT_FLAGS"
46 rm -rf $RPM_BUILD_ROOT
47 %{__make} PREFIX=$RPM_BUILD_ROOT install
49 strip --strip-unneeded $RPM_BUILD_ROOT%{_libdir}/lib*.so.*.*
50 strip $RPM_BUILD_ROOT%{_sbindir}/*
52 install -d $RPM_BUILD_ROOT/var/run
53 :> $RPM_BUILD_ROOT/var/run/utmpx
55 %post -p /sbin/ldconfig
56 %postun -p /sbin/ldconfig
59 rm -rf $RPM_BUILD_ROOT
62 %defattr(644,root,root,755)
63 %attr(2755,root,utmp) %{_sbindir}/*
64 %attr(0755,root,root) %{_libdir}/lib*.so.*
66 %attr(664,root,utmp) %ghost /var/run/utmpx
69 %defattr(644,root,root,755)
70 %attr(755,root,root) %{_libdir}/lib*.so
71 %{_includedir}/utempter.h