]> git.pld-linux.org Git - packages/libutempter.git/blob - libutempter.spec
36f95049a0f8995c5345f0b1b5d51423539ce28e
[packages/libutempter.git] / libutempter.spec
1 Summary:        Privledged helper for utmpx updates
2 Summary(pl):    Biblioteka pozwalaj±ca na zapisywanie w utmpx
3 Name:           utempter
4 Version:        0.5.2
5 Release:        3
6 License:        MIT
7 Group:          Base
8 Group(de):      Gründsätzlich
9 Group(pl):      Podstawowe
10 Source0:        %{name}-%{version}.tar.gz
11 Patch0:         %{name}-lastlog.patch
12 Prereq:         /sbin/ldconfig
13 Prereq:         SysVinit >= 2.76-14
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %description
17 Utempter is a utility which allows programs to log information to a
18 privledged file (/var/run/utmpx), without compromising system
19 security. It accomplishes this task by acting as a buffer between root
20 and the programs.
21
22 %description -l pl
23 Utempter jest programem pozwalaj±cym na zapisywanie uzytkownikom do
24 pliku /var/run/utmpx bez naruszania bezpieczeñstwa systemu.
25
26 %package devel
27 Summary:        utempter library header files
28 Group:          Development/Libraries
29 Group(de):      Entwicklung/Libraries
30 Group(fr):      Development/Librairies
31 Group(pl):      Programowanie/Biblioteki
32 Requires:       %{name} = %{version}
33
34 %description devel
35 utempter library header files.
36
37 %description -l pl devel
38 Pliki nag³ówkowe utempter.
39
40 %prep
41 %setup -q
42 %patch -p1
43
44 %build
45 %{__make} CFLAGS="%{rpmcflags}"
46
47 %install
48 rm -rf $RPM_BUILD_ROOT
49 %{__make} PREFIX=$RPM_BUILD_ROOT install
50
51 install -d $RPM_BUILD_ROOT/var/run
52 :> $RPM_BUILD_ROOT/var/run/utmpx
53  
54 %post   -p /sbin/ldconfig
55 %postun -p /sbin/ldconfig
56
57 %clean
58 rm -rf $RPM_BUILD_ROOT
59
60 %files
61 %defattr(644,root,root,755)
62 %attr(2755,root,utmp) %{_sbindir}/*
63 %attr(0755,root,root) %{_libdir}/lib*.so.*
64
65 %attr(664,root,utmp) %ghost /var/run/utmpx
66
67 %files devel
68 %defattr(644,root,root,755)
69 %attr(755,root,root) %{_libdir}/lib*.so
70 %{_includedir}/utempter.h
This page took 0.033259 seconds and 2 git commands to generate.