From fc75cfe7b0a6bf7926711b1bbce0bf6e8907feed53efe0693425492632591430 Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Mon, 15 Jan 2007 23:12:20 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/figlet?expand=0&rev=1 --- .gitattributes | 23 +++++++++++ contributed.tar.bz2 | 3 ++ figlet-config.patch | 71 ++++++++++++++++++++++++++++++++ figlet-implicit.patch | 22 ++++++++++ figlet-random.patch | 10 +++++ figlet.changes | 58 ++++++++++++++++++++++++++ figlet.spec | 94 +++++++++++++++++++++++++++++++++++++++++++ figlet222.tar.bz2 | 3 ++ international.tar.bz2 | 3 ++ ours.tar.bz2 | 3 ++ ready | 0 11 files changed, 290 insertions(+) create mode 100644 .gitattributes create mode 100644 contributed.tar.bz2 create mode 100644 figlet-config.patch create mode 100644 figlet-implicit.patch create mode 100644 figlet-random.patch create mode 100644 figlet.changes create mode 100644 figlet.spec create mode 100644 figlet222.tar.bz2 create mode 100644 international.tar.bz2 create mode 100644 ours.tar.bz2 create mode 100644 ready diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/contributed.tar.bz2 b/contributed.tar.bz2 new file mode 100644 index 0000000..6a3f545 --- /dev/null +++ b/contributed.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:238a8be55116dc4d46e9a0bb4e1b924ade5953faa64b5943b085e2f573aaaf88 +size 1281726 diff --git a/figlet-config.patch b/figlet-config.patch new file mode 100644 index 0000000..00d183d --- /dev/null +++ b/figlet-config.patch @@ -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 diff --git a/figlet-implicit.patch b/figlet-implicit.patch new file mode 100644 index 0000000..a55f524 --- /dev/null +++ b/figlet-implicit.patch @@ -0,0 +1,22 @@ +--- chkfont.c ++++ chkfont.c +@@ -1,6 +1,9 @@ + #include + #include + #include ++#ifdef __STDC__ ++#include ++#endif + + #define DATE "20 Feb 1996" + #define VERSION "2.2" +--- figlet.c ++++ figlet.c +@@ -54,6 +54,7 @@ + #endif + + #include ++#include + #ifdef __STDC__ + #include + #endif diff --git a/figlet-random.patch b/figlet-random.patch new file mode 100644 index 0000000..aa217d5 --- /dev/null +++ b/figlet-random.patch @@ -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); diff --git a/figlet.changes b/figlet.changes new file mode 100644 index 0000000..484d22a --- /dev/null +++ b/figlet.changes @@ -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 + + diff --git a/figlet.spec b/figlet.spec new file mode 100644 index 0000000..ad6ad7f --- /dev/null +++ b/figlet.spec @@ -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 + Ian Chai + Christiaan Keet + +%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 diff --git a/figlet222.tar.bz2 b/figlet222.tar.bz2 new file mode 100644 index 0000000..cf89939 --- /dev/null +++ b/figlet222.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:951b381a7beb3c5698bfd6a1828e808ff92130c27c0e3f17cdc565cadeed5e02 +size 140057 diff --git a/international.tar.bz2 b/international.tar.bz2 new file mode 100644 index 0000000..520f733 --- /dev/null +++ b/international.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c1d19d4bf876cbdade32119331a6846f743e7882f58dda5eb706b832e40baa30 +size 3692477 diff --git a/ours.tar.bz2 b/ours.tar.bz2 new file mode 100644 index 0000000..90f0c87 --- /dev/null +++ b/ours.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:53faf6c0ba07d27a47626e96d4806d96c8a73a6e875771be52b61d984de0340b +size 35483 diff --git a/ready b/ready new file mode 100644 index 0000000..473a0f4