libeconf-vl.spec 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173
  1. # Force out of source build
  2. %undefine __cmake_in_source_build
  3. %global somajor 0
  4. Name: libeconf
  5. Version: 0.7.4
  6. Release: 4%{?_dist_release}
  7. Summary: Enhanced config file parser library
  8. Group: system
  9. Vendor: Project Vine
  10. Distribution: Vine Linux
  11. License: MIT
  12. URL: https://github.com/openSUSE/libeconf
  13. Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
  14. ### Patches ###
  15. # This should be a temporary workaround. I don't have enough time to check what's happening, but since we aren't shipping the html documentation it's fine to stop installing it
  16. Patch0101: 0001-cmake-no-install-html.patch
  17. # Intermittent failure of a test in aarch64, thus temporarily disabling the failing test suite
  18. Patch0102: 0002-disable-test.patch
  19. BuildRequires: cmake >= 3.12
  20. BuildRequires: gcc
  21. BuildRequires: make
  22. %description
  23. libeconf is a highly flexible and configurable library to parse and manage
  24. key=value configuration files. It reads configuration file snippets from
  25. different directories and builds the final configuration file from it.
  26. %package devel
  27. Summary: Development files for %{name}
  28. Group: programming
  29. Requires: %{name}%{?_isa} = %{version}-%{release}
  30. %description devel
  31. The %{name}-devel package contains libraries and header files for
  32. developing applications that use %{name}.
  33. %package utils
  34. Summary: Utilities for manipulating config files
  35. Group: system
  36. Requires: %{name}%{?_isa} = %{version}-%{release}
  37. %description utils
  38. The %{name}-utils package contains utilities for manipulating
  39. configuration files from applications that use %{name}.
  40. %debug_package
  41. %prep
  42. %autosetup -p1
  43. %build
  44. %cmake
  45. %cmake_build
  46. %install
  47. %cmake_install
  48. %check
  49. %cmake_build --target check
  50. %files
  51. %license LICENSE
  52. %doc NEWS README.md TODO.md
  53. %{_libdir}/%{name}.so.%{somajor}{,.*}
  54. %files devel
  55. %doc example/
  56. %{_includedir}/*
  57. %{_libdir}/%{name}.so
  58. %{_libdir}/cmake/%{name}/
  59. %{_libdir}/pkgconfig/%{name}.pc
  60. %{_mandir}/man3/*.3.*
  61. %files utils
  62. %{_bindir}/econftool
  63. %{_mandir}/man8/econftool.8*
  64. %changelog
  65. * Mon Nov 18 2024 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 0.7.4-4
  66. - initial build for Vine Linux.
  67. * Fri Nov 8 2024 Iker Pedrosa <ipedrosa@redhat.com> - 0.7.4-3
  68. - migrated to SPDX license (although no change was done)
  69. * Wed Oct 16 2024 Iker Pedrosa <ipedrosa@redhat.com> - 0.7.4-2
  70. - Rebase to 0.7.4
  71. * Thu Jul 18 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.2-3
  72. - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
  73. * Thu May 23 2024 Iker Pedrosa <ipedrosa@redhat.com> - 0.6.2-2
  74. - Fix static analyzer detected issues
  75. * Wed Mar 6 2024 Iker Pedrosa <ipedrosa@redhat.com> - 0.6.2-1
  76. - Rebase to 0.6.2
  77. * Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.2-3
  78. - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
  79. * Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.2-2
  80. - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
  81. * Mon Aug 28 2023 Iker Pedrosa <ipedrosa@redhat.com> - 0.5.2-1
  82. - Update to 0.5.2 (RH#1980774)
  83. - Fix CVE-2023-22652 (RH#2212464)
  84. - Fix CVE-2023-30079 (RH#2235236)
  85. * Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.0-6
  86. - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
  87. * Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.0-5
  88. - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
  89. * Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.0-4
  90. - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
  91. * Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.0-3
  92. - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
  93. * Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.0-2
  94. - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
  95. * Thu Jul 08 2021 Neal Gompa <ngompa13@gmail.com> - 0.4.0-1
  96. - Update to 0.4.0 (RH#1980289)
  97. - Add fixes to install econftool and man pages
  98. * Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.8-5
  99. - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
  100. * Sat Aug 08 2020 Neal Gompa <ngompa13@gmail.com> - 0.3.8-4
  101. - Use backend-agnostic CMake macro for building and running tests
  102. * Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.8-3
  103. - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
  104. * Sun Jul 12 2020 Neal Gompa <ngompa13@gmail.com> - 0.3.8-2
  105. - Switch to updated and fixed tarball
  106. * Fri Jul 10 2020 Neal Gompa <ngompa13@gmail.com> - 0.3.8-1
  107. - Update to 0.3.8 (RH#1844005)
  108. * Thu Feb 06 2020 Neal Gompa <ngompa13@gmail.com> - 0.3.5-1
  109. - Update to 0.3.5 (RH#1797753)
  110. * Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.4-2
  111. - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
  112. * Tue Jan 21 2020 Neal Gompa <ngompa13@gmail.com> - 0.3.4-1
  113. - Update to 0.3.4 (RH#1793599)
  114. * Wed Oct 30 2019 Neal Gompa <ngompa13@gmail.com> - 0.3.3-1
  115. - Update to 0.3.3 (RH#1756080)
  116. * Tue Sep 24 2019 Neal Gompa <ngompa13@gmail.com> - 0.3.1-1
  117. - Update to 0.3.1 (RH#1755161)
  118. * Fri Sep 6 2019 Neal Gompa <ngompa13@gmail.com> - 0.3.0-1
  119. - Initial packaging for Fedora (RH#1749869)