public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/simpleini] epel8: initial import; rhbz#2256266
@ 2026-11-23 17:10 topazus
  0 siblings, 0 replies; only message in thread
From: topazus @ 2026-11-23 17:10 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/simpleini
Branch : epel8
Commit : 8464abcbbd1597f9c892810e21f480fcd90aadd8
Author : topazus <topazus@outlook.com>
Date   : 2023-12-31T00:29:14+08:00
Stats  : +84/-0 in 4 file(s)
URL    : https://src.fedoraproject.org/rpms/simpleini/c/8464abcbbd1597f9c892810e21f480fcd90aadd8?branch=epel8

Log:
initial import; rhbz#2256266

---
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..105e0a2
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/simpleini-4.22.tar.gz

diff --git a/packit.yaml b/packit.yaml
new file mode 100644
index 0000000..1338acc
--- /dev/null
+++ b/packit.yaml
@@ -0,0 +1,23 @@
+upstream_package_name: simpleini
+upstream_project_url: https://github.com/brofield/simpleini
+upstream_tag_template: v{version}
+
+downstream_package_name: simpleini
+
+specfile_path: simpleini.spec
+
+jobs:
+  - job: pull_from_upstream
+    trigger: release
+    dist_git_branches:
+      - fedora-all
+
+  - job: koji_build
+    trigger: commit
+    dist_git_branches:
+      - fedora-all
+
+  - job: bodhi_update
+    trigger: commit
+    dist_git_branches:
+      - fedora-all

diff --git a/simpleini.spec b/simpleini.spec
new file mode 100644
index 0000000..75f990c
--- /dev/null
+++ b/simpleini.spec
@@ -0,0 +1,59 @@
+# header-only library
+%global debug_package %{nil}
+
+%global forgeurl https://github.com/brofield/simpleini
+Version:        4.22
+%forgemeta
+
+Name:           simpleini
+Release:        %autorelease
+Summary:        Cross-platform C++ library to read and write INI-style configuration files
+License:        MIT
+URL:            %{forgeurl}
+Source0:        %{forgesource}
+
+BuildRequires:  gcc-c++
+BuildRequires:  cmake
+BuildRequires:  ninja-build
+BuildRequires:  cmake(GTest)
+
+%description
+simpleini is a cross-platform library that provides a simple API to read and
+write INI-style configuration files. It supports data files in ASCII, MBCS and
+Unicode. It is designed explicitly to be portable to any platform and has been
+tested on Windows, WinCE and Linux. Released as open-source and free using the
+MIT licence.
+
+%package        devel
+Summary:        Development files for %{name}
+Provides:       %{name}-static = %{version}-%{release}
+
+%description    devel
+The %{name}-devel package contains development files for %{name}.
+
+%prep
+%forgeautosetup -p1
+
+%build
+%cmake \
+    -GNinja \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DSIMPLEINI_USE_SYSTEM_GTEST=ON
+
+%cmake_build
+
+%install
+%cmake_install
+
+%check
+%ctest
+
+%files devel
+%license LICENCE.txt
+%doc README.md
+%dir %{_includedir}/SimpleIni
+%{_includedir}/SimpleIni/SimpleIni.h
+%{_datadir}/cmake/SimpleIni/
+
+%changelog
+%autochangelog

diff --git a/sources b/sources
new file mode 100644
index 0000000..b5d244c
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (simpleini-4.22.tar.gz) = 6c198636816a0018adbf7f735d402c64245c6fcd540b7360d4388d46f007f3a520686cdaec4705cb8cb31401b2cb4797a80b42ea5d08a6a5807c0848386f7ca1

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

only message in thread, other threads:[~2026-11-23 17:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-23 17:10 [rpms/simpleini] epel8: initial import; rhbz#2256266 topazus

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