Projects
home:pandora:RobinOS23
xz
_service:download_src_package:xz.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:download_src_package:xz.spec of Package xz
%define anolis_release 3 Name: xz Version: 5.2.6 Release: %{anolis_release}%{?dist} Summary: LZMA compression utilities License: GPLv2+ and Public Domain URL: https://tukaani.org/xz Source0: https://tukaani.org/%{name}/%{name}-%{version}.tar.xz Source1: colorxzgrep.csh Source2: colorxzgrep.sh BuildRequires: make gcc perl sed Requires: grep %description XZ Utils are an attempt to make LZMA compression easy to use on free (as in freedom) operating systems. This is achieved by providing tools and libraries which are similar to use than the equivalents of the most popular existing compression algorithms. LZMA is a general purpose compression algorithm designed by Igor Pavlov as part of 7-Zip. It provides high compression ratio while keeping the decompression speed fast. %package libs Summary: Libraries for decoding LZMA compression License: Public Domain %description libs Libraries for decoding files compressed with LZMA or XZ utils. %package static Summary: Statically linked library for decoding LZMA compression License: Public Domain %description static Statically linked library for decoding files compressed with LZMA or XZ utils. Most users should *not* install this. %package devel Summary: Devel libraries & headers for liblzma License: Public Domain Requires: %{name}-libs = %{version}-%{release} %description devel Devel libraries and headers for liblzma. %package lzma-compat Summary: Older LZMA format compatibility binaries # Just a set of symlinks to 'xz' + two Public Domain binaries. License: Public Domain Requires: %{name} = %{version}-%{release} Obsoletes: lzma < %{version} Provides: lzma = %{version} %description lzma-compat The lzma-compat package contains compatibility links for older commands that deal with the older LZMA format. %prep %autosetup %build export CFLAGS="%optflags" %configure %make_build %install %make_install rm -f %{buildroot}%{_libdir}/*.la # xzgrep colorization %global profiledir %{_sysconfdir}/profile.d mkdir -p %{buildroot}%{profiledir} install -p -m644 %{SOURCE1} %{SOURCE2} %{buildroot}%{profiledir} %find_lang %name %generate_compatibility_deps %check LD_LIBRARY_PATH=$PWD/src/liblzma/.libs make check %ldconfig_scriptlets libs %files -f %{name}.lang %license COPYING* %doc %{_pkgdocdir} %exclude %_pkgdocdir/examples* %{_bindir}/*xz* %{abidir}/*xz*-option.list %{_mandir}/man1/*xz* %{_mandir}/de/man1/*xz* %{_mandir}/fr_FR/man1/*xz* %{profiledir}/* %files libs %dir %{abidir} %license COPYING %{_libdir}/lib*.so.5* %{abidir}/lib*.dump %files static %license COPYING %{_libdir}/liblzma.a %files devel %dir %{_includedir}/lzma %{_includedir}/lzma/*.h %{_includedir}/lzma.h %{_libdir}/*.so %{_libdir}/pkgconfig/liblzma.pc %doc %_pkgdocdir/examples* %files lzma-compat %{_bindir}/*lz* %{abidir}/*lz*-option.list %{_mandir}/man1/*lz* %{_mandir}/de/man1/*lz* %{_mandir}/fr_FR/man1/*lz* %changelog * Fri Oct 14 2022 Chunmei Xu <xuchunmei@linux.alibaba.com> - 5.2.6-3 - optimise spec file * Wed Oct 12 2022 mgb01105731 <mgb01105731@alibaba-inc.com> - 5.2.6-2 - add abi & api * Thu Sep 22 2022 mgb01105731 <mgb01105731@alibaba-inc.com> - 5.2.6-1 - update to 5.2.6 * Mon Mar 7 2022 forrest_ly <flin@linux.alibaba.com> - 5.2.5-1 - Init for Anolis OS 23
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2