1 |
%define name drakwizard |
2 |
%define version 3.7.7 |
3 |
%define release %mkrel 1 |
4 |
|
5 |
Name: %{name} |
6 |
Version: %{version} |
7 |
Release: %{release} |
8 |
Source0: %{name}-%{version}.tar.xz |
9 |
Source1: %name.png |
10 |
License: GPL |
11 |
Group: System/Configuration/Other |
12 |
Requires: perl-base, usermode, perl-Locale-gettext, drakxtools >= 9.1-0.4mdk, perl-Libconf >= 0.39.19, drakwizard-base = %{version}-%{release} |
13 |
BuildRequires: gettext-base, perl-base |
14 |
Buildroot: %{_tmppath}/%{name} |
15 |
BuildArch: noarch |
16 |
Prefix: %{_prefix} |
17 |
Obsoletes: wizards_lib-dhcp wizards_lib-ftp wizards_lib-web wizards_lib wizard wizards_lib-time wizards_lib-global wizards_lib-dns wizards_lib-server wizards_lib-proxy wizards_lib-db wizards_lib-news wizards_lib-firewall wizards_lib-client wizards_lib-common wizards_lib-postfix |
18 |
Provides: wizards_lib-dhcp wizards_lib-ftp wizards_lib-web wizards_lib wizard wizards_lib-time wizards_lib-global wizards_lib-dns wizards_lib-server wizards_lib-proxy wizards_lib-db wizards_lib-news wizards_lib-firewall wizards_lib-client wizards_lib-common wizards_lib-postfix |
19 |
Summary: Wizard Launcher and its collection of wizards |
20 |
URL: http://svn.mandriva.com/cgi-bin/viewvc.cgi/soft/drakwizard/trunk/ |
21 |
|
22 |
%description |
23 |
drakwizard allows you to launch : |
24 |
- server wizard: configures basic services. |
25 |
- global wizard: wizard that launch each other. |
26 |
- dhcpd, dns, ftp, apache, time wizards, ssh. |
27 |
|
28 |
%package base |
29 |
Summary: Base of Wizard Launcher |
30 |
Group: System/Configuration/Other |
31 |
Conflicts: drakwizard < 3.0-1mdk |
32 |
|
33 |
%description base |
34 |
Base package for drakwizard. |
35 |
|
36 |
%prep |
37 |
%setup -q |
38 |
|
39 |
%build |
40 |
|
41 |
%install |
42 |
rm -rf $RPM_BUILD_ROOT |
43 |
%makeinstall |
44 |
%find_lang %{name} |
45 |
|
46 |
%clean |
47 |
rm -rf $RPM_BUILD_ROOT |
48 |
rm -rf $RPM_BUILD_DIR/$RPM_PACKAGE_NAME |
49 |
|
50 |
%files base -f %{name}.lang |
51 |
%defattr(-,root,root) |
52 |
%doc TODO README.adding_wizard |
53 |
%config(noreplace) %_sysconfdir/gnome-vfs-2.0/vfolders/* |
54 |
%_sbindir/drakwizard |
55 |
%{perl_vendorlib}/MDK/Wizard/Apache.pm |
56 |
%{perl_vendorlib}/MDK/Wizard/Varspaceval.pm |
57 |
%{perl_vendorlib}/MDK/Wizard/Wizcommon.pm |
58 |
%{perl_vendorlib}/MDK/Wizard/Wizcommon_gtk2.pm |
59 |
%{perl_vendorlib}/MDK/Wizard/IFCFG.pm |
60 |
%_datadir/wizards/desktop/* |
61 |
|
62 |
%files -f %{name}.lang |
63 |
%defattr(-,root,root) |
64 |
%{perl_vendorlib}/MDK/Wizard/Bind.pm |
65 |
%{perl_vendorlib}/MDK/Wizard/Dhcp.pm |
66 |
%{perl_vendorlib}/MDK/Wizard/Ntp.pm |
67 |
%{perl_vendorlib}/MDK/Wizard/Proftpd.pm |
68 |
%{perl_vendorlib}/MDK/Wizard/Squid.pm |
69 |
%{perl_vendorlib}/MDK/Wizard/Sshd.pm |
70 |
%_datadir/wizards/sshd_wizard |
71 |
%_datadir/wizards/dhcp_wizard |
72 |
%_datadir/wizards/dns_wizard |
73 |
%_datadir/wizards/ftp_wizard |
74 |
%_datadir/wizards/proxy_wizard |
75 |
|
76 |
|