Package nxclient: 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 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 | %define ver 3.5.0 %define subver 7 Name: nxclient Version: %ver.%subver Release: alt1 Summary: NoMachine.com's NX client License: Proprietary Group: Networking/Remote access Url: http://www.nomachine.com Source0: %name-%ver-%subver.i386.tar Source1: %name-desktop.tar Source2: %name-mime.tar Source10: %name-%ver-%subver.x86_64.tar Packager: Boris Savelev <boris@altlinux.org> BuildRequires: nx = %ver BuildRequires: libXft-devel fontconfig-devel libfreetype-devel libcups-devel Requires: nx = %ver BuildRequires: desktop-file-utils %description NXClient is a X11/VNC/NXServer client especially tuned for using remote desktops over low-bandwidth links such as the Internet %prep %ifarch %ix86 %setup -b0 -n NX %else %setup -b10 -n NX %endif tar xf %SOURCE1 tar xf %SOURCE2 %install mkdir -p %buildroot%_bindir/ mkdir -p %buildroot%_libdir/%name/bin/ mkdir -p %buildroot%_libdir/%name/lib/ mkdir -p %buildroot%_datadir/%name/ # bin cp -ap bin/%name %buildroot%_libdir/%name/bin/ cp -ap bin/nxprint %buildroot%_libdir/%name/bin/ for f in esd ssh service ; do ln -s ../../../bin/nx$f %buildroot%_libdir/%name/bin/nx$f done cat >> %buildroot%_libdir/%name/bin/%name.cfg << EOF <!DOCTYPE NXClientSettings> <NXClientSettings application="nxclient" version="1.3" > <group name="General" > <option key="System NX dir" value="%_libdir/%name" /> </group> </NXClientSettings> EOF ln -s ../..%_libdir/%name/bin/%name %buildroot%_bindir/%name # lib # ln -s %_libdir/libXcomp.so.%ver %buildroot%_libdir/%name/lib/libXcomp.so ln -s ../../libXcomp.so.%ver %buildroot%_libdir/%name/lib/libXcomp.so # share cp -ap share/* %buildroot%_datadir/%name ln -s ../../share/%name %buildroot%_libdir/%name/share # desktop mkdir -p %buildroot%_desktopdir/ install -m644 %name-desktop/* %buildroot%_desktopdir/ # mime mkdir -p %buildroot%_datadir/mimelnk/application/ mkdir -p %buildroot%_datadir/mime/application/ install -m644 %name-mime/*.desktop %buildroot%_datadir/mimelnk/application/ install -m644 %name-mime/*.xml %buildroot%_datadir/mime/application/ desktop-file-install --dir %buildroot%_desktopdir \ --remove-category=Application \ --add-category=RemoteAccess \ %buildroot%_desktopdir/nxclient-wizard.desktop desktop-file-install --dir %buildroot%_desktopdir \ --remove-category=Application \ --add-category=RemoteAccess \ %buildroot%_desktopdir/nxclient.desktop desktop-file-install --dir %buildroot%_desktopdir \ --remove-category=Application \ --add-category=RemoteAccess \ %buildroot%_desktopdir/nxclient-help.desktop desktop-file-install --dir %buildroot%_desktopdir \ --remove-category=Application \ --add-category=RemoteAccess \ %buildroot%_desktopdir/nxclient-admin.desktop %files %_bindir/%name %_libdir/%name/ %_datadir/%name/ %_datadir/mime/application/* %_datadir/mimelnk/application/* %_desktopdir/* %changelog * Tue Jun 28 2011 Boris Savelev <boris@altlinux.org> 3.5.0.7-alt1 - 3.5.0.7 * Fri Jun 17 2011 Boris Savelev <boris@altlinux.org> 3.5.0.6-alt1 - 3.5.0 * Tue May 24 2011 Repocop Q. A. Robot <repocop@altlinux.org> 3.4.0.7-alt4.qa1 - NMU (by repocop). See http://www.altlinux.org/Tools/Repocop - applied repocop fixes: * freedesktop-desktop-file-proposed-patch for nxclient * Wed May 04 2011 Vitaly Lipatov <lav@altlinux.ru> 3.4.0.7-alt4 - fix dir creating with dash - add URL to source tarball (for rpmpub command support) * Mon Apr 25 2011 Vitaly Lipatov <lav@altlinux.ru> 3.4.0.7-alt3 - cleanup spec, use buildreqs not for ALT only * Wed Oct 13 2010 Boris Savelev <boris@altlinux.org> 3.4.0.7-alt2 - remove konqueror dep (closes: #24198) * Wed Mar 10 2010 Boris Savelev <boris@altlinux.org> 3.4.0.7-alt1 - new version * Tue Oct 06 2009 Boris Savelev <boris@altlinux.org> 3.4.0.5-alt1 - new version * Thu Feb 26 2009 Boris Savelev <boris@altlinux.org> 3.3.0.6-alt6 - fix link to %%_libdir * Fri Jan 30 2009 Boris Savelev <boris@altlinux.org> 3.3.0.6-alt5 - add requires to nx = %%ver (fix #18696) * Mon Jan 19 2009 Boris Savelev <boris@altlinux.org> 3.3.0.6-alt4 - new version * Sun Jan 18 2009 Michael Shigorin <mike@altlinux.org> 3.3.0.3-alt2.M40.3.1 - updated desktop files with Category entries (snooped at http://wiki.zenwalk.org/index.php?title=Nxclient.desktop) - minor spec cleanup * Thu Jan 15 2009 Michael Shigorin <mike@altlinux.org> 3.3.0.3-alt2.M40.3 - backport to ALTLinux 4.0 (by rpmbph script) * Wed Jan 07 2009 Boris Savelev <boris@altlinux.org> 3.3.0.3-alt3 - fix link in %_libdir/%name/lib - add nxservice symlink * Mon Jan 05 2009 Boris Savelev <boris@altlinux.org> 3.3.0.3-alt2 - remove alt-specific macroses * Tue Dec 30 2008 Boris Savelev <boris@altlinux.org> 3.3.0.3-alt1 - initial build |