Compare commits
12 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c864314c0d | ||
|
|
f4976635d4 | ||
|
|
d9681a4ba4 |
||
|
|
80be453dc0 |
||
|
|
c522a80cb0 | ||
|
|
babccc1582 | ||
|
|
63a0de9848 | ||
|
|
2cc5646891 | ||
|
|
0ba50fb446 | ||
|
|
6e6365649a | ||
|
|
49c06c755e | ||
|
|
cf8fcfc87e |
5 changed files with 27 additions and 83 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -1 +1 @@
|
|||
/zycore-c-1.4.1.tar.gz
|
||||
/zycore-c-*.tar*
|
||||
|
|
|
|||
32
65.patch
32
65.patch
|
|
@ -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()
|
||||
|
||||
# =============================================================================================== #
|
||||
|
|
@ -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
|
||||
2
sources
2
sources
|
|
@ -1 +1 @@
|
|||
SHA512 (zycore-c-1.4.1.tar.gz) = 8cfb1b5dc49ae1d3216398b125125ced52603c6ae7772d08ff5f8c7be0ab7d7aa257f70678f7afa7805b7937520808fa5968ae98bfe7604e46c56e79460c0b5e
|
||||
SHA512 (zycore-c-ba34692d371cde5f45539b5fa26ea11b09721751.tar.gz) = 03a570bc6415a4aed8183590a56a69b8bdffffcca84383cb411af58b479cad367d5206839ddacd3a0b9a90a6a2c4134d6234f94de386dbfaad73e75ad6d7307b
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue