]> git.pld-linux.org Git - packages/authconfig.git/blame - authconfig.spec
- masive changes:
[packages/authconfig.git] / authconfig.spec
CommitLineData
4fc1e27c 1Summary: Text-mode tool for setting up NIS and shadow passwords.
2Name: authconfig
3Version: 1.7
3bf49912 4Release: 3
4fc1e27c 5Copyright: GPL
6ExclusiveOS: Linux
7Group: Base
52419c9f 8Group(pl): Podstawy
4fc1e27c 9Source: %{name}-%{version}.tar.gz
10BuildPrereq: newt-devel
11BuildPrereq: popt-devel
12BuildPrereq: slang-devel
13BuildRoot: /tmp/%{name}-%{version}-root
17d347cf 14
15%description
4fc1e27c 16Authconfig is a terminal mode program for setting up Network Information
17Service (NIS) and shadow (more secure) passwords on your system. Authconfig
18also configures the system to automatically turn on NIS at system startup.
17d347cf 19
20%prep
21%setup -q
22
23%build
dd879e03 24make CFLAGS="-DVERSION=\"${VERSION}\" $RPM_OPT_FLAGS -Wall"
17d347cf 25
26%install
4fc1e27c 27rm -rf $RPM_BUILD_ROOT
17d347cf 28make INSTROOT=$RPM_BUILD_ROOT install
29
de0e453f 30gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man8/*
4fc1e27c 31
de0e453f 32mv $RPM_BUILD_ROOT%{_mandir} $RPM_BUILD_ROOT/usr/share
3bf49912 33
17d347cf 34%clean
35rm -rf $RPM_BUILD_ROOT
36
37%files
4fc1e27c 38%defattr(644,root,root,755)
39%attr(755,root,root) /usr/sbin/authconfig
dd879e03 40
4fc1e27c 41%lang(hu) /usr/share/locale/hu/LC_MESSAGES/authconfig.mo
42%lang(in) /usr/share/locale/in/LC_MESSAGES/authconfig.mo
43%lang(no) /usr/share/locale/no/LC_MESSAGES/authconfig.mo
44%lang(sk) /usr/share/locale/sk/LC_MESSAGES/authconfig.mo
17d347cf 45
de0e453f 46%{_mandir}/man8/*
dd879e03 47
17d347cf 48%changelog
3bf49912 49