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