diff options
author | CoprDistGit <infra@openeuler.org> | 2024-11-16 13:06:56 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2024-11-16 13:06:56 +0000 |
commit | eb127cd235e5545bb674b1c75ff2bd5eb692a16d (patch) | |
tree | 27d11318d24bbd48052269d3287c14f24e7e8897 | |
parent | b1ed5d986b6d9fa42d3e4687cb4ca511828ed934 (diff) |
automatic import of fmtopeneuler24.03_LTS
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | fmt.spec | 58 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 60 insertions, 0 deletions
@@ -0,0 +1 @@ +/fmt-8.1.1.tar.gz diff --git a/fmt.spec b/fmt.spec new file mode 100644 index 0000000..643a120 --- /dev/null +++ b/fmt.spec @@ -0,0 +1,58 @@ +Name: fmt +Version: 8.1.1 +Release: 2 +License: MIT +Summary: Small, safe and fast formatting library for C++ +URL: https://github.com/fmtlib/fmt +Source0: https://github.com/fmtlib/fmt/archive/%{version}/%{name}-%{version}.tar.gz +BuildRequires: gcc gcc-c++ ninja-build cmake +%description +C++ Format is an open-source formatting library for C++. It can be used as a +safe alternative to printf or as a fast alternative to IOStreams. + +%package devel +Summary: Development files for %{name} +Requires: %{name} = %{version}-%{release} +%description devel +This package contains the header file for using %{name}. + +%prep +%autosetup -p1 + +%build +%cmake \ + -G Ninja \ + -DCMAKE_BUILD_TYPE=RelWithDebInfo \ + -DCMAKE_POSITION_INDEPENDENT_CODE=ON +%cmake_build + +%install +%cmake_install + +%check +%ctest + +%files +%license LICENSE.rst +%doc ChangeLog.rst README.rst +%{_libdir}/lib%{name}.so.8* + +%files devel +%{_includedir}/%{name} +%{_libdir}/lib%{name}.so +%{_libdir}/cmake/%{name} +%{_libdir}/pkgconfig/%{name}.pc + +%changelog +* Sat Nov 16 2024 Funda Wang <fundawang@yeah.net> - 8.1.1-2 +- adopt to new cmake macro + +* Thu Sep 21 2023 yaoxin <yao_xin001@hoperun.com> - 8.1.1-1 +- Upgrade to 8.1.1 +- Abi change: libfmt.so.8.0.1 -> libfmt.so.8.1.1 + +* Fri Aug 26 2022 yangchenguang <yangchenguang@uniontech.com> - 8.0.1-2 +- fix dependency compile failed + +* Sat Aug 7 2021 liyanan <liyanan32@huawei.com> - 8.0.1-1 +- package init @@ -0,0 +1 @@ +fe7f1585844b14c647bd332ad5562832 fmt-8.1.1.tar.gz |