SHA256
8
0
forked from pool/aws-c-http

Accepting request 925696 from home:jengelh:branches:devel:libraries:c_c++

- Trim conjecture and redundant metadata from description.
- Use cmake()/pkgconfig() as buildrequires. Update descriptions.
- Replace %-bin subpackage by just %, and lib%-devel by %-devel.

OBS-URL: https://build.opensuse.org/request/show/925696
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/aws-c-http?expand=0&rev=2
This commit is contained in:
2021-10-16 20:44:57 +00:00
committed by Git OBS Bridge
parent c5d2680fa2
commit 50a0c39dbf
2 changed files with 26 additions and 29 deletions

View File

@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Tue Oct 12 12:42:24 UTC 2021 - Jan Engelhardt <jengelh@inai.de>
- Trim conjecture and redundant metadata from description.
- Use cmake()/pkgconfig() as buildrequires. Update descriptions.
- Replace %-bin subpackage by just %, and lib%-devel by %-devel.
-------------------------------------------------------------------
Tue Oct 12 09:55:26 UTC 2021 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>

View File

@@ -1,5 +1,5 @@
#
# spec file for package aws-c-cal
# spec file for package aws-c-http
#
# Copyright (c) 2021 SUSE LLC
#
@@ -17,7 +17,7 @@
%define library_version 1.0.0
%define library_soversion 1
%define library_soversion 1_0_0
Name: aws-c-http
Version: 0.6.7
Release: 0
@@ -29,13 +29,13 @@ Source0: https://github.com/awslabs/%{name}/archive/v%{version}.tar.gz
Patch0: ach_fix-cmake-modules-path.patch
BuildRequires: cmake
BuildRequires: fdupes
BuildRequires: libaws-checksums-devel
BuildRequires: libaws-c-cal-devel
BuildRequires: libaws-c-common-devel
BuildRequires: libaws-c-compression-devel
BuildRequires: libaws-c-io-devel
BuildRequires: libopenssl-devel
BuildRequires: libs2n-devel
BuildRequires: cmake(aws-checksums)
BuildRequires: cmake(aws-c-cal)
BuildRequires: cmake(aws-c-common)
BuildRequires: cmake(aws-c-compression)
BuildRequires: cmake(aws-c-io)
BuildRequires: cmake(s2n)
BuildRequires: pkgconfig(libcrypto)
BuildRequires: ninja
BuildRequires: pkgconfig
@@ -43,34 +43,24 @@ BuildRequires: pkgconfig
C99 implementation of the HTTP/1.1 and HTTP/2 specifications.
%package -n lib%{name}%{library_soversion}
Summary: Shared library files for aws-c-http library
Group: Development/Libraries/C and C++
Summary: C99 implementation of the HTTP/1.1 and HTTP/2 specifications
Group: System/Libraries
%description -n lib%{name}%{library_soversion}
C99 implementation of the HTTP/1.1 and HTTP/2 specifications.
This package contains the dynamically linked library.
%package -n lib%{name}-devel
%package devel
Summary: Development files for aws-c-http library
Group: Development/Libraries/C and C++
Requires: lib%{name}%{library_soversion} = %{version}
%description -n lib%{name}-devel
%description devel
C99 implementation of the HTTP/1.1 and HTTP/2 specifications.
This package contains the development files.
%package -n %{name}-bin
Summary: Command line utilities of aws-c-cal library
Group: Development/Libraries/C and C++
Requires: lib%{name}%{library_soversion} = %{version}
%description -n %{name}-bin
C99 implementation of the HTTP/1.1 and HTTP/2 specifications.
This package contains the command line utilities.
%prep
%setup -q
%patch0 -p1
@@ -84,7 +74,7 @@ This package contains the command line utilities.
# Testsuite currently fails
#%%check
#%export LD_LIBRARY_PATH=%{_builddir}/%{name}-%{version}/build
#export LD_LIBRARY_PATH=%{_builddir}/%{name}-%{version}/build
#%%ctest
%install
@@ -93,17 +83,17 @@ This package contains the command line utilities.
%post -n lib%{name}%{library_soversion} -p /sbin/ldconfig
%postun -n lib%{name}%{library_soversion} -p /sbin/ldconfig
%files
%{_bindir}/*
%files -n lib%{name}%{library_soversion}
%doc README.md
%license LICENSE
%{_libdir}/*.so.%{library_version}
%files -n lib%{name}-devel
%{_libdir}/cmake/%{name}/
%files devel
%{_libdir}/cmake/
%{_libdir}/*.so
%{_includedir}/*
%files -n %{name}-bin
%{_bindir}/*
%changelog