auto-import squashfs-tools-2.2r2-1 on branch devel from

squashfs-tools-2.2r2-1.src.rpm
This commit is contained in:
Jeremy Katz 2005-12-01 20:15:48 +00:00
parent a5d3704827
commit ba5d1d2651
4 changed files with 53 additions and 0 deletions

View File

@ -0,0 +1 @@
squashfs2.2-r2.tar.gz

View File

@ -0,0 +1 @@
a8d09a217240127ae4d339e8368d2de1 squashfs2.2-r2.tar.gz

10
squashfs-cflags.patch Normal file
View File

@ -0,0 +1,10 @@
--- squashfs2.2-r2/squashfs-tools/Makefile.cflags 2005-12-01 14:53:27.000000000 -0500
+++ squashfs2.2-r2/squashfs-tools/Makefile 2005-12-01 14:56:24.000000000 -0500
@@ -1,6 +1,6 @@
INCLUDEDIR = .
-CFLAGS := -I$(INCLUDEDIR) -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -g
+CFLAGS := $(RPM_OPT_FLAGS) -I$(INCLUDEDIR) -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -g
mksquashfs: mksquashfs.o read_fs.o sort.o
$(CC) mksquashfs.o read_fs.o sort.o -lz -o $@

41
squashfs-tools.spec Normal file
View File

@ -0,0 +1,41 @@
Summary: squashfs utilities
Name: squashfs-tools
Version: 2.2r2
Release: 1
License: GPL
Group: System Environment/Base
URL: http://squashfs.sf.net
Source0: squashfs2.2-r2.tar.gz
Patch0: squashfs-cflags.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
%description
Squashfs is a highly compressed read-only filesystem for Linux. This package
contains the utilities for manipulating squashfs filesystems.
%prep
%setup -q -n squashfs2.2-r2
%patch0 -p1
%build
pushd squashfs-tools
make RPM_OPT_FLAGS="%{optflags}"
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/sbin
install -m 755 squashfs-tools/mksquashfs $RPM_BUILD_ROOT/sbin/mksquashfs
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc README PERFORMANCE.README COPYING ACKNOWLEDGEMENTS CHANGES
/sbin/mksquashfs
%changelog
* Thu Dec 1 2005 Jeremy Katz <katzj@redhat.com> - 2.2r2-1
- Initial build