Mon, 17 Sep 2012 19:10:10 +0200
Update to new version of vendor software although Oracle fails to deliver.
More specifically, newer db(3) patch revisions exist but Oracle has
removed them from the canonical download server URI for Berkely DB.
1 ##
2 ## figlet.spec -- OpenPKG RPM Package Specification
3 ## Copyright (c) 2000-2012 OpenPKG Foundation e.V. <http://openpkg.net/>
4 ##
5 ## Permission to use, copy, modify, and distribute this software for
6 ## any purpose with or without fee is hereby granted, provided that
7 ## the above copyright notice and this permission notice appear in all
8 ## copies.
9 ##
10 ## THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
11 ## WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
12 ## MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
13 ## IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR
14 ## CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
15 ## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
16 ## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
17 ## USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
18 ## ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
19 ## OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
20 ## OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
21 ## SUCH DAMAGE.
22 ##
24 # package information
25 Name: figlet
26 Summary: ASCII Figure Fonts
27 URL: http://www.figlet.org/
28 Vendor: John Cowan
29 Packager: OpenPKG Foundation e.V.
30 Distribution: OpenPKG Community
31 Class: BASE
32 Group: Typesetting
33 License: BSD
34 Version: 2.2.5
35 Release: 20120800
37 # list of sources
38 Source0: ftp://ftp.figlet.org/pub/figlet/program/unix/figlet-%{version}.tar.gz
39 Patch0: figlet.patch
41 # build information
42 BuildPreReq: OpenPKG, openpkg >= 20100101
43 PreReq: OpenPKG, openpkg >= 20100101
45 %description
46 FIGlet is a nifty program for rendering font-based banners with
47 plain ASCII text character combinations.
49 %track
50 prog figlet = {
51 version = %{version}
52 url = ftp://ftp.plig.org/pub/figlet/program/unix/
53 regex = figlet-(__VER__)\.tar\.gz
54 }
56 %prep
57 %setup -q
58 %patch -p0
60 %build
61 %{l_make} %{l_mflags} \
62 CC="%{l_cc}" \
63 CFLAGS="%{l_cflags -O}" \
64 DEFAULTFONTDIR="%{l_prefix}/share/figlet"
66 %install
67 %{l_shtool} mkdir -f -p -m 755 \
68 $RPM_BUILD_ROOT%{l_prefix}/bin \
69 $RPM_BUILD_ROOT%{l_prefix}/man/man6 \
70 $RPM_BUILD_ROOT%{l_prefix}/share/figlet
71 %{l_shtool} install -c -s -m 755 \
72 figlet chkfont $RPM_BUILD_ROOT%{l_prefix}/bin/
73 %{l_shtool} install -c -m 755 \
74 figlist showfigfonts $RPM_BUILD_ROOT%{l_prefix}/bin/
75 %{l_shtool} install -c -m 644 \
76 figlet.6 $RPM_BUILD_ROOT%{l_prefix}/man/man6/
77 %{l_shtool} install -c -m 644 \
78 fonts/*.flf fonts/*.flc $RPM_BUILD_ROOT%{l_prefix}/share/figlet/
79 %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std}
81 %files -f files
83 %clean