File: jpegoptim.spec

package info (click to toggle)
jpegoptim 1.2.2-8
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 360 kB
  • ctags: 93
  • sloc: sh: 5,123; ansic: 1,061; makefile: 105
file content (50 lines) | stat: -rw-r--r-- 1,087 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
Summary: Utility for optimizing/compressing JPEG files.
Name: jpegoptim
Version: 1.2.2
Release: 1
License: GPL
Group: Applications/Multimedia
URL: http://www.iki.fi/tjko/projects.html
Source0: %{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot

%description
Jpegoptim can optimize/compress jpeg files. Program support
lossless optimization, which is based on optimizing the Huffman
tables. So called, "lossy" optimization (compression) is done 
by re-encoding the image using user specified image quality factor.

%prep
if [ "${RPM_BUILD_ROOT}x" == "x" ]; then
        echo "RPM_BUILD_ROOT empty, bad idea!"
        exit 1
fi
if [ "${RPM_BUILD_ROOT}" == "/" ]; then
        echo "RPM_BUILD_ROOT is set to "/", bad idea!"
        exit 1
fi
%setup -q

%build
./configure --prefix=/usr
make

%install
rm -rf $RPM_BUILD_ROOT
make install INSTALL_ROOT=$RPM_BUILD_ROOT

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root,-)
/usr/bin/*
/usr/share/man/man1/*
%doc README COPYRIGHT


%changelog
* Sat Dec  7 2002 Timo Kokkonen <tjko@iki.fi> 
- Initial build.