1 |
Name: isodumper |
2 |
Version: 0.24 |
3 |
Release: %mkrel 1 |
4 |
Summary: Tool for writing ISO images on a USB stick |
5 |
Summary(fr_FR): Outil pour écrire des images ISO sur une clé USB |
6 |
License: GPLv2+ and LGPLv2+ |
7 |
Group: System/Configuration |
8 |
URL: https://github.com/papoteur-mga/isodumper |
9 |
# wget https://github.com/papoteur-mga/isodumper/archive/%%{version}.tar.gz -O %%{name}-%%{version}.tar.gz |
10 |
Source0: %{name}-%{version}.tar.gz |
11 |
Patch0: isodumper-0.24-mga-fix_polkit_actions_for_mga3.patch |
12 |
BuildArch: noarch |
13 |
|
14 |
BuildRequires: imagemagick |
15 |
BuildRequires: intltool |
16 |
|
17 |
Requires: coreutils |
18 |
Requires: pango |
19 |
Requires: polkit |
20 |
Requires: procps |
21 |
Requires: python |
22 |
Requires: pygtk2.0-libglade |
23 |
Requires: udisks |
24 |
Requires: xterm |
25 |
# Needed only for Mageia 3, because polkit doesn't work as intended |
26 |
Requires: usermode-consoleonly |
27 |
|
28 |
%description |
29 |
A GUI tool for writing ISO images on a USB stick. |
30 |
It's a fork of usb-imagewriter. |
31 |
|
32 |
This software is written in python. |
33 |
|
34 |
%description -l fr_FR |
35 |
Un outil graphique pour écrire des images ISO sur une clé USB. |
36 |
C'est un fork de usb-imagewriter |
37 |
|
38 |
Ce logiciel est écrit en python. |
39 |
|
40 |
#-------------------------------------------------------------------- |
41 |
%prep |
42 |
%setup -q |
43 |
%apply_patches |
44 |
|
45 |
%build |
46 |
%make |
47 |
|
48 |
%install |
49 |
%makeinstall_std |
50 |
|
51 |
# Needed only for Mageia 3, because polkit doesn't work as intended |
52 |
mkdir -p %{buildroot}%{_sbindir} |
53 |
mv %{buildroot}%{_bindir}/%{name} %{buildroot}%{_sbindir}/%{name} |
54 |
pushd %{buildroot}%{_bindir} |
55 |
ln -s consolehelper %{name} |
56 |
popd |
57 |
|
58 |
%find_lang %{name} |
59 |
|
60 |
%files -f %{name}.lang |
61 |
%doc COPYING.GPL COPYING.LGPL CHANGELOG |
62 |
%{_bindir}/%{name} |
63 |
%{_sbindir}/%{name} |
64 |
%{_usr}/lib/%{name}/ |
65 |
%{_datadir}/%{name}/ |
66 |
%{_datadir}/polkit-1/actions/*.policy |
67 |
%{_datadir}/applications/%{name}.desktop |
68 |
%{_datadir}/pixmaps/%{name}.png |
69 |
%{_miconsdir}/%{name}.png |
70 |
%{_iconsdir}/%{name}.png |
71 |
%{_liconsdir}/%{name}.png |
72 |
%{_iconsdir}/hicolor/*/*/%{name}.* |