SHA256
1
0
forked from pool/squashfs
squashfs/squashfs.spec

104 lines
3.2 KiB
RPMSpec

#
# spec file for package squashfs (Version 3.99cvs20090225)
#
# Copyright (c) 2009 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/
#
# norootforbuild
# Commandline:
Name: squashfs
BuildRequires: zlib-devel
License: GPL v2 or later
Group: System/Filesystems
Supplements: filesystem(squashfs)
Version: 3.99cvs20090225
Release: 1
Source0: squashfs-tools.tar.bz2
Patch: squashfs-retval.patch
Url: http://squashfs.sourceforge.net/
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Summary: A Read-Only File System with Efficient Compression
%description
This package contains the userland utilities to create and read
squashfs images.
Authors:
--------
Phillip Lougher
%prep
%setup -n squashfs-tools
%patch -p1
%build
make CFLAGS="-I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE $RPM_OPT_FLAGS"
%install
mkdir -p $RPM_BUILD_ROOT/usr/bin
cp -p {un,mk}squashfs $RPM_BUILD_ROOT/usr/bin
#chmod 644 *READ* *CHANGE*
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
#%doc README CHANGES PERFORMANCE.README
/usr/bin/*squashfs
%changelog
* Wed Feb 25 2009 coolo@suse.de
- update to squashfs pre 4.0 to create squashfs that 2.6.29 can
actually read
- (there is no documentation in CVS)
* Thu Aug 23 2007 olh@suse.de
- move kernel driver to kernel-binary.rpm
* Thu Aug 16 2007 cthiel@suse.de
- Supplements: filesystem(squashfs)
* Wed Jun 06 2007 ro@suse.de
- fix build with current kernel
* Wed Apr 04 2007 lrupp@suse.de
- added module-init-tools to BuildRequires
* Thu Mar 29 2007 rguenther@suse.de
- added zlib-devel BuildRequires.
* Tue Jan 23 2007 ro@suse.de
- update to 3.2r2
- Kernel patches 2.6.19/2.6.20 have been updated to use
const structures and mutexes rather than older semaphores.
- Minor SMP bug fixes.
- Progress bar broken on x86-64. Fixed.
- update to 3.2
- Improvements:
- Squashfs filesystems can now be exported via NFS.
- Unsquashfs now supports 2.x filesystems.
- Mksquashfs now displays a progress bar.
- Squashfs kernel code has been hardened against accidently or
maliciously corrupted Squashfs filesystems.
- Bug fixes:
- Race condition occurring on S390 in readpage() fixed.
- Odd behaviour of MIPS memcpy in read_data() routine worked-around.
- Missing cache_flush in Squashfs symlink_readpage() added.
- update to 3.1r2
- A code optimisation after testing unfortunately
broke sorting in Mksquashfs. This has been fixed.
* Mon Aug 21 2006 ro@suse.de
- update to version 3.1 to fix build on 2.6.18
* Thu May 11 2006 duwe@suse.de
- packaged current version for SuSE Linux.