--- /dev/null
+Name: pixz
+Version: 1.0.2
+Release: 1%{?dist}
+Summary: Parallel, indexed xz compressor
+
+License: BSD
+URL: https://github.com/vasi/pixz
+Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tgz
+
+BuildRequires: libarchive-devel
+BuildRequires: xz-devel
+#Requires:
+
+%description
+Pixz (pronounced 'pixie') is a parallel, indexing version of XZ
+
+The existing XZ utils provide great compression in the .xz file
+format, but they have two significant problems:
+
+* They are single-threaded, while most users nowadays have multi-core
+ computers.
+
+* The .xz files they produce are just one big block of compressed
+ data, rather than a collection of smaller blocks. This makes random
+ access to the original data impossible.
+
+Pixz solves both of these problems.
+
+
+%prep
+%setup -q
+
+
+%build
+# Package doesn't use autotools, but honours $CFLAGS and $LDFLAGS.
+# Adding -lm to LDFLAGS works around a bug in the Makefile.
+CFLAGS="%{optflags}" \
+LDFLAGS="-lm %{optflags}" \
+make %{?_smp_mflags}
+
+
+%install
+# There is no 'make install' rule.
+mkdir -p $RPM_BUILD_ROOT%{_bindir}
+mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1
+install -m 0755 pixz $RPM_BUILD_ROOT%{_bindir}
+install -m 0644 pixz.1 $RPM_BUILD_ROOT%{_mandir}/man1
+
+
+%files
+%doc LICENSE NEWS README TODO
+%{_bindir}/pixz
+%{_mandir}/man1/pixz.1*
+
+
+%changelog
+* Wed May 8 2013 Richard W.M. Jones <rjones@redhat.com> - 1.0.2-1
+- Initial package for Fedora.