"Fossies" - the Fresh Open Source Software Archive

Member "epstool-3.08/src/epstool.spec" (10 Jun 2005, 2333 Bytes) of package /linux/misc/old/ghost/ghostgum/epstool-3.08-os2.zip:


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.

    1 #
    2 # Spec file for epstool 3.08
    3 #
    4 # 3.08 release
    5 #  2005-06-06 Russell Lang <gsview@ghostgum.com.au>
    6 #
    7 Name: epstool
    8 Version: 3.08
    9 Release: 1
   10 Epoch: 0
   11 Summary: Create or extract preview images in EPS files
   12 License: GPL
   13 Group: Applications/Graphics
   14 Source: ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/ghostgum/epstool-3.08.tar.gz
   15 URL: http://www.cs.wisc.edu/~ghost/gsview/
   16 Vendor: Ghostgum Software Pty Ltd
   17 Packager: Russell Lang <gsview@ghostgum.com.au>
   18 Requires: ghostscript
   19 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
   20 
   21 
   22 %description
   23 Epstool is a utility to create or extract preview images in EPS files. 
   24 Add Interchange (EPSI), DOS EPS or PICT preview. 
   25 Extract PostScript or preview from DOS EPS or Macintosh EPSF files. 
   26 Create preview using ghostscript. 
   27 Automatically calculate bounding box using ghostscript and update in EPS file. 
   28 Handle DCS 2.0 (Desktop Color Separations). 
   29 
   30 %prep
   31 rm -rf $RPM_BUILD_DIR/epstool-%{version}
   32 mkdir $RPM_BUILD_DIR/epstool-%{version}
   33 %setup -n epstool-%{version}
   34 
   35 %build
   36 cd $RPM_BUILD_DIR/epstool-%{version}
   37 make RPM_OPT_FLAGS="$RPM_OPT_FLAGS" \
   38         EPSTOOL_BASE=%{_prefix}          \
   39         EPSTOOL_BINDIR=%{_bindir}        \
   40         EPSTOOL_MANDIR=%{_mandir}        \
   41         EPSTOOL_DOCDIR=%{_docdir}
   42 
   43 %install
   44 rm -rf $RPM_BUILD_ROOT
   45 install -d $RPM_BUILD_ROOT%{_bindir}
   46 install -d $RPM_BUILD_ROOT%{_mandir}
   47 install -d $RPM_BUILD_ROOT%{_docdir}
   48 cd $RPM_BUILD_DIR/epstool-%{version}
   49 make install \
   50         EPSTOOL_BASE=$RPM_BUILD_ROOT%{_prefix}           \
   51         EPSTOOL_BINDIR=$RPM_BUILD_ROOT%{_bindir}         \
   52         EPSTOOL_MANDIR=$RPM_BUILD_ROOT%{_mandir}         \
   53         EPSTOOL_DOCDIR=$RPM_BUILD_ROOT%{_docdir}
   54 
   55 %clean
   56 rm -rf $RPM_BUILD_DIR/%{name}-%{version}
   57 rm -rf $RPM_BUILD_ROOT
   58 
   59 %files
   60 %defattr(-, root, root)
   61 %doc %{_docdir}/*
   62 %{_bindir}/*
   63 %{_mandir}/man*/*
   64 
   65 %changelog
   66 * Fri Jun 10 2005 Russell Lang <gsview@ghostgum.com.au>
   67 - epstool 3.08 release
   68 * Fri Jan 07 2005 Russell Lang <gsview@ghostgum.com.au>
   69 - epstool 3.07 release
   70 * Thu Nov 28 2004 Russell Lang <gsview@ghostgum.com.au>
   71 - epstool 3.06 release
   72 * Thu Apr 22 2004 Russell Lang <gsview@ghostgum.com.au>
   73 - epstool 3.05 release
   74   Initial spec file
   75   Unfortunately RPM requires that dates be written backwards.
   76   Release date should be "Thu 22 Apr 2004" or preferably
   77   2004-04-22.