fmt-vl.spec 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182
  1. %undefine __cmake_in_source_build
  2. Name: fmt
  3. Summary: Small, safe and fast formatting library for C++
  4. Version: 11.0.1
  5. Release: 1%{?_dist_release}
  6. Group: system
  7. Vendor: Project Vine
  8. Distribution: Vine Linux
  9. License: BSD
  10. URL: https://github.com/fmtlib/%{name}
  11. Source0: %{url}/archive/%{version}.tar.gz
  12. BuildRequires: gcc
  13. BuildRequires: gcc-c++
  14. BuildRequires: ninja
  15. BuildRequires: cmake
  16. # This package replaces the old name of cppformat
  17. Provides: cppformat = %{?epoch:%{epoch}:}%{version}-%{release}
  18. Obsoletes: cppformat < %{?epoch:%{epoch}:}%{version}-%{release}
  19. %description
  20. C++ Format is an open-source formatting library for C++. It can be used as a
  21. safe alternative to printf or as a fast alternative to IOStreams.
  22. %package devel
  23. Summary: Development files for %{name}
  24. Group: programming
  25. Requires: %{name}%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
  26. # This package replaces the old name of cppformat
  27. Provides: cppformat-devel = %{?epoch:%{epoch}:}%{version}-%{release}
  28. Obsoletes: cppformat-devel < %{?epoch:%{epoch}:}%{version}-%{release}
  29. %description devel
  30. This package contains the header file for using %{name}.
  31. %debug_package
  32. %prep
  33. %autosetup -p1
  34. %if %{with doc}
  35. # Remove --clean-css since that plugin isn't available
  36. sed -i "s/'--clean-css',//" doc/build.py
  37. %endif
  38. %build
  39. %cmake \
  40. -G Ninja \
  41. -DCMAKE_BUILD_TYPE=RelWithDebInfo \
  42. -DCMAKE_POSITION_INDEPENDENT_CODE=ON \
  43. -DFMT_CMAKE_DIR=%{_libdir}/cmake/%{name} \
  44. -DFMT_LIB_DIR=%{_libdir}
  45. %cmake_build
  46. %install
  47. %cmake_install
  48. #%check
  49. #%ctest
  50. %files
  51. %license LICENSE
  52. %doc ChangeLog.md README.md
  53. %{_libdir}/lib%{name}.so.*
  54. %files devel
  55. %{_includedir}/%{name}
  56. %{_libdir}/lib%{name}.so
  57. %{_libdir}/cmake/%{name}
  58. %{_libdir}/pkgconfig/%{name}.pc
  59. %changelog
  60. * Sat Jul 13 2024 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 11.0.1-1
  61. - new upstream release.
  62. * Sun Oct 02 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 9.1.0-1
  63. - new upstream release.
  64. * Sat Dec 12 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 7.1.3-2
  65. - initial build for Vine Linux.
  66. * Sun Nov 29 2020 Vitaly Zaitsev <vitaly@easycoding.org> - 7.1.3-1
  67. - Updated to version 7.1.3.
  68. * Tue Nov 10 2020 Vitaly Zaitsev <vitaly@easycoding.org> - 7.1.2-1
  69. - Updated to version 7.1.2.
  70. * Sat Aug 08 2020 Vitaly Zaitsev <vitaly@easycoding.org> - 7.0.3-1
  71. - Updated to version 7.0.3.
  72. * Wed Jul 29 2020 Vitaly Zaitsev <vitaly@easycoding.org> - 7.0.2-1
  73. - Updated to version 7.0.2.
  74. * Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 7.0.1-2
  75. - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
  76. * Wed Jul 08 2020 Vitaly Zaitsev <vitaly@easycoding.org> - 7.0.1-1
  77. - Updated to version 7.0.1.
  78. * Sat May 09 2020 Vitaly Zaitsev <vitaly@easycoding.org> - 6.2.1-1
  79. - Updated to version 6.2.1.
  80. * Thu Apr 30 2020 Kefu Chai <tchaikov@gmail.com> - 6.2.0-2
  81. - Incorporate patch from upstream to address https://github.com/fmtlib/fmt/issues/1631
  82. * Mon Apr 06 2020 Vitaly Zaitsev <vitaly@easycoding.org> - 6.2.0-1
  83. - Updated to version 6.2.0.
  84. * Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 6.1.2-2
  85. - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
  86. * Wed Dec 18 2019 Vitaly Zaitsev <vitaly@easycoding.org> - 6.1.2-1
  87. - Updated to version 6.1.2.
  88. - Recreated all documentation patches.
  89. - SPEC file cleanup.
  90. * Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 5.3.0-2
  91. - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
  92. * Mon Jun 10 2019 Jan Staněk <jstanek@redhat.com> - 5.3.0-1
  93. - Update to 5.3.0
  94. - Recreate documentation build patches
  95. - Package new pkg-config files
  96. * Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 5.2.1-2
  97. - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
  98. * Thu Oct 11 2018 Kefu Chai <tchaikov@gmail.com> - 5.2.1-1
  99. - Update to 5.2.1
  100. - Build using python3 packages on fedora
  101. - Remove links in document accessing network
  102. - Package ChangeLog.rst and README.rst
  103. - Drop fmt-static package
  104. * Fri Aug 31 2018 Leigh Scott <leigh123linux@googlemail.com> - 3.0.2-7
  105. - Fix python2 issue for doc
  106. * Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.2-6
  107. - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
  108. * Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.2-5
  109. - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
  110. * Wed Aug 09 2017 Dave Johansen <davejohansen@gmail.com> - 3.0.2-4
  111. - Patch for Test 8 segfault
  112. * Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.2-3
  113. - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
  114. * Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.2-2
  115. - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
  116. * Sat Jun 24 2017 Dave Johansen <davejohansen@gmail.com> - 3.0.2-1
  117. - Upstream release
  118. * Mon May 15 2017 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.1-3
  119. - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_27_Mass_Rebuild
  120. * Tue Dec 27 2016 Dave Johansen <davejohansen@gmail.com> - 3.0.1-2
  121. - Build documentation
  122. * Fri Nov 25 2016 Dave Johansen <davejohansen@gmail.com> - 3.0.1-1
  123. - Upstream release
  124. * Tue Nov 15 2016 Dave Johansen <davejohansen@gmail.com> - 3.0.0-2
  125. - Fix expected unqualified-id before numeric constant error
  126. * Wed Aug 24 2016 Dave Johansen <davejohansen@gmail.com> - 3.0.0-1
  127. - Initial RPM release