public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/civetweb] f45: Initial import (fedora#2177305).
@ 2026-08-25  3:02 Kaleb S. KEITHLEY
  0 siblings, 0 replies; only message in thread
From: Kaleb S. KEITHLEY @ 2026-08-25  3:02 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/civetweb
Branch : f45
Commit : e260c1657f0fbe05a1295ff28de255abb64b82c4
Author : Kaleb S. KEITHLEY <kkeithle@redhat.com>
Date   : 2023-03-15T19:40:03-04:00
Stats  : +71/-0 in 3 file(s)
URL    : https://src.fedoraproject.org/rpms/civetweb/c/e260c1657f0fbe05a1295ff28de255abb64b82c4?branch=f45

Log:
Initial import (fedora#2177305).

---
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..3727905
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/civetweb-1.15.tar.gz

diff --git a/civetweb.spec b/civetweb.spec
new file mode 100644
index 0000000..b3d2048
--- /dev/null
+++ b/civetweb.spec
@@ -0,0 +1,69 @@
+
+%global _hardened_build 1
+
+#%%global dev rc1
+
+Name:           civetweb
+Summary:        Embedded C/C++ web server
+Version:        1.15
+Release:        1%{?dev:%{dev}}%{?dist}
+License:        MIT
+Url:            https://github.com/civetweb/civetweb
+Source:         https://github.com/%{name}/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz
+BuildRequires:  cmake make gcc-c++
+
+%description
+Civetweb is an easy to use, powerful, C (C/C++) embeddable web server
+with optional CGI, SSL and Lua support.
+
+CivetWeb can be used by developers as a library, to add web server
+functionality to an existing application. It can also be used by end
+users as a stand-alone web server running on a Windows or Linux PC.
+It is available as single executable, no installation is required.
+
+%package devel
+Summary:        Civetweb Client Library C and C++ header files
+Requires:       %{name}%{?_isa} = %{version}-%{release}
+
+%description devel
+Civetweb shared libs and associated header files
+
+%prep
+%setup -q -n %{name}-%{version}
+
+%build
+%{cmake} . \
+    -G "Unix Makefiles" \
+    -DCMAKE_BUILD_TYPE=RelWithDebInfo \
+    -DBUILD_CONFIG=rpmbuild \
+    -DCMAKE_INSTALL_PREFIX=%{_prefix} \
+    -DCMAKE_INSTALL_LIBDIR:PATH=%{_libdir} \
+    -DCIVETWEB_ENABLE_CXX:BOOL=ON \
+    -DBUILD_SHARED_LIBS:BOOL=ON \
+    -DCIVETWEB_BUILD_TESTING:BOOL=OFF
+
+export GCC_COLORS=
+export VERBOSE=1
+%cmake_build %{?_smp_mflags}
+
+%install
+%cmake_install
+mkdir -p %{buildroot}%{_docdir}/civetweb
+
+%files
+%{_bindir}/civetweb
+%{_libdir}/libcivetweb.so.*
+%{_libdir}/libcivetweb-cpp.so.*
+%license LICENSE.md
+%doc README.md RELEASE_NOTES.md SECURITY.md
+
+%files devel
+%{_includedir}/*.h
+%{_libdir}/libcivetweb.so
+%{_libdir}/libcivetweb-cpp.so
+%{_libdir}/cmake/civetweb/*
+
+%changelog
+* Tue Mar 7 2023 Kaleb S. KEITHLEY <kkeithle at redhat.com> - 1.15-1
+- civetweb 1.15 GA, initial build
+

diff --git a/sources b/sources
new file mode 100644
index 0000000..26bea6e
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (civetweb-1.15.tar.gz) = a74e97eedac9b861ae18cee0090a1edae9e74b96bd3965403447e3bbaf661ba23a81b22ffd589fd701ec265fc3bd5b7366b046de202902a65bb5f25fead5c00e

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-08-25  3:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-25  3:02 [rpms/civetweb] f45: Initial import (fedora#2177305) Kaleb S. KEITHLEY

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox