1 |
blino |
72137 |
%define name draklive |
2 |
blino |
99843 |
%define version 1.2 |
3 |
blino |
72140 |
%define release %mkrel 1 |
4 |
blino |
72137 |
|
5 |
|
|
Summary: Live systems generation and copying tool |
6 |
|
|
Name: %{name} |
7 |
|
|
Version: %{version} |
8 |
|
|
Release: %{release} |
9 |
|
|
Source0: %{name}-%{version}.tar.xz |
10 |
|
|
License: GPLv2+ |
11 |
|
|
Group: System/Configuration/Other |
12 |
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot |
13 |
|
|
Url: http://wiki.mandriva.com/Development/Packaging/Tools/draklive |
14 |
|
|
BuildArch: noarch |
15 |
|
|
Requires: syslinux grub |
16 |
blino |
99844 |
Requires: cdrkit cdrkit-genisoimage mgatools |
17 |
blino |
99358 |
Requires: curl rsync dosfstools mtools patch squashfs-tools setarch urpmi |
18 |
blino |
72137 |
Suggests: draklive-config-One |
19 |
|
|
Suggests: drakx-installer-images drakx-installer-rescue |
20 |
|
|
Suggests: x11-server-xnest mkisofs |
21 |
|
|
|
22 |
|
|
%description |
23 |
blino |
72140 |
This tool lets you generate %{_vendor} live systems. |
24 |
blino |
72137 |
|
25 |
|
|
%prep |
26 |
|
|
%setup -q |
27 |
|
|
|
28 |
|
|
%build |
29 |
|
|
|
30 |
|
|
%install |
31 |
|
|
rm -rf %{buildroot} |
32 |
|
|
install -D -m 0755 %{name} %{buildroot}/%{_sbindir}/%{name} |
33 |
|
|
mkdir -p %{buildroot}/%{perl_vendorlib}/MDV/Draklive/ |
34 |
|
|
install -D -m 0755 lib/MDV/Draklive/*.pm %{buildroot}/%{perl_vendorlib}/MDV/Draklive/ |
35 |
|
|
|
36 |
|
|
%clean |
37 |
|
|
rm -rf %{buildroot} |
38 |
|
|
|
39 |
|
|
%files |
40 |
|
|
%defattr(-,root,root) |
41 |
|
|
%doc NEWS |
42 |
|
|
%{_sbindir}/%{name} |
43 |
|
|
%{perl_vendorlib}/MDV/Draklive/* |
44 |
|
|
|
45 |
|
|
|
46 |
|
|
|