summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichel Alexandre Salim <salimma@fedoraproject.org>2022-02-08 22:15:41 -0800
committerMichel Alexandre Salim <salimma@fedoraproject.org>2022-02-08 22:15:41 -0800
commitfabd17f6fa209daf30a88c69c58134d19b76d572 (patch)
tree2e4c4ed631213555c561d7b19b5da161f1325f53
parent03b2c20de5aa09c079dfd14b23e5e3b3e0c45211 (diff)
downloadspecs-fabd17f6fa209daf30a88c69c58134d19b76d572.tar.gz
specs-fabd17f6fa209daf30a88c69c58134d19b76d572.tar.xz
specs-fabd17f6fa209daf30a88c69c58134d19b76d572.zip
- the_foundation
Signed-off-by: Michel Alexandre Salim <salimma@fedoraproject.org>
-rw-r--r--web/the_foundation.spec106
1 files changed, 0 insertions, 106 deletions
diff --git a/web/the_foundation.spec b/web/the_foundation.spec
deleted file mode 100644
index 5a8a414..0000000
--- a/web/the_foundation.spec
+++ /dev/null
@@ -1,106 +0,0 @@
-%bcond_without doc
-
-%global srcname the_Foundation
-
-Name: the_foundation
-Version: 1.1.0
-Release: %autorelease
-Summary: Opinionated C11 library for low-level functionality
-
-# SPDX-3.0-License-Identifier: BSD-2-Clause
-License: BSD
-URL: https://git.skyjake.fi/skyjake/the_Foundation
-Source0: %{url}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
-
-BuildRequires: cmake
-BuildRequires: gcc
-BuildRequires: libunistring-devel
-BuildRequires: pkgconfig(libcurl)
-BuildRequires: pkgconfig(libpcre)
-BuildRequires: pkgconfig(openssl)
-BuildRequires: pkgconfig(zlib)
-%if %{with doc}
-BuildRequires: doxygen
-%endif
-
-%global abi_ver %%(echo %%{version}} | cut -d. -f1)
-
-%global _description %{expand:
-An object-oriented C library whose API is designed for a particular coding
-style, taking cues from C++ STL and Qt.}
-
-%description %{_description}
-
-
-%package devel
-Summary: Development files for %{name}
-Requires: %{name}%{?_isa} = %{version}-%{release}
-Requires: cmake-filesystem
-Requires: pkgconfig
-
-%description devel %{_description}
-
-The %{name}-devel package contains libraries and header files for
-developing applications that use %{srcname}.
-
-
-%if %{with doc}
-%package doc
-Summary: Documentation for %{srcname}
-BuildArch: noarch
-
-%description doc %{_description}
-
-The %{name}-doc package contains the documentation for %{srcname}.
-%endif
-
-
-%prep
-%autosetup -n %{name} -p1
-
-
-%build
-%cmake
-%cmake_build
-%if %{with doc}
-doxygen %{srcname}.doxygen
-%endif
-
-
-%install
-%cmake_install
-
-
-%check
-# math and threading has non-zero retvals
-for t in \
- archive \
- network \
- string \
- test \
- udptest \
-; do
- %{__cmake_builddir}/${t}_Foundation
-done
-
-
-%files
-%license LICENSE
-%doc CHANGES.md README.md
-%{_libdir}/*.so.%{abi_ver}{,.*}
-
-%files devel
-%{_includedir}/*
-%{_libdir}/*.so
-%{_libdir}/cmake/%{srcname}
-%{_libdir}/pkgconfig/%{srcname}.pc
-
-%if %{with doc}
-%files doc
-%license LICENSE
-%doc doc/html/*
-%endif
-
-
-%changelog
-%autochangelog