]>
Commit | Line | Data |
---|---|---|
1 | Summary: Text-mode tool for setting up NIS and shadow passwords. | |
2 | Name: authconfig | |
3 | Version: 1.7 | |
4 | Release: 4 | |
5 | Copyright: GPL | |
6 | ExclusiveOS: Linux | |
7 | Group: Base | |
8 | Group(pl): Podstawowe | |
9 | Source: %{name}-%{version}.tar.gz | |
10 | Patch: authconfig-make.patch | |
11 | BuildPrereq: newt-devel | |
12 | BuildPrereq: popt-devel | |
13 | BuildPrereq: slang-devel | |
14 | BuildRoot: /tmp/%{name}-%{version}-root | |
15 | ||
16 | %description | |
17 | Authconfig is a terminal mode program for setting up Network Information | |
18 | Service (NIS) and shadow (more secure) passwords on your system. Authconfig | |
19 | also configures the system to automatically turn on NIS at system startup. | |
20 | ||
21 | %prep | |
22 | %setup -q | |
23 | %patch -p1 | |
24 | ||
25 | %build | |
26 | make CFLAGS="-DVERSION=\"${VERSION}\" $RPM_OPT_FLAGS -Wall" | |
27 | ||
28 | %install | |
29 | rm -rf $RPM_BUILD_ROOT | |
30 | make INSTROOT=$RPM_BUILD_ROOT install | |
31 | ||
32 | gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man8/* | |
33 | ||
34 | %find_lang %{name} | |
35 | ||
36 | %clean | |
37 | rm -rf $RPM_BUILD_ROOT | |
38 | ||
39 | %files -f %{name}.lang | |
40 | %defattr(644,root,root,755) | |
41 | %attr(755,root,root) %{_sbindir}/authconfig | |
42 | %{_mandir}/man8/* |