This commit is contained in:
commit
fc75cfe7b0
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
3
contributed.tar.bz2
Normal file
3
contributed.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:238a8be55116dc4d46e9a0bb4e1b924ade5953faa64b5943b085e2f573aaaf88
|
||||||
|
size 1281726
|
71
figlet-config.patch
Normal file
71
figlet-config.patch
Normal file
@ -0,0 +1,71 @@
|
|||||||
|
--- Makefile
|
||||||
|
+++ Makefile
|
||||||
|
@@ -4,7 +4,7 @@
|
||||||
|
# Copyright 1996, 1997, 1998, 1999, 2000, 2001 John Cowan
|
||||||
|
# Copyright 2002 Christiaan Keet
|
||||||
|
|
||||||
|
-# Please make sure DESTDIR, MANDIR, DEFAULTFONTDIR and
|
||||||
|
+# Please make sure BINDIR, MANDIR, DEFAULTFONTDIR and
|
||||||
|
# DEFAULTFONTFILE are defined to reflect the situation
|
||||||
|
# on your computer. See README for details.
|
||||||
|
|
||||||
|
@@ -15,15 +15,15 @@
|
||||||
|
CFLAGS = -g
|
||||||
|
|
||||||
|
# Where the executables should be put
|
||||||
|
-DESTDIR = /usr/local/bin
|
||||||
|
+BINDIR = /usr/games
|
||||||
|
|
||||||
|
# Where the man page should be put
|
||||||
|
-MANDIR = /usr/local/man/man6
|
||||||
|
+MANDIR = /usr/share/man/man6
|
||||||
|
|
||||||
|
# Where figlet will search first for fonts (the ".flf" files).
|
||||||
|
-DEFAULTFONTDIR = /usr/local/share/figlet
|
||||||
|
+DEFAULTFONTDIR = /usr/share/games/figlet/fonts
|
||||||
|
# Use this definition if you can't put things in /usr/local/share/figlet
|
||||||
|
-DEFAULTFONTDIR = fonts
|
||||||
|
+#DEFAULTFONTDIR = fonts
|
||||||
|
|
||||||
|
# The filename of the font to be used if no other is specified
|
||||||
|
# (standard.flf is recommended, but any other can be used).
|
||||||
|
@@ -52,11 +52,11 @@
|
||||||
|
rm -f *.o figlet chkfont
|
||||||
|
|
||||||
|
install: figlet chkfont
|
||||||
|
- mkdir -p $(DEFAULTFONTDIR)
|
||||||
|
- cp figlet $(DESTDIR)
|
||||||
|
- cp figlet.6 $(MANDIR)
|
||||||
|
- cp chkfont $(DESTDIR)
|
||||||
|
- cp figlist $(DESTDIR)
|
||||||
|
- cp showfigfonts $(DESTDIR)
|
||||||
|
- cp fonts/*.flf $(DEFAULTFONTDIR)
|
||||||
|
- cp fonts/*.flc $(DEFAULTFONTDIR)
|
||||||
|
+ mkdir -p $(DESTDIR)$(DEFAULTFONTDIR) $(DESTDIR)$(BINDIR) $(DESTDIR)$(MANDIR)
|
||||||
|
+ cp figlet $(DESTDIR)$(BINDIR)
|
||||||
|
+ cp figlet.6 $(DESTDIR)$(MANDIR)
|
||||||
|
+ cp chkfont $(DESTDIR)$(BINDIR)
|
||||||
|
+ cp figlist $(DESTDIR)$(BINDIR)
|
||||||
|
+ cp showfigfonts $(DESTDIR)$(BINDIR)
|
||||||
|
+ cp fonts/*.flf $(DESTDIR)$(DEFAULTFONTDIR)
|
||||||
|
+ cp fonts/*.flc $(DESTDIR)$(DEFAULTFONTDIR)
|
||||||
|
--- README
|
||||||
|
+++ README
|
||||||
|
@@ -90,13 +90,14 @@
|
||||||
|
nroff -man figlet.6 | more
|
||||||
|
|
||||||
|
(2) Do a complete installation. To do the this, set the variables
|
||||||
|
-DESTDIR and MANDIR in Makefile to the appropriate values. DESTDIR
|
||||||
|
+BINDIR and MANDIR in Makefile to the appropriate values. BINDIR
|
||||||
|
should be the full pathname of the directory in which the executable
|
||||||
|
files should be put (we recommend "/usr/games"); MANDIR should be the
|
||||||
|
full pathname of the directory in which the figlet man page should be
|
||||||
|
put, generally "/usr/man/man6". Once DEFAULTFONTDIR, DEFAULTFONTFILE,
|
||||||
|
-DESTDIR and MANDIR have been set, in the directory containing the FIGlet
|
||||||
|
-source, type "make install".
|
||||||
|
+BINDIR and MANDIR have been set, in the directory containing the FIGlet
|
||||||
|
+source, type "make install". You can relocate install objects into a
|
||||||
|
+staging area by "make DESTDIR=/tmp/figlet_staging_area install".
|
||||||
|
|
||||||
|
If space is a problem, the only files you absolutely must have to run
|
||||||
|
figlet are "figlet" (the executable) and at least one font (preferably
|
22
figlet-implicit.patch
Normal file
22
figlet-implicit.patch
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
--- chkfont.c
|
||||||
|
+++ chkfont.c
|
||||||
|
@@ -1,6 +1,9 @@
|
||||||
|
#include <stdio.h>
|
||||||
|
#include <string.h>
|
||||||
|
#include <ctype.h>
|
||||||
|
+#ifdef __STDC__
|
||||||
|
+#include <stdlib.h>
|
||||||
|
+#endif
|
||||||
|
|
||||||
|
#define DATE "20 Feb 1996"
|
||||||
|
#define VERSION "2.2"
|
||||||
|
--- figlet.c
|
||||||
|
+++ figlet.c
|
||||||
|
@@ -54,6 +54,7 @@
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#include <stdio.h>
|
||||||
|
+#include <unistd.h>
|
||||||
|
#ifdef __STDC__
|
||||||
|
#include <stdlib.h>
|
||||||
|
#endif
|
10
figlet-random.patch
Normal file
10
figlet-random.patch
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
--- chkfont.c
|
||||||
|
+++ chkfont.c
|
||||||
|
@@ -68,6 +68,7 @@
|
||||||
|
ptr=(char *)malloc(size);
|
||||||
|
if (ptr==NULL) {
|
||||||
|
fprintf(stderr,"%s: Out of memory\n",myname);
|
||||||
|
+ return(NULL);
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
return(ptr);
|
58
figlet.changes
Normal file
58
figlet.changes
Normal file
@ -0,0 +1,58 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jan 25 21:35:53 CET 2006 - mls@suse.de
|
||||||
|
|
||||||
|
- converted neededforbuild to BuildRequires
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Nov 8 14:51:59 CET 2005 - dmueller@suse.de
|
||||||
|
|
||||||
|
- don't build as root
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jul 20 18:32:19 CEST 2005 - sbrabec@suse.cz
|
||||||
|
|
||||||
|
- Updated to version 2.2.2.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Oct 15 18:06:59 CEST 2002 - sbrabec@suse.cz
|
||||||
|
|
||||||
|
- Update to version 2.2.1.
|
||||||
|
- Make build root install.
|
||||||
|
- FHS fixes (use games specific paths).
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Dec 6 01:55:44 CET 2001 - ro@suse.de
|
||||||
|
|
||||||
|
- install manpage into right place
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jul 16 14:05:11 CEST 2001 - rvasice@suse.cz
|
||||||
|
|
||||||
|
- fix bug [9215]
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 8 11:59:19 CEST 2001 - mfabian@suse.de
|
||||||
|
|
||||||
|
- bzip2 some sources
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Dec 9 18:43:19 MET 2000 - nashif@suse.de
|
||||||
|
|
||||||
|
- sorted
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Sep 13 17:23:57 CEST 1999 - bs@suse.de
|
||||||
|
|
||||||
|
- ran old prepare_spec on spec file to switch to new prepare_spec.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Apr 20 22:46:12 MEST 1998 - ray@suse.de
|
||||||
|
|
||||||
|
- move to /usr/lib/figlet
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Apr 7 12:45:09 MEST 1998 - ray@suse.de
|
||||||
|
|
||||||
|
- new package figlet V2.2
|
||||||
|
|
||||||
|
|
94
figlet.spec
Normal file
94
figlet.spec
Normal file
@ -0,0 +1,94 @@
|
|||||||
|
#
|
||||||
|
# spec file for package figlet (Version 2.2.2)
|
||||||
|
#
|
||||||
|
# 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://bugs.opensuse.org
|
||||||
|
#
|
||||||
|
|
||||||
|
# norootforbuild
|
||||||
|
|
||||||
|
Name: figlet
|
||||||
|
URL: http://www.figlet.org/
|
||||||
|
License: Other License(s), see package, Other uncritical OpenSource License
|
||||||
|
Group: Productivity/Text/Utilities
|
||||||
|
Autoreqprov: on
|
||||||
|
Version: 2.2.2
|
||||||
|
Release: 3
|
||||||
|
Summary: Tool for Creating Cool ASCII-Art Signatures
|
||||||
|
Source: figlet222.tar.bz2
|
||||||
|
Source1: contributed.tar.bz2
|
||||||
|
Source2: international.tar.bz2
|
||||||
|
Source3: ours.tar.bz2
|
||||||
|
Patch: figlet-config.patch
|
||||||
|
Patch1: figlet-random.patch
|
||||||
|
Patch2: figlet-implicit.patch
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
|
%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
|
||||||
|
%setup -n figlet222 -a 1 -a 2 -a 3
|
||||||
|
%patch
|
||||||
|
%patch1
|
||||||
|
%patch2
|
||||||
|
|
||||||
|
%build
|
||||||
|
make CFLAGS="$RPM_OPT_FLAGS"
|
||||||
|
|
||||||
|
%install
|
||||||
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
make CFLAGS="$RPM_OPT_FLAGS" DESTDIR=$RPM_BUILD_ROOT install
|
||||||
|
cp -a contributed $RPM_BUILD_ROOT/usr/share/games/figlet/fonts
|
||||||
|
cp -a international $RPM_BUILD_ROOT/usr/share/games/figlet/fonts
|
||||||
|
cp -a ours $RPM_BUILD_ROOT/usr/share/games/figlet/fonts
|
||||||
|
|
||||||
|
%clean
|
||||||
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root)
|
||||||
|
/usr/games/*
|
||||||
|
/usr/share/games/figlet
|
||||||
|
%doc /usr/share/man/man6/*
|
||||||
|
%doc LICENSE CHANGES README FAQ
|
||||||
|
|
||||||
|
%changelog -n figlet
|
||||||
|
* Wed Jan 25 2006 - mls@suse.de
|
||||||
|
- converted neededforbuild to BuildRequires
|
||||||
|
* Tue Nov 08 2005 - dmueller@suse.de
|
||||||
|
- don't build as root
|
||||||
|
* Wed Jul 20 2005 - sbrabec@suse.cz
|
||||||
|
- Updated to version 2.2.2.
|
||||||
|
* Tue Oct 15 2002 - sbrabec@suse.cz
|
||||||
|
- Update to version 2.2.1.
|
||||||
|
- Make build root install.
|
||||||
|
- FHS fixes (use games specific paths).
|
||||||
|
* Thu Dec 06 2001 - ro@suse.de
|
||||||
|
- install manpage into right place
|
||||||
|
* Mon Jul 16 2001 - rvasice@suse.cz
|
||||||
|
- fix bug [9215]
|
||||||
|
* Tue May 08 2001 - mfabian@suse.de
|
||||||
|
- bzip2 some sources
|
||||||
|
* Sat Dec 09 2000 - nashif@suse.de
|
||||||
|
- sorted
|
||||||
|
* Mon Sep 13 1999 - bs@suse.de
|
||||||
|
- ran old prepare_spec on spec file to switch to new prepare_spec.
|
||||||
|
* Mon Apr 20 1998 - ray@suse.de
|
||||||
|
- move to /usr/lib/figlet
|
||||||
|
* Tue Apr 07 1998 - ray@suse.de
|
||||||
|
- new package figlet V2.2
|
3
figlet222.tar.bz2
Normal file
3
figlet222.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:951b381a7beb3c5698bfd6a1828e808ff92130c27c0e3f17cdc565cadeed5e02
|
||||||
|
size 140057
|
3
international.tar.bz2
Normal file
3
international.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:c1d19d4bf876cbdade32119331a6846f743e7882f58dda5eb706b832e40baa30
|
||||||
|
size 3692477
|
3
ours.tar.bz2
Normal file
3
ours.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:53faf6c0ba07d27a47626e96d4806d96c8a73a6e875771be52b61d984de0340b
|
||||||
|
size 35483
|
Loading…
Reference in New Issue
Block a user