Sisyphus repositório
Última atualização: 25 setembro 2020 | SRPMs: 17702 | Visitas: 19291341
en ru br
ALT Linux repositórios

Group :: Sistema/Base
RPM: restbed

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

# BEGIN SourceDeps(oneline):
BuildRequires(pre): rpm-macros-mageia-compat
BuildRequires: gcc-c++
# END SourceDeps(oneline)
# see
%define _localstatedir %{_var}
# Please do not update/rebuild/touch this package before asking first to mikala and/or neoclust
# This package is part of the KDE Stack.

%define rel 4

Summary:        asynchronous REST C++11 library
Name:           restbed
Version: 4.0
Release:        alt1_%rel
License:        GPLv2+
Group:          System/Base
Patch0:         version-so.patch
Patch1:         usr-lib.patch
ExcludeArch:    armv5tl

BuildRequires:  ccmake cmake ctest
BuildRequires:  asio-devel
BuildRequires:  pkgconfig(openssl)

Corvusoft's Restbed framework brings asynchronous RESTful functionality
to C++11 applications.


%define major 0
%define librestbed librestbed%{major}

%package -n %librestbed
Summary:        asynchronous REST C++11 library
Group:          System/Libraries

%description -n %librestbed
asynchronous REST C++11 library.

%files -n %librestbed


%define librestbed_devel librestbed-devel

%package -n %librestbed_devel
Summary:        Devel stuff for %name
Group:          Development/Other
Requires:       %librestbed >= %{version}-%{release}
Provides:       %name-devel = %{version}-%{release}

%description -n %librestbed_devel
This package contains header files needed if you wish to build applications
based on %name.

%files -n %librestbed_devel


%setup -q
%patch0 -p1
%patch1 -p1

sed -e 's,MGALIB,%{_libdir},g' -i CMakeLists.txt

%{mageia_cmake} -DBUILD_SHARED=ON

%makeinstall_std -C build


Todas as alterações você pod ver aqui

projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009