2007-01-16 00:12:20 +01:00
|
|
|
#
|
|
|
|
# spec file for package figlet (Version 2.2.2)
|
|
|
|
#
|
2009-06-17 19:34:06 +02:00
|
|
|
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-16 00:12:20 +01:00
|
|
|
#
|
2009-06-17 19:34:06 +02:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2007-06-15 00:19:52 +02:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
2007-01-16 00:12:20 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2009-06-17 19:34:06 +02:00
|
|
|
|
2007-06-15 00:19:52 +02:00
|
|
|
Name: figlet
|
2007-06-22 00:18:53 +02:00
|
|
|
# Patched code is built by default.
|
|
|
|
# Use rpmbuild -D 'BUILD_ORIG 1' to build original code.
|
2009-06-17 19:34:06 +02:00
|
|
|
Url: http://www.figlet.org/
|
|
|
|
License: Other uncritical OpenSource License
|
2007-06-15 00:19:52 +02:00
|
|
|
Group: Productivity/Text/Utilities
|
2009-06-17 19:34:06 +02:00
|
|
|
AutoReqProv: on
|
2007-06-15 00:19:52 +02:00
|
|
|
Version: 2.2.2
|
2009-06-17 19:34:06 +02:00
|
|
|
Release: 137
|
2007-06-15 00:19:52 +02:00
|
|
|
Summary: Tool for Creating Cool ASCII-Art Signatures
|
2007-06-22 00:18:53 +02:00
|
|
|
%if 0%{?BUILD_ORIG}
|
|
|
|
Source0: figlet222.tar.bz2
|
|
|
|
%else
|
|
|
|
# WARNING: This is not a comment, but a real command to repack souce:
|
|
|
|
#%(sh %{_sourcedir}/%{name}-licpatch.sh %{_sourcedir})
|
|
|
|
Source0: figlet222-patched.tar.bz2
|
|
|
|
%endif
|
2007-06-15 00:19:52 +02:00
|
|
|
Source1: contributed.tar.bz2
|
|
|
|
Source2: international.tar.bz2
|
|
|
|
Source3: ours.tar.bz2
|
2007-06-19 00:15:51 +02:00
|
|
|
Source4: figlet222-8859tables.tar.bz2
|
2007-06-22 00:18:53 +02:00
|
|
|
Source5: figlet-licpatch.sh
|
|
|
|
Patch0: figlet-config.patch
|
2007-06-15 00:19:52 +02:00
|
|
|
Patch1: figlet-random.patch
|
|
|
|
Patch2: figlet-implicit.patch
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2007-01-16 00:12:20 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
FIGlet can create characters in many different styles and can kern and
|
|
|
|
"smush" these characters together in various ways. FIGlet output is
|
|
|
|
generally reminiscent of the sort of "signatures" many people like to
|
|
|
|
put at the end of e-mail and UseNet messages.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Glenn Chappell <c486scm@semovm.semo.edu>
|
|
|
|
Ian Chai <ianchai@usa.net>
|
|
|
|
Christiaan Keet <info@figlet.org>
|
|
|
|
|
|
|
|
%prep
|
2007-06-19 00:15:51 +02:00
|
|
|
%setup -n figlet222 -a 1 -a 2 -a 3 -a 4
|
2007-01-16 00:12:20 +01:00
|
|
|
%patch
|
|
|
|
%patch1
|
|
|
|
%patch2
|
|
|
|
|
|
|
|
%build
|
|
|
|
make CFLAGS="$RPM_OPT_FLAGS"
|
|
|
|
|
|
|
|
%install
|
2007-06-15 00:19:52 +02:00
|
|
|
make CFLAGS="$RPM_OPT_FLAGS" DESTDIR=%{buildroot} install
|
|
|
|
cp -a contributed %{buildroot}/usr/share/games/figlet/fonts
|
|
|
|
cp -a international %{buildroot}/usr/share/games/figlet/fonts
|
|
|
|
cp -a ours %{buildroot}/usr/share/games/figlet/fonts
|
|
|
|
chmod 0755 %{buildroot}/usr/games/showfigfonts %{buildroot}/usr/games/figlist
|
2007-01-16 00:12:20 +01:00
|
|
|
|
|
|
|
%clean
|
2007-06-15 00:19:52 +02:00
|
|
|
rm -rf "%{buildroot}"
|
2007-01-16 00:12:20 +01:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
/usr/games/*
|
|
|
|
/usr/share/games/figlet
|
|
|
|
%doc /usr/share/man/man6/*
|
|
|
|
%doc LICENSE CHANGES README FAQ
|
|
|
|
|
2007-06-15 00:19:52 +02:00
|
|
|
%changelog
|
2009-06-17 19:34:06 +02:00
|
|
|
* Thu Jun 21 2007 pcerny@suse.cz
|
2007-06-22 00:18:53 +02:00
|
|
|
- more update due to [#285171]
|
2009-06-17 19:34:06 +02:00
|
|
|
* Mon Jun 18 2007 pcerny@suse.cz
|
2007-06-19 00:15:51 +02:00
|
|
|
- updated some files from unicode.org [#285171]
|
2009-06-17 19:34:06 +02:00
|
|
|
* Thu Jun 14 2007 pcerny@suse.cz
|
2007-06-15 00:19:52 +02:00
|
|
|
- changed permissions for showfigfonts and figlist (#281419)
|
2009-06-17 19:34:06 +02:00
|
|
|
* Wed Jan 25 2006 mls@suse.de
|
2007-01-16 00:12:20 +01:00
|
|
|
- converted neededforbuild to BuildRequires
|
2009-06-17 19:34:06 +02:00
|
|
|
* Tue Nov 08 2005 dmueller@suse.de
|
2007-01-16 00:12:20 +01:00
|
|
|
- don't build as root
|
2009-06-17 19:34:06 +02:00
|
|
|
* Wed Jul 20 2005 sbrabec@suse.cz
|
2007-01-16 00:12:20 +01:00
|
|
|
- Updated to version 2.2.2.
|
2009-06-17 19:34:06 +02:00
|
|
|
* Tue Oct 15 2002 sbrabec@suse.cz
|
2007-01-16 00:12:20 +01:00
|
|
|
- Update to version 2.2.1.
|
|
|
|
- Make build root install.
|
|
|
|
- FHS fixes (use games specific paths).
|
2009-06-17 19:34:06 +02:00
|
|
|
* Thu Dec 06 2001 ro@suse.de
|
2007-01-16 00:12:20 +01:00
|
|
|
- install manpage into right place
|
2009-06-17 19:34:06 +02:00
|
|
|
* Mon Jul 16 2001 rvasice@suse.cz
|
2007-01-16 00:12:20 +01:00
|
|
|
- fix bug [9215]
|
2009-06-17 19:34:06 +02:00
|
|
|
* Tue May 08 2001 mfabian@suse.de
|
2007-01-16 00:12:20 +01:00
|
|
|
- bzip2 some sources
|
2009-06-17 19:34:06 +02:00
|
|
|
* Sat Dec 09 2000 nashif@suse.de
|
2007-01-16 00:12:20 +01:00
|
|
|
- sorted
|
2009-06-17 19:34:06 +02:00
|
|
|
* Mon Sep 13 1999 bs@suse.de
|
2007-01-16 00:12:20 +01:00
|
|
|
- ran old prepare_spec on spec file to switch to new prepare_spec.
|
2009-06-17 19:34:06 +02:00
|
|
|
* Mon Apr 20 1998 ray@suse.de
|
2007-01-16 00:12:20 +01:00
|
|
|
- move to /usr/lib/figlet
|
2009-06-17 19:34:06 +02:00
|
|
|
* Tue Apr 07 1998 ray@suse.de
|
2007-01-16 00:12:20 +01:00
|
|
|
- new package figlet V2.2
|