]> git.pld-linux.org Git - packages/changepassword.git/blob - changepassword.spec
- updated to 0.6-1
[packages/changepassword.git] / changepassword.spec
1 Summary:        ChangePassword
2 Summary(pl):    ChangePassword - modyfikator hase³
3 Name:           changepassword
4 Version:        0.6
5 Release:        1
6 License:        GPL
7 Group:          Networking/Admin
8 Source0:        http://dl.sourceforge.net/changepassword/%{name}-%{version}-1.tar.gz
9 # Source0-md5:  2c43424a7707f3e3e82d58d5ea971185
10 URL:            http://changepassword.sourceforge.net/
11 Requires:       apache
12 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13
14 %define         _cgidir         /home/services/httpd/html/cgi-bin
15
16 %description
17 ChangePassword modifies the passwords of passwd, Samba, and Squid
18 through the Web. All passwords are syncronized and changed in real
19 time through browsers like Mozilla, Netscape, IE, Opera, and others.
20
21 %description -l pl
22 ChangePassword modyfikuje has³a dla passwd, Samby i Squida za
23 po¶rednictwem interfejsu WWW. Wszystkie has³a s± synchronizowane i
24 zmieniane w trybie rzeczywistym.
25
26 %prep
27 %setup -q -n %{name}-%{version}-1
28
29 %build
30 %configure \
31         --enable-cgidir=/home/services/httpd/html/cgi-bin \
32         --enable-language=Polish \
33         --enable-smbpasswd=%{_sysconfdir}/smbpasswd \
34         --enable-squidpasswd=%{_sysconfdir}/squid/passwd
35
36 %{__make}
37
38 %install
39 rm -rf $RPM_BUILD_ROOT
40 install -d $RPM_BUILD_ROOT%{_cgidir}
41
42 install changepassword.cgi     $RPM_BUILD_ROOT%{_cgidir}
43
44 %clean
45 rm -rf $RPM_BUILD_ROOT
46
47 %files
48 %defattr(644,root,root,755)
49 %doc {README,CHANGELOG,LICENSE,BUGS,TODO}
50 %attr(755,root,root) %{_cgidir}/changepassword.cgi
This page took 0.06364 seconds and 3 git commands to generate.