diff options
-rw-r--r-- | CHANGELOG | 1 | ||||
-rw-r--r-- | Makefile | 19 | ||||
-rw-r--r-- | README.md | 7 | ||||
-rw-r--r-- | isodumper.spec | 11 |
4 files changed, 26 insertions, 12 deletions
@@ -5,6 +5,7 @@ IsoDumper 0.20 ------------ - added function to backup the content of the device before overwriting. - added Release number in the window title (on isodumper.py). + - use mageia polkit policy instead of usermode. - added and update Estonian translations. - updated de,fr,id,ro,sl,sv,zh_TW,tr,uk,pt_BR,ru,es and it translations. @@ -17,6 +17,8 @@ PREFIX=/usr/local BINDIR=$(PREFIX)/bin SBINDIR=$(PREFIX)/sbin LIBDIR=$(PREFIX)/lib +LIBEXECDIR=$(PREFIX)/libexec +POLKITPOLICYDIR=$(PREFIX)/share/polkit-1/actions DATADIR=$(PREFIX)/share ICONSDIR=$(PREFIX)/share/icons PIXMAPSDIR=$(PREFIX)/share/pixmaps @@ -34,12 +36,19 @@ clean: install: all - # for binary file isodumper on /usr/sbin/ - mkdir -p $(DESTDIR)$(SBINDIR) - install -m 755 isodumper $(DESTDIR)$(SBINDIR) - # Adjust for console-helper magic + # for binary file script isodumper on /usr/libexec/ + mkdir -p $(DESTDIR)$(LIBEXECDIR) + install -m 755 isodumper $(DESTDIR)$(LIBEXECDIR) + + # for binary file isodumper on /usr/bin/ + # to have authentication with polkit (use for mageia policy) mkdir -p $(DESTDIR)$(BINDIR) - cd $(DESTDIR)$(BINDIR); ln -s consolehelper isodumper + install -m 755 bin/isodumper $(DESTDIR)$(BINDIR) + + # for policy file isodumper on /usr/share/polkit-1/actions/ + # to have authentication with polkit (use for mageia policy) + mkdir -p $(DESTDIR)$(POLKITPOLICYDIR) + install -m 644 share/polkit-1/actions/org.mageia.isodumper.policy $(DESTDIR)$(POLKITPOLICYDIR) # for LIBFILES isodumper.py find_devices mkdir -p $(DESTDIR)$(LIBDIR)/isodumper @@ -8,12 +8,13 @@ Requirements ------------- - coreutils -- udisks +- pango +- polkit - procps +- pygtk2.0-libglade - python +- udisks - xterm -- pygtk2.0-libglade -- usermode-consoleonly License diff --git a/isodumper.spec b/isodumper.spec index 927f9e0..2d4310a 100644 --- a/isodumper.spec +++ b/isodumper.spec @@ -13,12 +13,14 @@ BuildArch: noarch BuildRequires: imagemagick Requires: coreutils -Requires: udisks +Requires: pango +Requires: polkit Requires: procps +Requires: pygtk2.0-libglade Requires: python +Requires: udisks Requires: xterm -Requires: pygtk2.0-libglade -Requires: usermode-consoleonly + %description A GUI tool for writing ISO images on a USB stick. @@ -46,10 +48,11 @@ Ce logiciel est écrit en python. %files -f %{name}.lang %doc COPYING CHANGELOG -%{_sbindir}/%{name} %{_bindir}/%{name} +%{_libexecdir}/%{name} %{_usr}/lib/%{name}/ %{_datadir}/%{name}/ +%{_datadir}/polkit-1/actions/*.policy %{_datadir}/applications/%{name}.desktop %{_datadir}/pixmaps/%{name}.png %{_miconsdir}/%{name}.png |