Пакет grdesktop: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 | Name: grdesktop Version: 0.23 Release: alt0.3.qa2 Summary: A gtk2 frontend for rdesktop License: GPL Group: Networking/Remote access Url: http://www.nongnu.org/grdesktop/ Packager: Vitaly Lipatov <lav@altlinux.ru> Source: %name-%version.tar.bz2 #Patch0: %name-keypath-patch # Typical environment for GNOME program Requires(post): GConf2 BuildPreReq: GConf2 BuildPreReq: desktop-file-utils BuildPreReq: menu-devel # Automatically added by buildreq on Thu Aug 18 2005 BuildRequires: GConf2 ORBit2-devel esound fontconfig freetype2 glib2-devel gnome-vfs2-devel libGConf2-devel libart_lgpl-devel libatk-devel libbonobo2-devel libbonoboui-devel libgnome-devel libgnome-keyring libgnomecanvas-devel libgnomeui-devel libgtk+2-devel libpango-devel libpopt-devel libxml2-devel pkgconfig rdesktop scrollkeeper #Requires: XFree86 rdesktop libgtk+2 %description grdesktop is a frontend, written in C using the GTK+ 2 toolkit, for the remote desktop client (rdesktop). It can save several connections (including their options), and browse the network for available terminal servers. %prep %setup -q #%patch0 -p1 %__subst "s|@GETTEXT_PACKAGE@|@PACKAGE@|g" po/Makefile* %build #autoreconf -isfv %configure --with-keymap-path=%_datadir/rdesktop/keymaps --disable-schemas-install %make %install %makeinstall # TODO: make a patch and report to upstream cat > %buildroot%_desktopdir/%{name}.desktop <<EOF [Desktop Entry] Type=Application Version=1.0 Name=%name GenericName=Remotedesktop Client Comment=GTK+2 frontend for rdesktop. Connect to a remote Windows Terminal-Server Comment[de]=Verbindet zu einem entfernten Windows Terminal-Server Exec=grdesktop Icon=grdesktop Terminal=false Actions=Full; Categories=Network;RemoteAccess; [Desktop Action Full] Exec=grdesktop EOF %find_lang %name --with-gnome rm -rf %buildroot%_localstatedir/scrollkeeper %post %gconf2_install %name %preun if [ $1 = 0 ]; then %gconf2_uninstall %name fi %files -f %name.lang %_bindir/* %_man1dir/* %_pixmapsdir/* #%_datadir/locale/* %_desktopdir/*.desktop %_datadir/application-registry/* %_datadir/mime-info/* %config %_sysconfdir/gconf/schemas/* %doc AUTHORS ChangeLog NEWS README TODO doc %changelog * Sat Apr 09 2011 Igor Vlasenko <viy@altlinux.ru> 0.23-alt0.3.qa2 - NMU: .desktop file cleanup - BR: cleanup agains new sisyphus_check * Wed Dec 02 2009 Repocop Q. A. Robot <repocop@altlinux.org> 0.23-alt0.3.qa1 - NMU (by repocop): the following fixes applied: * desktop-mime-entry for grdesktop * update_menus for grdesktop * obsolete-call-in-post-scrollkeeper-update for grdesktop * postclean-05-filetriggers for spec file * Sun Apr 02 2006 Vitaly Lipatov <lav@altlinux.ru> 0.23-alt0.3 - remove INSTALL - set Packager - remove Debian menu * Thu Sep 08 2005 Vitaly Lipatov <lav@altlinux.ru> 0.23-alt0.2 - NMU: fix bug with locale install * Thu Aug 18 2005 Vitaly Lipatov <lav@altlinux.ru> 0.23-alt0.1 - NMU: new version (GNOME build) - update spec * Thu Feb 06 2003 Dmitry Malenko <maldim@altlinux.ru> 0.18-alt3 - Added patch to look for rdesktop keymaps in proper place * Wed Jan 29 2003 Dmitry Malenko <maldim@altlinux.ru> 0.18-alt2 - Spec cleanup * Fri Jan 24 2003 Dmitry Malenko <maldim@altlinux.ru> 0.18-alt1 - Packaged for ALT |