2007-01-16 00:37:53 +01:00
|
|
|
#
|
2010-02-24 02:28:44 +01:00
|
|
|
# spec file for package squashfs (Version 4.0)
|
2007-01-16 00:37:53 +01:00
|
|
|
#
|
2010-02-24 02:28:44 +01:00
|
|
|
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-16 00:37:53 +01:00
|
|
|
#
|
2009-02-26 12:56:39 +01:00
|
|
|
# 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.
|
|
|
|
|
2007-01-16 00:37:53 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2009-02-26 12:56:39 +01:00
|
|
|
|
2007-01-16 00:37:53 +01:00
|
|
|
Name: squashfs
|
2010-11-03 10:44:36 +01:00
|
|
|
BuildRequires: zlib-devel attr-devel
|
2010-02-24 02:28:44 +01:00
|
|
|
License: GPLv2+
|
2007-01-16 00:37:53 +01:00
|
|
|
Group: System/Filesystems
|
2007-08-16 18:25:27 +02:00
|
|
|
Supplements: filesystem(squashfs)
|
2010-11-03 10:44:36 +01:00
|
|
|
Version: 4.1
|
2009-02-26 12:56:39 +01:00
|
|
|
Release: 1
|
2010-11-03 10:44:36 +01:00
|
|
|
Source0: squashfs4.1.tar.gz
|
2009-02-26 12:56:39 +01:00
|
|
|
Url: http://squashfs.sourceforge.net/
|
2007-01-16 00:37:53 +01:00
|
|
|
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.
|
|
|
|
|
|
|
|
%prep
|
2010-02-24 02:28:44 +01:00
|
|
|
%setup -n squashfs%{version}
|
2007-01-16 00:37:53 +01:00
|
|
|
|
|
|
|
%build
|
2010-11-03 10:44:36 +01:00
|
|
|
sed -i -e "s,-O2,%{optflags}," squashfs-tools/Makefile
|
|
|
|
make -C squashfs-tools
|
2007-01-16 00:37:53 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
mkdir -p $RPM_BUILD_ROOT/usr/bin
|
2010-02-24 02:28:44 +01:00
|
|
|
install -m 755 squashfs-tools/{un,mk}squashfs $RPM_BUILD_ROOT/usr/bin
|
2007-01-16 00:37:53 +01:00
|
|
|
|
|
|
|
%clean
|
2007-08-24 02:06:45 +02:00
|
|
|
rm -rf $RPM_BUILD_ROOT
|
2007-01-16 00:37:53 +01:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2010-11-03 10:44:36 +01:00
|
|
|
%doc README README-%version PERFORMANCE.README CHANGES
|
2007-01-16 00:37:53 +01:00
|
|
|
/usr/bin/*squashfs
|
|
|
|
|
2007-03-29 18:29:20 +02:00
|
|
|
%changelog
|