Buildroot: /home/elementary/appimaged-0.1 Name: appimaged Version: 0.1 Release: 2 Summary: Daemon for AppImage integration into GNOME License: see /usr/share/doc/appimaged/copyright Distribution: Debian Group: Converted/misc %define _rpmdir ../ %define _rpmfilename %%{NAME}-%%{VERSION}-%%{RELEASE}.%%{ARCH}.rpm %define _unpackaged_files_terminate_build 0 %post #!/bin/sh -e # Automatically added by dh_pysupport if which update-python-modules >/dev/null 2>&1; then update-python-modules appimaged.private fi # End automatically added section mkdir /Applications 2>/dev/null || echo "/Applications already exists" # Pre-populate existing users' home directories, # otherwise they need to log in twice before Gnome picks up the # desktop file location echo "Installing ~/.local/share/applications/appimage" HOMES="$(ls -l /home/ | tail -1 | awk '{ print $3 "/" $8}')" for HOME in "${HOMES}" ; do USER=$(echo "${HOME}" | cut -d / -f 1) DIR=$(echo "${HOME}" | cut -d / -f 2) mkdir -p "/home/${DIR}/.local/share/applications/appimage" || echo "" chown -R "${USER}" "/home/${DIR}/.local" || echo "" done # For Fedora-like systems (e.g., MeeGo Netbook 1.1) if [ -e /etc/init.d/fuse ] ; then ln -sf /etc/init.d/fuse /etc/rc.d/rc5.d/S25fuse || echo "" ln -sf /etc/init.d/fuse /etc/rc.d/rc4.d/S25fuse || echo "" ln -sf /etc/init.d/fuse /etc/rc.d/rc3.d/S25fuse || echo "" ln -sf /etc/init.d/fuse /etc/rc.d/rc2.d/S25fuse || echo "" ln -sf /etc/init.d/fuse /etc/rc.d/rc1.d/S25fuse || echo "" /etc/init.d/fuse start || echo "" fi echo "You need to log out of your GNOME session for this to take effect" # Make sure the script returns 0 true %preun #!/bin/sh set -e # Automatically added by dh_pysupport if which update-python-modules >/dev/null 2>&1; then update-python-modules -c appimaged.private fi # End automatically added section %description Note that you have to log out of GNOME for the changes to become effective (Converted from a deb package by alien version 8.79ubuntu0.1.) %files %dir "/" %dir "/etc/" %dir "/etc/skel/" %dir "/etc/skel/Desktop/" %config "/etc/skel/Desktop/About this customized system" %dir "/etc/skel/Applications/" %dir "/etc/skel/.local/" %dir "/etc/skel/.local/share/" %dir "/etc/skel/.local/share/applications/" %dir "/etc/skel/.local/share/applications/appimage/" %dir "/etc/xdg/" %dir "/etc/xdg/autostart/" %config "/etc/xdg/autostart/appimaged.desktop" %dir "/usr/" %dir "/usr/bin/" "/usr/bin/cmginfo" "/usr/bin/make_appimage_executable" "/usr/bin/appimaged" %dir "/usr/share/" %dir "/usr/share/python-support/" "/usr/share/python-support/appimaged.private" %dir "/usr/share/doc/" %dir "/usr/share/doc/appimaged/" "/usr/share/doc/appimaged/copyright" "/usr/share/doc/appimaged/changelog.Debian.gz" %dir "/usr/share/appimaged/" %dir "/usr/share/appimaged/AppImageKit/" "/usr/share/appimaged/AppImageKit/timesavers.py" "/usr/share/appimaged/AppImageKit/__init__.py" "/usr/share/appimaged/AppImageKit/AppImage.py" %dir "/usr/share/appimaged/AppImageKit/xxdg/" "/usr/share/appimaged/AppImageKit/xxdg/BaseDirectory.py" "/usr/share/appimaged/AppImageKit/xxdg/IniFile.py" "/usr/share/appimaged/AppImageKit/xxdg/__init__.py" "/usr/share/appimaged/AppImageKit/xxdg/Xocale.py" "/usr/share/appimaged/AppImageKit/xxdg/DesktopEntry.py" "/usr/share/appimaged/AppImageKit/xxdg/Exceptions.py" "/usr/share/appimaged/AppImageKit/AppDir.py" "/usr/share/appimaged/pyinotify.py"