File jpeg2ps.spec of Package jpeg2ps

#
# spec file for package jpeg2ps (Version 1.9)
#
# Copyright (c) 2005 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://www.suse.de/feedback/
#

# norootforbuild

Name:         jpeg2ps
License:      distributable
Group:        Productivity/Graphics/Convertors
Autoreqprov:  on
Version:      1.9
Release:      180
Source0:      %{name}-%{version}.tar.bz2
URL:          http://www.pdflib.com/products/more/jpeg2ps.html
BuildRoot:    %{_tmppath}/%{name}-%{version}-build
Summary:      JPEG to PostScript Level 2 (or PostScript 3) wrapper

%description
Jpeg2ps is a utility for converting JPEG images to compressed
PostScript Level 2 or 3 files (without uncompressing the images). The
JPEG data is simply "wrapped" with PostScript which yields considerably
smaller PS files.



Authors:
--------
    Thomas Merz <tm@pdflib.com>

%prep
%setup

%build
make CFLAGS="-c -DA4 $RPM_OPT_FLAGS"
make test

%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/usr/bin
cp jpeg2ps $RPM_BUILD_ROOT/usr/bin
mkdir -p $RPM_BUILD_ROOT/usr/share/man/man1
cp jpeg2ps.1 $RPM_BUILD_ROOT/usr/share/man/man1

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-, root, root)
%doc jpeg2ps.txt
/usr/bin/*
/usr/share/man/*/*

%changelog -n jpeg2ps
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Wed Oct 05 2005 - dmueller@suse.de
- add norootforbuild
* Thu Nov 28 2002 - sbrabec@suse.cz
- Added new package.
openSUSE Build Service is sponsored by