]> git.pld-linux.org Git - packages/changepassword.git/blob - changepassword.spec
- back to /home/services
[packages/changepassword.git] / changepassword.spec
1 #TODO
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³
8 Name:           changepassword
9 Version:        0.7
10 Release:        3
11 License:        GPL
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/
16 Requires:       apache
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %define         _cgidir         /home/services/httpd/cgi-bin
20
21 %description
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.
25
26 %description -l pl
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.
30
31 %prep
32 %setup -q
33
34 %build
35 %configure \
36         --enable-cgidir=%{_cgidir} \
37         --enable-language=Polish \
38         --enable-smbpasswd=%{_sysconfdir}/smbpasswd \
39         --enable-squidpasswd=%{_sysconfdir}/squid/passwd
40
41 %{__make}
42
43 %install
44 rm -rf $RPM_BUILD_ROOT
45 install -d $RPM_BUILD_ROOT%{_cgidir}
46
47 install changepassword.cgi $RPM_BUILD_ROOT%{_cgidir}
48
49 %clean
50 rm -rf $RPM_BUILD_ROOT
51
52 %files
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
This page took 0.065975 seconds and 3 git commands to generate.