Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37778482
en ru br
Репозитории ALT
S:20150803-alt1.1
www.altlinux.org/Changes

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

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

Name: libcrossguid
Version: 20150803
Release: alt1.1

Summary: C++ GUID library
License: MIT
Group: System/Libraries
Url: https://github.com/graeme-hill/crossguid/

Source: %name-%version.tar

BuildRequires: gcc-c++ libuuid-devel

%description
CrossGuid is a minimal, cross platform, C++ GUID library. It uses the best
native GUID/UUID generator on the given platform and had a generic class
for parsing, stringifying, and comparing IDs.

%package devel
Summary: C++ GUID library
Group: Development/C++

%description devel
CrossGuid is a minimal, cross platform, C++ GUID library. It uses the best
native GUID/UUID generator on the given platform and had a generic class
for parsing, stringifying, and comparing IDs.
This package contains development part of %name

%prep
%setup

%build
c++ -shared %optflags %optflags_shared -std=c++11 -Wl,-soname,libcrossguid.so.0 \
-DGUID_LIBUUID -I/usr/include/uuid  guid.cpp -o libcrossguid.so.0.0.0 -luuid

%install
install -pm0644 -D guid.h %buildroot%_includedir/guid.h
install -pm0644 -D libcrossguid.so.0.0.0 %buildroot%_libdir/libcrossguid.so.0.0.0
ln -s libcrossguid.so.0.0.0 %buildroot%_libdir/libcrossguid.so

%files
%doc README.md
%_libdir/*.so.*

%files devel
%_libdir/*.so
%_includedir/guid.h

%changelog

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

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