The font file should be installed in the /usr/share directory
Signed-off-by: He Rengui <herengui@uniontech.com>
This commit is contained in:
parent
7f0e002d17
commit
3ae1559b00
12
figlet.spec
12
figlet.spec
@ -1,14 +1,13 @@
|
|||||||
#%global debug_package %{nil}
|
|
||||||
|
|
||||||
Name: figlet
|
Name: figlet
|
||||||
Version: 2.2.5
|
Version: 2.2.5
|
||||||
Release: 2
|
Release: 3
|
||||||
Summary: FIGlet is a program for making large letters out of ordinary text
|
Summary: FIGlet is a program for making large letters out of ordinary text
|
||||||
License: BSD
|
License: BSD
|
||||||
URL: http://www.figlet.org/
|
URL: http://www.figlet.org/
|
||||||
Source0: https://github.com/cmatsuoka/figlet/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
Source0: https://github.com/cmatsuoka/figlet/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||||
|
|
||||||
Patch0: figlet-fix-man-install-path.patch
|
Patch0: figlet-fix-man-install-path.patch
|
||||||
|
Patch1: fix-install-prefix-path.patch
|
||||||
|
|
||||||
BuildRequires: gcc autoconf automake
|
BuildRequires: gcc autoconf automake
|
||||||
|
|
||||||
@ -22,12 +21,13 @@ end of e-mail and UseNet messages.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q -n %{name}-%{version}/
|
%setup -q -n %{name}-%{version}/
|
||||||
%patch0 -p1
|
%patch0 -p1
|
||||||
|
%patch1 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%make_build
|
%make_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%make_install prefix="/usr/"
|
%make_install
|
||||||
|
|
||||||
%pre
|
%pre
|
||||||
%preun
|
%preun
|
||||||
@ -44,6 +44,10 @@ end of e-mail and UseNet messages.
|
|||||||
/usr/share/%{name}/
|
/usr/share/%{name}/
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Jun 16 2021 He Rengui <herengui@uniontech.com> - 2.2.5-3
|
||||||
|
- fix: showfigfonts cannot found flf files
|
||||||
|
- allow generating debugsource package
|
||||||
|
|
||||||
* Tue Oct 13 2020 liqingqing_1229 <liqingqing3@huawei.com>
|
* Tue Oct 13 2020 liqingqing_1229 <liqingqing3@huawei.com>
|
||||||
- update source0
|
- update source0
|
||||||
|
|
||||||
|
|||||||
26
fix-install-prefix-path.patch
Normal file
26
fix-install-prefix-path.patch
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
From d2ad64d909f82a16402d991fbebac3bb798b1f43 Mon Sep 17 00:00:00 2001
|
||||||
|
From: He Rengui <herengui@uniontech.com>
|
||||||
|
Date: Wed, 16 Jun 2021 11:27:59 +0800
|
||||||
|
Subject: [PATCH] The font file should be installed in the /usr/share directory
|
||||||
|
|
||||||
|
Signed-off-by: He Rengui <herengui@uniontech.com>
|
||||||
|
---
|
||||||
|
Makefile | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/Makefile b/Makefile
|
||||||
|
index 79768e9..1974443 100644
|
||||||
|
--- a/Makefile
|
||||||
|
+++ b/Makefile
|
||||||
|
@@ -29,7 +29,7 @@ LDFLAGS =
|
||||||
|
XCFLAGS = -DTLF_FONTS
|
||||||
|
|
||||||
|
# Where to install files
|
||||||
|
-prefix = /usr/local
|
||||||
|
+prefix = /usr
|
||||||
|
|
||||||
|
# Where the executables should be put
|
||||||
|
BINDIR = $(prefix)/bin
|
||||||
|
--
|
||||||
|
2.20.1
|
||||||
|
|
||||||
Loading…
x
Reference in New Issue
Block a user