diff options
author | SARL ENR-68 <david@david.david> | 2013-12-22 22:58:54 +0100 |
---|---|---|
committer | SARL ENR-68 <david@david.david> | 2013-12-22 22:58:54 +0100 |
commit | 2e6c8115416714c469b79ba93d3cc6f59b569585 (patch) | |
tree | 2a481ace6206763bc760f01bb7252a0841d7e8d1 | |
parent | e3a4978e3ea5e99e97d58302b43656ba70681126 (diff) | |
download | isodumper-2e6c8115416714c469b79ba93d3cc6f59b569585.tar isodumper-2e6c8115416714c469b79ba93d3cc6f59b569585.tar.gz isodumper-2e6c8115416714c469b79ba93d3cc6f59b569585.tar.bz2 isodumper-2e6c8115416714c469b79ba93d3cc6f59b569585.tar.xz isodumper-2e6c8115416714c469b79ba93d3cc6f59b569585.zip |
Modifications to have authentication with polkit
-use mageia polkit policy instead of usermode.
-drop usermode-consoleonly package.
-update Makefile.
-update spec file.
-update Readme file.
-update Changelog file.
-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 |