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

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

%define source_name bluez-libs

%def_disable static

Name: libbluez
Version: 2.25
Release: alt0.M24.1

Group: System/Libraries
Summary: Bluetooth runtime libraries
License: LGPL
Url: http://bluez.sourceforge.net/

Packager: Grigory Milev <week at altlinux.ru>

Source: %source_name-%version.tar.gz

Provides: libsdp.so.2

%package devel
Summary: Bluetooth development libraries
Group: Development/C
Requires: %name = %version-%release

%package devel-static
Summary: Bluetooth static libraries
Group: Development/C
Requires: %name-devel = %version-%release

%description
This package contains Bluetooth communication runtime libraries for Linux.

%description devel
This package contains Bluetooth communication development files for Linux.

%description devel-static
This package contains Bluetooth communication static libraries for Linux.

%prep
%setup -q -n %source_name-%version

%build
#%{?_disable_static:export lt_cv_prog_cc_static_works=no}
#%{?_enable_static:export lt_cv_prog_cc_static_works=yes}
%configure %{subst_enable static} --with-pic
%make_build

%install
%__mkdir_p %buildroot%_includedir/bluetooth
%makeinstall
%__mv %buildroot%_includedir/*.h %buildroot%_includedir/bluetooth/
# %__ln_s libbluetooth.so.1 %buildroot%_libdir/libsdp.so.2
# %__ln_s libbluetooth.so %buildroot%_libdir/libsdp.so
# %if_enabled static
# %__ln_s libbluetooth.a %buildroot%_libdir/libsdp.a
# %endif

%post -p %post_ldconfig
%postun -p %postun_ldconfig

%files
%doc AUTHORS ChangeLog README
%_libdir/*.so.*

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

%if_enabled static
%files devel-static
%_libdir/*.a
%endif

%changelog

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

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