diff --git a/figlet-2.2.5.tar.gz b/figlet-2.2.5.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..d09b891fc7f6e18407353af7e08f80dcb3b008d9 Binary files /dev/null and b/figlet-2.2.5.tar.gz differ diff --git a/figlet-fix-man-install-path.patch b/figlet-fix-man-install-path.patch new file mode 100644 index 0000000000000000000000000000000000000000..bcdfc7af92bd437699dd58fac7f1a4c59dbde352 --- /dev/null +++ b/figlet-fix-man-install-path.patch @@ -0,0 +1,12 @@ +diff -urN figlet-2.2.5/Makefile figlet-2.2.5-bak/Makefile +--- figlet-2.2.5/Makefile 2012-06-01 20:20:17.000000000 +0800 ++++ figlet-2.2.5-bak/Makefile 2020-05-04 00:14:48.315223642 +0800 +@@ -35,7 +35,7 @@ + BINDIR = $(prefix)/bin + + # Where the man page should be put +-MANDIR = $(prefix)/man ++MANDIR = $(prefix)/share/man + + # Where figlet will search first for fonts (the ".flf" files). + DEFAULTFONTDIR = $(prefix)/share/figlet diff --git a/figlet.spec b/figlet.spec new file mode 100644 index 0000000000000000000000000000000000000000..5b31947d20130a1173c4437946ca5c0051abc206 --- /dev/null +++ b/figlet.spec @@ -0,0 +1,49 @@ +#%global debug_package %{nil} + +Name: figlet +Version: 2.2.5 +Release: 1 +Summary: FIGlet is a program for making large letters out of ordinary text +License: BSD +URL: http://www.figlet.org/ +Source0: https://github.com/cmatsuoka/figlet/archive/%{name}-%{version}.tar.gz + +Patch0: figlet-fix-man-install-path.patch + +BuildRequires: gcc autoconf automake + +%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. + +%prep +%setup -q -n %{name}-%{version}/ +%patch0 -p1 + +%build +%make_build + +%install +%make_install prefix="/usr/" + +%pre +%preun +%post +%postun + +%check + +%files +%license LICENSE +%doc CHANGES README FAQ +%{_bindir}/* +%{_mandir}/* +/usr/share/%{name}/ + +%changelog +* Sun Mar 29 2020 Wei Xiong +- Package init +