Summary: Privledged helper for utmpx updates Summary(pl): Biblioteka pozwalająca na zapisywanie w utmpx Name: utempter Version: 0.5.2 Release: 3 Copyright: MIT Group: Base Group(pl): Podstawowe Source: %{name}-%{version}.tar.gz Patch: utempter-lastlog.patch Prereq: /sbin/ldconfig Prereq: SysVinit >= 2.76-14 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description Utempter is a utility which allows programs to log information to a privledged file (/var/run/utmpx), without compromising system security. It accomplishes this task by acting as a buffer between root and the programs. %description -l pl Utempter jest programem pozwalającym na zapisywanie uzytkownikom do pliku /var/run/utmpx bez naruszania bezpieczeństwa systemu. %package devel Summary: utempter library header files Group: Development/Libraries Group(pl): Programowanie/Biblioteki Requires: %{name} = %{version} %description devel utempter library header files. %description -l pl devel Pliki nagłówkowe utempter. %prep %setup -q %patch -p1 %build make CFLAGS="$RPM_OPT_FLAGS" %install rm -rf $RPM_BUILD_ROOT make PREFIX=$RPM_BUILD_ROOT install strip --strip-unneeded $RPM_BUILD_ROOT%{_libdir}/lib*.so.*.* strip $RPM_BUILD_ROOT%{_sbindir}/* install -d $RPM_BUILD_ROOT/var/run :> $RPM_BUILD_ROOT/var/run/utmpx %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) %attr(2755,root,utmp) %{_sbindir}/* %attr(0755,root,root) %{_libdir}/lib*.so.* %attr(664,root,utmp) %ghost /var/run/utmpx %files devel %defattr(644,root,root,755) %attr(755,root,root) %{_libdir}/lib*.so %{_includedir}/utempter.h