fmt-vl.spec 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179
  1. %undefine __cmake_in_source_build
  2. Name: fmt
  3. Summary: Small, safe and fast formatting library for C++
  4. Version: 9.1.0
  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.rst
  52. %doc ChangeLog.rst README.rst
  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. * Sun Oct 02 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 9.1.0-1
  61. - new upstream release.
  62. * Sat Dec 12 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 7.1.3-2
  63. - initial build for Vine Linux.
  64. * Sun Nov 29 2020 Vitaly Zaitsev <vitaly@easycoding.org> - 7.1.3-1
  65. - Updated to version 7.1.3.
  66. * Tue Nov 10 2020 Vitaly Zaitsev <vitaly@easycoding.org> - 7.1.2-1
  67. - Updated to version 7.1.2.
  68. * Sat Aug 08 2020 Vitaly Zaitsev <vitaly@easycoding.org> - 7.0.3-1
  69. - Updated to version 7.0.3.
  70. * Wed Jul 29 2020 Vitaly Zaitsev <vitaly@easycoding.org> - 7.0.2-1
  71. - Updated to version 7.0.2.
  72. * Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 7.0.1-2
  73. - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
  74. * Wed Jul 08 2020 Vitaly Zaitsev <vitaly@easycoding.org> - 7.0.1-1
  75. - Updated to version 7.0.1.
  76. * Sat May 09 2020 Vitaly Zaitsev <vitaly@easycoding.org> - 6.2.1-1
  77. - Updated to version 6.2.1.
  78. * Thu Apr 30 2020 Kefu Chai <tchaikov@gmail.com> - 6.2.0-2
  79. - Incorporate patch from upstream to address https://github.com/fmtlib/fmt/issues/1631
  80. * Mon Apr 06 2020 Vitaly Zaitsev <vitaly@easycoding.org> - 6.2.0-1
  81. - Updated to version 6.2.0.
  82. * Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 6.1.2-2
  83. - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
  84. * Wed Dec 18 2019 Vitaly Zaitsev <vitaly@easycoding.org> - 6.1.2-1
  85. - Updated to version 6.1.2.
  86. - Recreated all documentation patches.
  87. - SPEC file cleanup.
  88. * Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 5.3.0-2
  89. - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
  90. * Mon Jun 10 2019 Jan Staněk <jstanek@redhat.com> - 5.3.0-1
  91. - Update to 5.3.0
  92. - Recreate documentation build patches
  93. - Package new pkg-config files
  94. * Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 5.2.1-2
  95. - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
  96. * Thu Oct 11 2018 Kefu Chai <tchaikov@gmail.com> - 5.2.1-1
  97. - Update to 5.2.1
  98. - Build using python3 packages on fedora
  99. - Remove links in document accessing network
  100. - Package ChangeLog.rst and README.rst
  101. - Drop fmt-static package
  102. * Fri Aug 31 2018 Leigh Scott <leigh123linux@googlemail.com> - 3.0.2-7
  103. - Fix python2 issue for doc
  104. * Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.2-6
  105. - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
  106. * Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.2-5
  107. - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
  108. * Wed Aug 09 2017 Dave Johansen <davejohansen@gmail.com> - 3.0.2-4
  109. - Patch for Test 8 segfault
  110. * Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.2-3
  111. - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
  112. * Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.2-2
  113. - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
  114. * Sat Jun 24 2017 Dave Johansen <davejohansen@gmail.com> - 3.0.2-1
  115. - Upstream release
  116. * Mon May 15 2017 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.1-3
  117. - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_27_Mass_Rebuild
  118. * Tue Dec 27 2016 Dave Johansen <davejohansen@gmail.com> - 3.0.1-2
  119. - Build documentation
  120. * Fri Nov 25 2016 Dave Johansen <davejohansen@gmail.com> - 3.0.1-1
  121. - Upstream release
  122. * Tue Nov 15 2016 Dave Johansen <davejohansen@gmail.com> - 3.0.0-2
  123. - Fix expected unqualified-id before numeric constant error
  124. * Wed Aug 24 2016 Dave Johansen <davejohansen@gmail.com> - 3.0.0-1
  125. - Initial RPM release