Репозиторий ALT Linux backports/2.4
Последнее обновление: 9 июля 2008 | Пакетов: 497 | Посещений: 1494949
 поиск   регистрация   авторизация 
 
Группа :: Система/Библиотеки
Пакет: librapi2

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

%define origname synce-librapi2

Name: librapi2
Version: 0.9.1
Release: alt0.M24.1

Summary: A library that implements RAPI
License: MIT
Group: System/Libraries

Url: http://synce.sourceforge.net
Source: %origname-%version.tar.gz
Packager: SynCE Development Team <synce at packages.altlinux.org>

# Automatically added by buildreq on Sun Apr 25 2004

BuildRequires: check gcc-c++ glibc-devel-static hostinfo libsynce-devel

# FIXME

BuildRequires: chrpath

%description
Librapi2 is part of the SynCE project (%url).

The RAPI library is an open source implementation that works like RAPI.DLL,
available on Microsoft operating systems. The library makes it possible to make
remote calls to a computer running Pocket PC. Documentation for the RAPI calls
is available at this address:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wcesdkr/htm/_wcesdk_CeRapiInit.asp

%package devel
Summary: Libraries and headers needed for developing with SynCE
Group: Development/C
Requires: %name = %version

%description devel
Libraries and headers needed for developing with RAPI

%package -n rapi2-tools
Summary: Simple command line tools that use RAPI
Group: Communications

%description -n rapi2-tools
Simple command line tools that use RAPI

%prep
%setup -q -n %origname-%version

%build
unset CC CXX
%configure

%install
%makeinstall
# FIXME: remove this hack upon rpath
# (how to prevent broken one in the first place?)
for i in %buildroot%_bindir/*; do
case `file -b $i` in
ELF\ 32-bit\ LSB*) chrpath -d $i;;
esac
done

%files
%_libdir/*.so.*
%doc BUGS README* LICENSE TODO

%files devel
%_includedir/*
%_libdir/*.so
%_datadir/aclocal

%files -n rapi2-tools
%_bindir/*
%_man1dir/*

# TODO:

# - proper RPATH handling

%changelog

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

 
design & coding: Vladimir Lettiev aka crux © 2004-2005