]> git.pld-linux.org Git - packages/changepassword.git/blame - changepassword.spec
- revert illegal use of sysconfdir macro
[packages/changepassword.git] / changepassword.spec
CommitLineData
adbbb0ef 1# TODO
82cbee68 2# - webapps
e882ca83 3# - move cgi binary to /usr/share/changepassword
4# - write changepassword.conf for apache redirection + execution
808a7f40
JB
5# - get sources for libdes and compile then instead of using
6# precompiled version for x86!!!
82cbee68
ER
7#
8# Conditional build:
9%bcond_without samba # without samba passwords support
10%bcond_without squid # without squid passwords support
11#
dffb2711 12Summary: ChangePassword
718b6420 13Summary(pl.UTF-8): ChangePassword - modyfikator haseł
dffb2711 14Name: changepassword
a54dbd64 15Version: 0.9
6d1b2271 16Release: 2
dffb2711
JB
17License: GPL
18Group: Networking/Admin
8cec02cc 19Source0: http://dl.sourceforge.net/changepassword/%{name}-%{version}.tar.gz
a54dbd64 20# Source0-md5: 7449a80c65db2e37c0aa3bb709926127
35d7321f 21Source1: pldlogo.png
dffb2711 22URL: http://changepassword.sourceforge.net/
adbbb0ef 23Requires: webserver = apache
dffb2711
JB
24BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
c32054d0 26%define _cgidir /home/services/httpd/cgi-bin
dffb2711
JB
27
28%description
29ChangePassword modifies the passwords of passwd, Samba, and Squid
30through the Web. All passwords are syncronized and changed in real
31time through browsers like Mozilla, Netscape, IE, Opera, and others.
32
a1f7bd27
JR
33%description -l pl.UTF-8
34ChangePassword modyfikuje hasła dla passwd, Samby i Squida za
35pośrednictwem interfejsu WWW. Wszystkie hasła są synchronizowane i
dffb2711
JB
36zmieniane w trybie rzeczywistym.
37
38%prep
27b01511 39%setup -q
35d7321f 40cp %{SOURCE1} .
dffb2711
JB
41
42%build
f0296771 43%configure \
27b01511 44 --enable-cgidir=%{_cgidir} \
dffb2711 45 --enable-language=Polish \
c32054d0 46 --enable-logo=pldlogo.png \
82cbee68
ER
47 --enable-smbpasswd=/etc/samba/smbpasswd \
48 --enable-squidpasswd=/etc/squid/passwd \
49%if %{without samba}
35d7321f
SP
50 --disable-smbpasswd \
51%endif
82cbee68 52%if %{without squid}
35d7321f
SP
53 --disable-squidpasswd
54%endif
dffb2711
JB
55
56%{__make}
57
58%install
59rm -rf $RPM_BUILD_ROOT
60install -d $RPM_BUILD_ROOT%{_cgidir}
35d7321f 61install -d $RPM_BUILD_ROOT/home/services/httpd/html
dffb2711 62
27b01511 63install changepassword.cgi $RPM_BUILD_ROOT%{_cgidir}
35d7321f 64install %{SOURCE1} $RPM_BUILD_ROOT/home/services/httpd/html
dffb2711
JB
65
66%clean
67rm -rf $RPM_BUILD_ROOT
68
69%files
70%defattr(644,root,root,755)
d7aa3bd7
JB
71%doc BUGS CHANGELOG README TODO
72%lang(pt_BR) %doc README.brazilian
f0296771 73%attr(755,root,root) %{_cgidir}/changepassword.cgi
df710144 74/home/services/httpd/html/pldlogo.png
This page took 0.087062 seconds and 4 git commands to generate.