Репозиторий Sisyphus
Последнее обновление: 9 декабря 2018 | Пакетов: 18654 | Посещений: 12678021
en ru br
Репозитории ALT

Группа :: Сети/Удалённый доступ
Пакет: rxclient

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

%define oname opennx

Name: rxclient
Version: 0.19
Release: alt9

Summary: A client for RX at Etersoft Terminal Server

License: LGPL/GPL
Group: Networking/Remote access
Url: https://wiki.etersoft.ru/RX

Packager: Vitaly Lipatov <lav at altlinux.ru>

Source: %oname-%version.tar
Source1: rxclient.conf

# Automatically added by buildreq on Sat Sep 19 2009

BuildRequires: gcc-c++ imake libSM-devel libXmu-devel
BuildRequires: libopensc-devel libsmbclient-devel
BuildRequires: xorg-cf-files zip libcups-devel
BuildRequires: libXau-devel
BuildRequires: libwxGTK3.1-devel xxd

# due _ln_sr

BuildRequires: rpm-build-intro >= 1.9.18

Requires: nx-libs >= 3.5.2.31-alt1
Requires: nxssh

Provides: opennx = %version
Obsoletes: opennx

# dynamic loading

Requires: libcups libsmbclient

%description
RX Client is a NX 3.5 compatible client based on OpenNX code.

%prep
%setup

%build
%autoreconf
%configure --localedir=%_datadir/locale --with-nxproto=3.3.0
%make_build

%install
%makeinstall_std

# install workaround for eterbug #11493

install -D -m0755 bin/nxssh.sh %buildroot%_bindir/nxssh.sh

# socks support

#rm -f %buildroot%_bindir/pconnect %buildroot%_datadir/pconnect.html

rm -f %buildroot%_desktopdir/*.directory
install -D -m0644 docs/pconnect.1 %buildroot%_man1dir/pconnect.1

# we need this names due wxDynamicLibrary (see eterbug #11676)

mkdir -p %buildroot%_libdir/%name/
for lib in libsmbclient.so libcups.so ; do
   rlib=$(echo %_libdir/$lib.?)
   %_ln_sr %buildroot$rlib %buildroot%_libdir/%name/$lib
done

mkdir -p %buildroot%_sysconfdir/%name/
cp %SOURCE1 %buildroot%_sysconfdir/%name/

%find_lang %name

%files -f %name.lang
%_bindir/%name
%_bindir/nxssh.sh
%_bindir/pconnect
%_bindir/watchreader
%_libdir/%name/
%_man1dir/pconnect.*
%_datadir/%name
%_desktopdir/*.desktop
%_iconsdir/hicolor/16x16/apps/*.png
%_iconsdir/hicolor/32x32/apps/*.png
%_iconsdir/hicolor/48x48/apps/*.png
%_iconsdir/hicolor/64x64/apps/*.png
%_iconsdir/hicolor/128x128/apps/*.png
%_iconsdir/hicolor/256x256/apps/*.png
%_iconsdir/hicolor/512x512/apps/*.png
%_iconsdir/hicolor/scalable/apps/*.svg
%_iconsdir/hicolor/*/mimetypes/rx-desktop.*
%dir %_sysconfdir/%name
%config %_sysconfdir/%name/*.conf

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin