init package
This commit is contained in:
parent
75b772e4c3
commit
bc4485bc35
BIN
figlet-2.2.5.tar.gz
Normal file
BIN
figlet-2.2.5.tar.gz
Normal file
Binary file not shown.
12
figlet-fix-man-install-path.patch
Normal file
12
figlet-fix-man-install-path.patch
Normal file
@ -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
|
||||
49
figlet.spec
Normal file
49
figlet.spec
Normal file
@ -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 <myeuler@163.com>
|
||||
- Package init
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user