SHA256
3
0
forked from pool/zstd

Accepting request 1085997 from Archiving

OBS-URL: https://build.opensuse.org/request/show/1085997
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/zstd?expand=0&rev=33
This commit is contained in:
Dominique Leuenberger 2023-05-13 15:16:54 +00:00 committed by Git OBS Bridge
commit d0730e9643
4 changed files with 16 additions and 0 deletions

2
.gitattributes vendored
View File

@ -21,3 +21,5 @@
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text
## Specific LFS patterns
cmake.tar filter=lfs diff=lfs merge=lfs -text

3
cmake.tar Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6bc6de375cb3d76bfc86ced1fb54ddc12db73b57f80efe32610c95d007ed641d
size 20480

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed May 10 01:42:06 UTC 2023 - Bernhard Wiedemann <bwiedemann@suse.com>
- Add cmake files manually because we do not want to add
cmake to the bootstrap ring0
-------------------------------------------------------------------
Thu Apr 13 11:15:39 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@ -27,6 +27,8 @@ URL: https://github.com/facebook/zstd
Source0: https://github.com/facebook/zstd/releases/download/v%{version}/%{name}-%{version}.tar.gz
Source1: https://github.com/facebook/zstd/releases/download/v%{version}/%{name}-%{version}.tar.gz.sig
Source2: zstd.keyring
# cmake.tar contains files created by cmake in https://build.opensuse.org/package/show/Archiving/zstd?rev=86 that are needed by pcsx2 cmake build
Source3: cmake.tar
Source99: baselibs.conf
Patch1: pzstd.1.patch
BuildRequires: gcc
@ -123,6 +125,7 @@ export CXXFLAGS="%{optflags} -std=c++11"
%make_install V=1 VERBOSE=1 prefix=%{_prefix} libdir=%{_libdir}
install -D -m755 contrib/pzstd/pzstd %{buildroot}%{_bindir}/pzstd
install -D -m644 programs/zstd.1 %{buildroot}%{_mandir}/man1/pzstd.1
tar -C %{buildroot}/%{_libdir} -xf %{SOURCE3}
ln -s zstd %{buildroot}/%{_bindir}/gzip
ln -s zstd %{buildroot}/%{_bindir}/gunzip
ln -s zstdcat %{buildroot}/%{_bindir}/zcat
@ -149,6 +152,8 @@ ln -s zstdcat %{buildroot}/%{_bindir}/zcat
%files -n lib%{name}-devel
%license COPYING LICENSE
%{_includedir}/*.h
%dir %{_libdir}/cmake
%{_libdir}/cmake/zstd
%{_libdir}/pkgconfig/libzstd.pc
%{_libdir}/libzstd.so