Compare commits

...
Sign in to create a new pull request.

12 commits

Author SHA1 Message Date
Fedora Release Engineering
c864314c0d Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild 2026-07-17 09:44:50 +00:00
Fedora Release Engineering
f4976635d4 Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild 2026-01-17 21:12:14 +00:00
Zephyr Lykos
d9681a4ba4
Fix tests on s390x 2025-09-28 10:19:29 +08:00
Zephyr Lykos
80be453dc0
Update to snapshot 06c17a7fa9f538b512360e6c78a57b463dcbf9e4 2025-09-28 03:33:21 +08:00
Fedora Release Engineering
c522a80cb0 Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-25 21:22:04 +00:00
topazus
babccc1582 1.5.2 2025-02-11 16:49:25 +08:00
Fedora Release Engineering
63a0de9848 Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild 2025-01-19 16:54:54 +00:00
Fedora Release Engineering
2cc5646891 Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild 2024-07-20 10:59:10 +00:00
Felix Wang
0ba50fb446 update to 1.5.0 2024-02-17 00:38:52 +08:00
Fedora Release Engineering
6e6365649a Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-27 11:20:37 +00:00
topazus
49c06c755e add packit file 2024-01-02 23:47:06 +08:00
Fedora Release Engineering
cf8fcfc87e Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-22 19:49:03 +00:00
5 changed files with 27 additions and 83 deletions

2
.gitignore vendored
View file

@ -1 +1 @@
/zycore-c-1.4.1.tar.gz
/zycore-c-*.tar*

View file

@ -1,32 +0,0 @@
From 23e9bd9cba86b1dac9a35a4cadc91a7c42cd036e Mon Sep 17 00:00:00 2001
From: Felix Wang <77263945+topazus@users.noreply.github.com>
Date: Wed, 7 Jun 2023 04:21:27 -0400
Subject: [PATCH] Set DOXYGEN_GENERATE_MAN config option to generate manpages
---
CMakeLists.txt | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index e14145c..0634d13 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -228,12 +228,18 @@ install(DIRECTORY "include/" DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})
find_package(Doxygen)
if (DOXYGEN_FOUND)
+ set(DOXYGEN_GENERATE_MAN YES)
doxygen_add_docs(ZycoreDoc "include/Zycore/" ALL)
install(
DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/html/"
DESTINATION "${CMAKE_INSTALL_DOCDIR}/api"
COMPONENT Documentation
)
+ install(
+ DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/man/man3/"
+ DESTINATION "${CMAKE_INSTALL_MANDIR}/man3"
+ COMPONENT Documentation
+ )
endif()
# =============================================================================================== #

View file

@ -1,9 +1,5 @@
upstream_package_name: zycore-c
upstream_project_url: https://github.com/zyantific/zycore-c
downstream_package_name: zycore-c
specfile_path: zycore-c.spec
upstream_tag_template: v{version}
jobs:
- job: pull_from_upstream

View file

@ -1 +1 @@
SHA512 (zycore-c-1.4.1.tar.gz) = 8cfb1b5dc49ae1d3216398b125125ced52603c6ae7772d08ff5f8c7be0ab7d7aa257f70678f7afa7805b7937520808fa5968ae98bfe7604e46c56e79460c0b5e
SHA512 (zycore-c-ba34692d371cde5f45539b5fa26ea11b09721751.tar.gz) = 03a570bc6415a4aed8183590a56a69b8bdffffcca84383cb411af58b479cad367d5206839ddacd3a0b9a90a6a2c4134d6234f94de386dbfaad73e75ad6d7307b

View file

@ -1,22 +1,21 @@
%global sover 1.4
Name: zycore-c
Version: 1.4.1
Version: 1.5.2
%global forgeurl https://github.com/zyantific/%{name}
%global commit ba34692d371cde5f45539b5fa26ea11b09721751
%forgemeta
Release: %autorelease
Summary: Zyan Core Library for C
License: MIT
URL: https://github.com/zyantific/zycore-c
Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
# Set DOXYGEN_GENERATE_MAN config option to generate manpages
Patch0: https://github.com/zyantific/zycore-c/pull/65.patch
URL: %{forgeurl}
Source0: %{forgesource}
# https://github.com/zyantific/zycore-c/issues/59
ExcludeArch: s390x
BuildRequires: gcc gcc-c++
BuildRequires: cmake
BuildRequires: gtest-devel
BuildRequires: gcc
BuildRequires: gcc-c++
BuildRequires: meson >= 1.3
BuildRequires: pkgconfig(gtest)
BuildRequires: doxygen
%description
@ -39,53 +38,34 @@ BuildArch: noarch
The %{name}-doc package contains the documentation for %{name}.
%prep
%autosetup -p1
%forgesetup
%build
%cmake \
-DZYCORE_BUILD_SHARED_LIB=ON \
-DZYCORE_BUILD_TESTS=ON \
-DZYCORE_BUILD_EXAMPLES=ON \
%cmake_build
%meson \
-Ddoc=enabled \
-Dtests=enabled \
-Dexamples=enabled \
%meson_build
%install
%cmake_install
%meson_install
%check
%ctest
%meson_test
%files
%license LICENSE
%doc README.md
%{_libdir}/libZycore.so.%{sover}*
%{_libdir}/libZycore.so.1*
%files devel
%dir %{_includedir}/Zycore
%dir %{_includedir}/Zycore/API
%dir %{_includedir}/Zycore/Internal
%{_includedir}/Zycore/*.h
%{_includedir}/Zycore/API/*.h
%{_includedir}/Zycore/Internal/*.h
%dir %{_libdir}/cmake/zycore
%{_libdir}/cmake/zycore/*.cmake
%{_includedir}/Zycore/
%{_libdir}/pkgconfig/zycore.pc
%{_libdir}/libZycore.so
%{_mandir}/man3/*
%files doc
%license LICENSE
%dir %{_datadir}/doc/Zycore
%dir %{_datadir}/doc/Zycore/api
%dir %{_datadir}/doc/Zycore/api/search
%{_datadir}/doc/Zycore/api/*.css
%{_datadir}/doc/Zycore/api/*.png
%{_datadir}/doc/Zycore/api/*.html
%{_datadir}/doc/Zycore/api/*.map
%{_datadir}/doc/Zycore/api/*.md5
%{_datadir}/doc/Zycore/api/*.js
%{_datadir}/doc/Zycore/api/*.svg
%{_datadir}/doc/Zycore/api/search/*.js
%{_datadir}/doc/Zycore/api/search/*.svg
%{_datadir}/doc/Zycore/api/search/*.css
%{_docdir}/Zycore/
%changelog
%autochangelog