Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37859792
en ru br
ALT Linux repositórios
S:0.1.1-alt2

Group :: Desenvolvimento/Outros
RPM: libcoeurl

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

%define _unpackaged_files_terminate_build 1

Name: libcoeurl
Version: 0.1.1
Release: alt2

Summary: A simple async wrapper around CURL for C++

Group: Development/Other
License: MIT
Url: https://nheko.im/nheko-reborn/coeurl.git

Source: %name-%version.tar
Patch0: %name-%version-add-pkgconfig.patch

BuildRequires: cmake gcc-c++ libspdlog-devel
BuildRequires: libevent-devel libcurl-devel

%description
Simple library to do http requests asynchronously via CURL in C++.

%package devel
Summary: Development files for %name
Group: Development/Other
Requires: %name = %version-%release

%description devel
Simple library to do http requests asynchronously via CURL in C++.

This package contains C++ header files for developing and the static
library.

%prep
%setup
%patch0 -p1

%build
# Undefined references from_json/to_json:
%define optflags_lto %nil

%cmake -DUSE_BUNDLED_SPDLOG=OFF   \
      -DUSE_BUNDLED_LIBEVENT=OFF \
      -DUSE_BUNDLED_LIBCURL=OFF  \
      -DBUILD_SHARED_LIBS=ON     \
      -DCMAKE_BUILD_TYPE=Release

%cmake_build

%install
%cmakeinstall_std

# Testing needs a local Synapse server instance

#%check
#%make_build test

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

%files devel
%doc examples
%_includedir/coeurl
%_libdir/cmake/coeurl/*.cmake
%_libdir/pkgconfig/coeurl.pc

%changelog

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