Sisyphus repository
Last update: 18 october 2019 | SRPMs: 17501 | Visits: 15289435
en ru br
ALT Linux repos

Group :: Graphical desktop/Other
RPM: repocop-demo-menu-altlinux-sisyphus

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: repocop-demo-menu-altlinux-sisyphus
Version: 0.04.20190622
Release: alt1

Summary: menu test with demo applications
License: %lgpl2plus
Group: Graphical desktop/Other

Source: %name-%version.tar
Packager: Igor Vlasenko <viy at>

BuildRequires(pre): rpm-build-licenses
BuildRequires: perl(File/ perl( perl(DBD/
BuildArch: noarch
Requires: /usr/bin/kdialog

The package contains demonstration versions of desktop menu entries for all
existing sisyphus applications. Use it for menu layout testing purposes.


#./generate_fake_menus freedesktop-desktop.db

mkdir -p %buildroot%_datadir/desktop-directories %buildroot%_sysconfdir/xdg/menus
mkdir -p %buildroot%_bindir

cp -a usr %buildroot/

cat > %buildroot%_bindir/demo-menu-entry << 'EOF'
categories=`grep '^Categories=' "$1"`
terminal=`grep '^X-Demo-Terminal=' "$1" | sed -e s,X-Demo-,,`
id=`grep '^X-Demo-ID=' "$1" | sed -e s,X-Demo-,,`
kdialog --title 'demo application' --msgbox 'This is menu demo, not a real application.\nUninstall %name to remove me.\n\n'"file=$1\n\n""$categories\n$terminal\n""$id"
chmod 755 %buildroot%_bindir/demo-menu-entry
install -Dm644 demo-menu-entry.png %buildroot%_liconsdir/demo-menu-entry.png



Full changelog you can see here

design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin