/[packages]/cauldron/isodumper/current/SPECS/isodumper.spec
ViewVC logotype

Contents of /cauldron/isodumper/current/SPECS/isodumper.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 552726 - (show annotations) (download)
Sun Nov 24 15:41:29 2013 UTC (7 years, 11 months ago) by akien
File size: 2637 byte(s)
- New upstream release 0.12, with changes:
- Correction of bugs in the device name and in the dialog box loops
- Added a catch of writing error

1 Name: isodumper
2 Version: 0.12
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+
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 BuildArch: noarch
12
13 BuildRequires: imagemagick
14 BuildRequires: usermode-consoleonly
15
16 Requires: coreutils
17 Requires: udisks
18 Requires: procps
19 Requires: python
20 Requires: xterm
21 Requires: pygtk2.0-libglade
22
23 %description
24 A GUI tool for writing ISO images on a USB stick.
25 It's a fork of usb-imagewriter.
26
27 This software is written in python.
28
29 %description -l fr_FR
30 Un outil graphique pour écrire des images ISO sur une clé USB.
31 C'est un fork de usb-imagewriter
32
33 Ce logiciel est écrit en python.
34
35 #--------------------------------------------------------------------
36 %prep
37 %setup -q
38
39 %build
40
41 %install
42 mkdir -p %{buildroot}%{_sbindir}
43 mkdir -p %{buildroot}%{_usr}/lib/%{name}
44 mkdir -p %{buildroot}%{_datadir}/%{name}
45
46 install -m 755 isodumper %{buildroot}%{_sbindir}/%{name}
47 install -m 644 share/%{name}/%{name}.glade %{buildroot}%{_datadir}/%{name}/%{name}.glade
48 install -m 644 share/%{name}/header.png %{buildroot}%{_datadir}/%{name}/header.png
49
50 # desktop menu entry
51 mkdir -p %{buildroot}%{_datadir}/applications
52 install -m 644 share/applications/%{name}.desktop %{buildroot}%{_datadir}/applications/%{name}.desktop
53
54 # LIBFILES isodumper.py find_devices
55 install -m 755 lib/find_devices %{buildroot}%{_usr}/lib/%{name}/find_devices
56 install -m 755 lib/%{name}.py %{buildroot}%{_usr}/lib/%{name}/%{name}.py
57
58 # isodumper.mo translations
59 pushd ./share/locale/
60 for locale in *
61 do
62 mkdir -p %{buildroot}%{_datadir}/locale/$locale/LC_MESSAGES
63 install -m 644 $locale/LC_MESSAGES/%{name}.mo \
64 "%{buildroot}%{_datadir}/locale/$locale/LC_MESSAGES/"
65 done
66 popd
67
68 # icons
69 mkdir -p %{buildroot}/{%{_liconsdir},%{_miconsdir},%{_iconsdir}}
70 convert %{name}.png -geometry 20x20 %{buildroot}/%{_miconsdir}/%{name}.png
71 convert %{name}.png -geometry 32x32 %{buildroot}/%{_iconsdir}/%{name}.png
72 convert %{name}.png -geometry 48x48 %{buildroot}/%{_liconsdir}/%{name}.png
73
74 # Adjust for console-helper magic
75 mkdir -p %{buildroot}%{_bindir}
76 pushd %{buildroot}%{_bindir}
77 ln -s consolehelper %{name}
78 popd
79
80 %find_lang %{name}
81
82 %files -f %{name}.lang
83 %doc COPYING CHANGELOG
84 %{_sbindir}/%{name}
85 %{_bindir}/%{name}
86 %{_usr}/lib/%{name}/
87 %{_datadir}/%{name}/
88 %{_datadir}/applications/%{name}.desktop
89 %{_miconsdir}/%{name}.png
90 %{_iconsdir}/%{name}.png
91 %{_liconsdir}/%{name}.png

  ViewVC Help
Powered by ViewVC 1.1.28