50 |
Patch38: webmin-ssldir-cosmetic.diff |
Patch38: webmin-ssldir-cosmetic.diff |
51 |
Patch39: webmin-fix-bandwith.diff |
Patch39: webmin-fix-bandwith.diff |
52 |
Patch40: webmin-fix-sarg.diff |
Patch40: webmin-fix-sarg.diff |
53 |
|
Patch41: webmin-1.610-urpmi.patch |
54 |
Requires(pre): rpm-helper |
Requires(pre): rpm-helper |
55 |
Requires: perl |
Requires: perl |
56 |
Requires: perl-CGI |
Requires: perl-CGI |
97 |
%patch38 -p1 |
%patch38 -p1 |
98 |
%patch39 -p1 |
%patch39 -p1 |
99 |
%patch40 -p1 |
%patch40 -p1 |
100 |
# use MD5 by default |
%patch41 -p0 |
101 |
|
|
102 |
find bind8 -type f -maxdepth 1 | xargs perl -pi -e 's|/var/run/named\.pid|/var/run/named/named.pid|' |
find bind8 -type f -maxdepth 1 | xargs perl -pi -e 's|/var/run/named\.pid|/var/run/named/named.pid|' |
103 |
|
|
104 |
# daouda: added mageia-linux to known OS |
# daouda: added mageia-linux to known OS |
105 |
cp config-mandrake-linux config-mageia |
cp config-mandrake-linux config-mageia |
106 |
|
|
107 |
perl -pi -e 's|redhat-linux(?! mageia)|redhat-linux mageia| if $_ =~ /^os_support.*redhat-linux/ && $_ !~ /mageia/' */module.info |
perl -pi -e 's|mandrake-linux|mageia mandrake-linux| if $_ =~ /^os_support.*mandrake-linux/ && $_ !~ /mageia/' */module.info |
108 |
|
perl -pi -e 's|mageia|mageia{-r "/etc/named.boot"}| if $_ =~ /^os_support.*mageia/' dnsadmin/module.info |
109 |
#' |
#' |
110 |
perl -pi -e 's|/etc/smb\.conf|/etc/samba/smb\.conf|' samba/config-mageia |
perl -pi -e 's|/etc/smb\.conf|/etc/samba/smb\.conf|' samba/config-mandrake-linux |
111 |
|
|
112 |
(find . -name '*.cgi' ; find . -name '*.pl') | perl perlpath.pl /usr/bin/perl - |
(find . -name '*.cgi' ; find . -name '*.pl') | perl perlpath.pl /usr/bin/perl - |
113 |
rm -f mount/freebsd-mounts-* |
rm -f mount/freebsd-mounts-* |
166 |
|
|
167 |
# XDG menu |
# XDG menu |
168 |
install -d %{buildroot}%{_datadir}/applications |
install -d %{buildroot}%{_datadir}/applications |
169 |
cat > %{buildroot}%{_datadir}/applications/mandriva-%{name}.desktop << EOF |
cat > %{buildroot}%{_datadir}/applications/mageia-%{name}.desktop << EOF |
170 |
[Desktop Entry] |
[Desktop Entry] |
171 |
Name=%{name} |
Name=%{name} |
172 |
Comment=%{summary} |
Comment=%{summary} |
174 |
Icon=%{name} |
Icon=%{name} |
175 |
Terminal=false |
Terminal=false |
176 |
Type=Application |
Type=Application |
177 |
Categories=X-MandrivaLinux-System-Configuration-Other;Settings; |
Categories=X-Mageia-System-Configuration-Other;Settings; |
178 |
EOF |
EOF |
179 |
|
|
180 |
rm -fr %{buildroot}/usr/share/webmin/acl/Authen-SolarisRBAC-0.1 |
rm -fr %{buildroot}/usr/share/webmin/acl/Authen-SolarisRBAC-0.1 |
218 |
%{_liconsdir}/%{name}.png |
%{_liconsdir}/%{name}.png |
219 |
%{_miconsdir}/%{name}.png |
%{_miconsdir}/%{name}.png |
220 |
%{_datadir}/applications/*.desktop |
%{_datadir}/applications/*.desktop |
|
|
|
|
|
|