forked from pool/squashfs
Dirk Mueller
b0f0d19b70
- Since version 4.3, squasfs does not require attr-devel but uses glibc instead. OBS-URL: https://build.opensuse.org/request/show/238433 OBS-URL: https://build.opensuse.org/package/show/filesystems/squashfs?expand=0&rev=20
56 lines
1.7 KiB
RPMSpec
56 lines
1.7 KiB
RPMSpec
#
|
|
# spec file for package squashfs
|
|
#
|
|
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
#
|
|
# All modifications and additions to the file contributed by third parties
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
Name: squashfs
|
|
BuildRequires: lzma-devel
|
|
BuildRequires: lzo-devel
|
|
BuildRequires: zlib-devel
|
|
Supplements: filesystem(squashfs)
|
|
Version: 4.3
|
|
Release: 0
|
|
Source0: %{name}%{version}.tar.gz
|
|
Patch0: squashfs-64k.patch
|
|
Url: http://squashfs.sourceforge.net/
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
Summary: A Read-Only File System with Efficient Compression
|
|
License: GPL-2.0+
|
|
Group: System/Filesystems
|
|
|
|
%description
|
|
This package contains the userland utilities to create and read
|
|
squashfs images.
|
|
|
|
%prep
|
|
%setup -n squashfs%{version}
|
|
%patch0 -p1
|
|
|
|
%build
|
|
sed -i -e "s,-O2,%{optflags}," squashfs-tools/Makefile
|
|
make %{?_smp_mflags} -C squashfs-tools XZ_SUPPORT=1 LZO_SUPPORT=1
|
|
|
|
%install
|
|
mkdir -p $RPM_BUILD_ROOT/usr/bin
|
|
install -m 755 squashfs-tools/{un,mk}squashfs $RPM_BUILD_ROOT/usr/bin
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%doc README README-%version PERFORMANCE.README CHANGES
|
|
/usr/bin/*squashfs
|
|
|
|
%changelog
|