2 # - move cgi binary to /usr/share/changepassword
3 # - write changepassword.conf for apache redirection + execution
4 # - get sources for libdes and compile then instead of using
5 # precompiled version for x86!!!
6 Summary: ChangePassword
7 Summary(pl): ChangePassword - modyfikator hase³
12 Group: Networking/Admin
13 Source0: http://dl.sourceforge.net/changepassword/%{name}-%{version}.tar.gz
14 # Source0-md5: b68a179e64dcffbfc4e410a84b6d3ecb
15 URL: http://changepassword.sourceforge.net/
17 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19 %define _cgidir /srv/httpd/cgi-bin
22 ChangePassword modifies the passwords of passwd, Samba, and Squid
23 through the Web. All passwords are syncronized and changed in real
24 time through browsers like Mozilla, Netscape, IE, Opera, and others.
27 ChangePassword modyfikuje has³a dla passwd, Samby i Squida za
28 po¶rednictwem interfejsu WWW. Wszystkie has³a s± synchronizowane i
29 zmieniane w trybie rzeczywistym.
36 --enable-cgidir=%{_cgidir} \
37 --enable-language=Polish \
38 --enable-smbpasswd=%{_sysconfdir}/smbpasswd \
39 --enable-squidpasswd=%{_sysconfdir}/squid/passwd
44 rm -rf $RPM_BUILD_ROOT
45 install -d $RPM_BUILD_ROOT%{_cgidir}
47 install changepassword.cgi $RPM_BUILD_ROOT%{_cgidir}
50 rm -rf $RPM_BUILD_ROOT
53 %defattr(644,root,root,755)
54 %doc BUGS CHANGELOG README TODO
55 %lang(pt_BR) README.brazilian
56 %attr(755,root,root) %{_cgidir}/changepassword.cgi