Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37568139
en ru br
Репозитории ALT
4.1: 0.4.4-alt1
4.0: 0.3-alt0.2
www.altlinux.org/Changes

Группа :: Система/Библиотеки
Пакет: libglan

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

#/usr/include/qt4/QtCore/qobject.h:411:   instantiated from 'T qobject_cast(QObject*) [with T = Glan::Server::GObject*]'
#GObject.cpp:80:   instantiated from here
#/usr/include/qt4/QtCore/qobject.h:94: error: void value not ignored as it ought to be

#verify-elf: ERROR: ./usr/bin/GlanLik: RPATH entry contains "/usr/src/RPM/BUILD": /usr/src/RPM/BUILD/Glan-0.3.2/libs

#verify-elf: ERROR: ./usr/lib/libGlanClient.so.0.3.0: RPATH entry contains "/usr/src/RPM/BUILD": /usr/src/RPM/BUILD/Glan-0.3.2/libs
#verify-elf: ERROR: ./usr/lib/libGlanServer.so.0.3.0: RPATH entry contains "/usr/src/RPM/BUILD": /usr/src/RPM/BUILD/Glan-0.3.2/libs
#verify-elf: ERROR: ./usr/lib/libGlanLib.so.0.3.0: RPATH entry contains "/usr/src/RPM/BUILD": /usr/src/RPM/BUILD/Glan-0.3.2/libs

Name: libglan
Version: 0.4.4
Release: alt1

Summary: Toolkit for developing network GUI applications

License: GPL
Group: System/Libraries
Url: http://glan.sourceforge.net/

Packager: Vitaly Lipatov <lav at altlinux.ru>

#Source: http://dl.sf.net/kalpa/Glan-%version.tar.bz2

Source: http://kalpa.ru/downloads/Glan-%version.tar.bz2
Patch: %name-as-needed.patch

# Automatically added by buildreq on Wed Jul 18 2007

BuildRequires: fontconfig gcc-c++ libqt4-devel libqt4-sql qt4-settings

%description
Glan is a toolkit for developing network GUI applications. It consists of
a remote Qt toolkit, a network (client-server) wrapper for Qt classes,
and a Qt-based Application Server development platform for creating GUI
oriented client-server applications. It allows the developer to just
write code using the Qt programming style for the server side and forget
about the client side.

%description -l ru_RU.KOI8-R
Glan - система разработки клиент-серверных приложений. Просто
пишите Ваш сервер, используя стилистику и методологию QT, и забудьте о
клиенте. Библиотека Glan и Glan-Клиент сделает все остальное.

%package devel
Summary: Development tools for programs which uses Glan
Group: Development/C
Requires: %name = %version

%description devel
Development tools for programs which uses Glan

%package server
Summary: Glan Server Library
Group: System/Libraries

%description server
Glan Server Library

%prep
%setup -q -n Glan-%version
#%patch
find Source -type f -name \*.pro | while read f; do echo -e '\nQMAKE_CXXFLAGS += $(RPM_OPT_FLAGS)' >> $f; done

%build
export QTDIR=%_qt4dir
export PATH=$QTDIR/bin:$PATH

# build with debug library

#subst "s|release|debug|g" `find ./ -name "*.pro"`
# fix broken linking
#find Source/Apps -name "*.pro" | xargs %__subst "s|.*RPATH.*||g"
find Source -type f -name \*.pro | while read f; do echo -e '\nQMAKE_RPATH=' >> $f; done
qmake -unix -o Makefile
export LD_LIBRARY_PATH=`pwd`
# build twice due some broken subtargets
%make_build || %make_build

%install
find -name "Makefile" | xargs %__subst "s|/opt/Kalpa/Glan/lib|%_libdir|g"
find Source/Apps -name "Makefile" | xargs %__subst "s|/opt/Kalpa/Glan|%_bindir|g"
%make_install INSTALL_ROOT=%buildroot install

mkdir -p %buildroot%_includedir/%name
find Source/Libs/Glan{Client,Lib,Server} -name "*.h" |
xargs -i{} install -m 644 {} %buildroot%_includedir/%name

# install, preserving links

#mkdir -p %buildroot%_libdir
#chmod 644 libs/*
#for n in libs/* ; do
#    cp -d $n %buildroot%_libdir
#done
rm -rf %buildroot/opt

%post
%post_ldconfig

%postun
%postun_ldconfig

%files
%_bindir/GlanLik
%_libdir/libGlanClient*.so
%_libdir/libGlanClientKernel*.so
%_libdir/libGlanLib*.so
%_libdir/libGlanWidgets*.so

%files devel
%_includedir/%name

%files server
%_libdir/libGlanServer*.so
%_libdir/libGlanServerWidgets*.so

%changelog

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

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