File littleutils.spec of Package littleutils

Name:           littleutils
Version:        1.0.26
License:        GPL-3.0
Summary:        Collection of Small and Simple Utilities
Group:          Productivity/File utilities
BuildRequires:  libjpeg
BuildRequires:  libjpeg-devel
BuildRequires:  libpng-devel
BuildRequires:  p7zip
BuildRequires:  pngcrush
BuildRequires:  gifsicle
BuildRequires:  xz

File utilities:
filedate, filehash, filemode, filenode, fileown, randomize, lrealpath,

Image processing utilities:
imagsize, jpgcom, pngrecolor, pngstrip

Text file "cleanup" utilities:
notabs, notrail, lreplace

Compression optimization utilities:
opt-gif, opt-jpg, opt-png, recomp-jpg, to-7zip, to-bzip, to-gzip,
to-lzma, to-xz

File maintenance utilities:
lowercase, uppercase, frenum, pren, repeats, wipe-free

%setup -q

export CFLAGS="%{optflags}"
./configure --prefix=%{_prefix}
make %{?_smp_mflags}

make prefix=$RPM_BUILD_ROOT%{_prefix} install
make prefix=$RPM_BUILD_ROOT%{_prefix} install-extra
# filesize is provided by aaa_base.
rm -f $RPM_BUILD_ROOT%{_bindir}/filesize,%{_mandir}/man1/filesize.1}
cd $RPM_BUILD_ROOT%{_bindir}


%doc %{_mandir}/man?/*

* Wed Aug 01 2012 Huaren Zhong <> 1.0.26
- Rebuild for Fedora
* Mon Jun 18 2012
- Update to 1.0.26.
  * Added nanosecond timestamp support to filedate for systems and
    output formats that support it.
  * Made filenode compatible with 64-bit inode numbers.
  * Updated the FAQ and several manpages to better explain how the
    littleutils compare to coreutils.
* Tue Jan 17 2012
- Update to 1.0.25.
  * Added to-gzip utility.
  * Add capability to handle .lzo (lzop) files.
  * Improved use of file utility output, and updated manpages.
  * "realpath" renamed to "lrealpath".
* Tue Nov  8 2011
- Corrected License tag.
- Use full URL as a source.
- rpm changelog improved.
- spec clean up.
* Sun Mar  6 2011
- Update to 1.0.24.
  * Added new littleutil wipe-free, which overwrites all free space
    in a filesystem with zeros.
  * Added -a option to opt-jpg and recomp-jpg to control whether or
    not trials with arithmetic encoding will be allowed.
  * Updated lreplace, notabs, and notrail to print a comment when
    a file is modified.
  * The filehash utility now uses about 2%% less CPU time, which in
    turn means that the repeats utility now uses about 2%% less CPU
  * Added notes to several manpages that describe how to take
    advantage of parallel processing.
- Removed filesize (conflicts with aaa_base).
- Marked man pages as docs.
* Wed Jul 21 2010
- spec-file cleanup
* Sat Nov  7 2009
- Update to 1.0.23.
- Removed unneeded patches.
- Back 7zip support.
* Mon Nov  2 2009
- Update to 1.0.22.
  * Added new littleutil fileown, which allows a query of a file's
    uid/username or gid/group name.
  * Added -m option to opt-jpg to control whether comments and
    other extra markers are copied with the JPEG files.
- Splitted changelog.
* Thu Oct 15 2009
- Removed 7zip support.
- Corrected Summary.
* Wed Jul 22 2009
- Description corrected.
* Sat Jul 18 2009
- libexec moved to lib or to lib64.
* Wed Jun 24 2009
- Initial package created - 1.0.21.