crc32c 1.1.3-0.20230104.1 (aarch64;x86_64;znver1) 2023-17295
0
Status | rejected | |||||||||||||||
Submitter | omv [@T] davidebeatrici.dev | |||||||||||||||
Platform | rolling | |||||||||||||||
Repository | main | |||||||||||||||
URL | https://abf.openmandriva.org/build_lists/290354 | |||||||||||||||
Packages |
|
|||||||||||||||
Build Date | 2023-02-15 03:31:31 +0000 UTC | |||||||||||||||
Last Updated | 2023-02-21 13:31:17.339087973 +0000 UTC |
$ git show --format=fuller --patch-with-stat --summary f50d67aa4647089cefdef73f48c22dae742d462d commit f50d67aa4647089cefdef73f48c22dae742d462d Author: Bernhard Rosenkränzer <bero@lindev.ch> AuthorDate: Wed Jan 4 16:16:41 2023 +0100 Commit: Bernhard Rosenkränzer <bero@lindev.ch> CommitDate: Wed Jan 4 16:16:41 2023 +0100 Initial package --- .abf.yml | 2 ++ crc32c.spec | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 55 insertions(+) create mode 100644 .abf.yml create mode 100644 crc32c.spec diff --git a/.abf.yml b/.abf.yml new file mode 100644 index 0000000..f2652db --- /dev/null +++ b/.abf.yml @@ -0,0 +1,2 @@ +sources: + main.tar.gz: 10ec17711b100a7a06f3d143ebbac72409dfac33 diff --git a/crc32c.spec b/crc32c.spec new file mode 100644 index 0000000..23800c5 --- /dev/null +++ b/crc32c.spec @@ -0,0 +1,53 @@ +%define major 1 +%define libname %mklibname crc32c +%define devname %mklibname crc32c -d + +Name: crc32c +Version: 1.1.3 +Release: 0.20230104.1 +Source0: https://github.com/google/crc32c/archive/refs/heads/main.tar.gz +Summary: CRC32c library with support for CPU specific acceleration instructions +URL: https://github.com/google/crc32c +License: GPL +Group: System/Libraries +BuildRequires: cmake ninja + +%description +CRC32c library with support for CPU specific acceleration instructions + +%package -n %{libname} +Summary: CRC32c library with support for CPU specific acceleration instructions +Group: System/Libraries + +%description -n %{libname} +CRC32c library with support for CPU specific acceleration instructions + +%package -n %{devname} +Summary: Development files for %{name} +Group: Development/C +Requires: %{libname} = %{EVRD} + +%description -n %{devname} +Development files (Headers etc.) for %{name}. + +%prep +%autosetup -p1 -n %{name}-main +%cmake \ + -DCRC32C_BUILD_BENCHMARKS:BOOL=OFF \ + -DCRC32C_BUILD_TESTS:BOOL=OFF \ + -DCRC32C_USE_GLOG:BOOL=OFF \ + -G Ninja + +%build +%ninja_build -C build + +%install +%ninja_install -C build + +%files -n %{libname} +%{_libdir}/*.so.%{major}* + +%files -n %{devname} +%{_includedir}/* +%{_libdir}/*.so +%{_libdir}/cmake/Crc32c
Not Available
benbullard79 [@T] cox.net | No Comment. | 638d 23hrs |