"Fossies" - the Fresh Open Source Software Archive

Member "jpegoptim-1.4.6/redhat/jpegoptim.spec" (18 Apr 2018, 1082 Bytes) of package /linux/privat/jpegoptim-1.4.6.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) RPM Spec source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the latest Fossies "Diffs" side-by-side code changes report for "jpegoptim.spec": 1.4.5_vs_1.4.6.

    1 Summary: Utility for optimizing/compressing JPEG files.
    2 Name: jpegoptim
    3 Version: 1.4.6
    4 Release: 1
    5 License: GPL
    6 Group: Applications/Multimedia
    7 URL: http://www.iki.fi/tjko/projects.html
    8 Source0: %{name}-%{version}.tar.gz
    9 BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
   10 
   11 %description
   12 Jpegoptim can optimize/compress jpeg files. Program support
   13 lossless optimization, which is based on optimizing the Huffman
   14 tables. So called, "lossy" optimization (compression) is done 
   15 by re-encoding the image using user specified image quality factor.
   16 
   17 %prep
   18 if [ "${RPM_BUILD_ROOT}x" == "x" ]; then
   19         echo "RPM_BUILD_ROOT empty, bad idea!"
   20         exit 1
   21 fi
   22 if [ "${RPM_BUILD_ROOT}" == "/" ]; then
   23         echo "RPM_BUILD_ROOT is set to "/", bad idea!"
   24         exit 1
   25 fi
   26 %setup -q
   27 
   28 %build
   29 ./configure --prefix=/usr
   30 make
   31 
   32 %install
   33 rm -rf $RPM_BUILD_ROOT
   34 make install DESTDIR=$RPM_BUILD_ROOT
   35 
   36 %clean
   37 rm -rf $RPM_BUILD_ROOT
   38 
   39 %files
   40 %defattr(-,root,root,-)
   41 /usr/bin/*
   42 /usr/share/man/man1/*
   43 %doc README COPYRIGHT
   44 
   45 
   46 %changelog
   47 * Sat Dec  7 2002 Timo Kokkonen <tjko@iki.fi> 
   48 - Initial build.
   49 
   50