Группа :: Разработка/C++
Пакет: libsobjectizer
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Name: libsobjectizer
Version: 5.7.0
Release: alt1
Summary: SObjectizer is an in-process message dispatching framework with implementation of Actor Model (C++)
License: BSD-3-CLAUSE
Group: Development/C++
Url: https://sourceforge.net/projects/sobjectizer/
Packager: Pavel Vainerman <pv at altlinux.ru>
# Source-url: https://github.com/Stiffstream/sobjectizer/releases/download/v.%{version}/so-%{version}.tar.gz
Source: %name-%version.tar
Source1: so5.pc
BuildPreReq: rpm-macros-cmake
# Automatically added by buildreq on Wed Feb 22 2017
# optimized out: cmake-modules libstdc++-devel python-base python-modules python3 python3-base
BuildRequires: cmake gcc-c++
%description
SObjectizer is an in-process message dispatching framework with
implementation of Actor Model, Publish-Subscribe Model and CSP-like channels.
%package devel
Group: Development/C++
Summary: SObjectizer is an in-process message dispatching framework with implementation of Actor Model (C++)
Requires: %name = %version-%release
%description devel
SObjectizer is an in-process message dispatching framework with
implementation of Actor Model, Publish-Subscribe Model and CSP-like channels.
%prep
%setup
%build
cd dev
%cmake_insource
%make_build
%install
mkdir -p %buildroot%_docdir/%name
cp LICENSE %buildroot%_docdir/%name/
cp README.md %buildroot%_docdir/%name/
cp THANKS %buildroot%_docdir/%name/
cd dev/
%makeinstall_std
%if %_lib == lib64
mv %buildroot/usr/lib %buildroot%_libdir
%endif
rm -r %buildroot%_libdir/*.a
ln -s libso.%{version}.so %buildroot%_libdir/libso.so
mkdir -p %buildroot%_libdir/pkgconfig
cp %SOURCE1 %buildroot%_libdir/pkgconfig/
%__subst 's| at VERSION at |%{version}|g' %buildroot%_libdir/pkgconfig/*.pc
%files
%_libdir/libso.%{version}.so
%_docdir/%name/
%files devel
%_includedir/so_5/
%_libdir/libso.so
%_libdir/cmake/sobjectizer/*.cmake
%_libdir/pkgconfig/*.pc
%changelog
…
Полный changelog можно просмотреть здесь
Version: 5.7.0
Release: alt1
Summary: SObjectizer is an in-process message dispatching framework with implementation of Actor Model (C++)
License: BSD-3-CLAUSE
Group: Development/C++
Url: https://sourceforge.net/projects/sobjectizer/
Packager: Pavel Vainerman <pv at altlinux.ru>
# Source-url: https://github.com/Stiffstream/sobjectizer/releases/download/v.%{version}/so-%{version}.tar.gz
Source: %name-%version.tar
Source1: so5.pc
BuildPreReq: rpm-macros-cmake
# Automatically added by buildreq on Wed Feb 22 2017
# optimized out: cmake-modules libstdc++-devel python-base python-modules python3 python3-base
BuildRequires: cmake gcc-c++
%description
SObjectizer is an in-process message dispatching framework with
implementation of Actor Model, Publish-Subscribe Model and CSP-like channels.
%package devel
Group: Development/C++
Summary: SObjectizer is an in-process message dispatching framework with implementation of Actor Model (C++)
Requires: %name = %version-%release
%description devel
SObjectizer is an in-process message dispatching framework with
implementation of Actor Model, Publish-Subscribe Model and CSP-like channels.
%prep
%setup
%build
cd dev
%cmake_insource
%make_build
%install
mkdir -p %buildroot%_docdir/%name
cp LICENSE %buildroot%_docdir/%name/
cp README.md %buildroot%_docdir/%name/
cp THANKS %buildroot%_docdir/%name/
cd dev/
%makeinstall_std
%if %_lib == lib64
mv %buildroot/usr/lib %buildroot%_libdir
%endif
rm -r %buildroot%_libdir/*.a
ln -s libso.%{version}.so %buildroot%_libdir/libso.so
mkdir -p %buildroot%_libdir/pkgconfig
cp %SOURCE1 %buildroot%_libdir/pkgconfig/
%__subst 's| at VERSION at |%{version}|g' %buildroot%_libdir/pkgconfig/*.pc
%files
%_libdir/libso.%{version}.so
%_docdir/%name/
%files devel
%_includedir/so_5/
%_libdir/libso.so
%_libdir/cmake/sobjectizer/*.cmake
%_libdir/pkgconfig/*.pc
%changelog
…
Полный changelog можно просмотреть здесь