Move man page to a more reasonable place.
This commit is contained in:
parent
7640155de5
commit
b252c93b62
52
0001-Man-page-should-be-in-section-1.patch
Normal file
52
0001-Man-page-should-be-in-section-1.patch
Normal file
@ -0,0 +1,52 @@
|
|||||||
|
From 112a88329fbe7aefc33e26768c6f6367f0b32229 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Peter Jones <pjones@redhat.com>
|
||||||
|
Date: Fri, 22 Jun 2012 16:17:26 -0400
|
||||||
|
Subject: [PATCH] Man page should be in section 1.
|
||||||
|
|
||||||
|
---
|
||||||
|
src/Makefile | 4 ++--
|
||||||
|
src/{pesign.8 => pesign.1} | 5 ++---
|
||||||
|
2 files changed, 4 insertions(+), 5 deletions(-)
|
||||||
|
rename src/{pesign.8 => pesign.1} (97%)
|
||||||
|
|
||||||
|
diff --git a/src/Makefile b/src/Makefile
|
||||||
|
index b3348f2..9b63942 100644
|
||||||
|
--- a/src/Makefile
|
||||||
|
+++ b/src/Makefile
|
||||||
|
@@ -31,8 +31,8 @@ install :
|
||||||
|
$(INSTALL) -d -m 755 $(INSTALLROOT)/etc/popt.d/
|
||||||
|
$(INSTALL) -m 644 pesign.popt $(INSTALLROOT)/etc/popt.d/
|
||||||
|
$(INSTALL) -d -m 700 $(INSTALLROOT)/etc/pki/pesign/
|
||||||
|
- $(INSTALL) -d -m 755 $(INSTALLROOT)/usr/share/man/man8/
|
||||||
|
- $(INSTALL) -m 644 pesign.8 $(INSTALLROOT)/usr/share/man/man8/
|
||||||
|
+ $(INSTALL) -d -m 755 $(INSTALLROOT)/usr/share/man/man1/
|
||||||
|
+ $(INSTALL) -m 644 pesign.1 $(INSTALLROOT)/usr/share/man/man1/
|
||||||
|
|
||||||
|
|
||||||
|
.PHONY: all clean install
|
||||||
|
diff --git a/src/pesign.8 b/src/pesign.1
|
||||||
|
similarity index 97%
|
||||||
|
rename from src/pesign.8
|
||||||
|
rename to src/pesign.1
|
||||||
|
index f40a5a5..e43f307 100644
|
||||||
|
--- a/src/pesign.8
|
||||||
|
+++ b/src/pesign.1
|
||||||
|
@@ -1,4 +1,4 @@
|
||||||
|
-.TH PESIGN 8 "Thu Jun 21 2012"
|
||||||
|
+.TH PESIGN 1 "Thu Jun 21 2012"
|
||||||
|
.SH NAME
|
||||||
|
pesign \- command line tool for signing UEFI applications
|
||||||
|
|
||||||
|
@@ -76,8 +76,7 @@ Use ascii armoring on exported certificates.
|
||||||
|
|
||||||
|
|
||||||
|
.SH "SEE ALSO"
|
||||||
|
-.BR shim (8),
|
||||||
|
-.BR authvar (8)
|
||||||
|
+.BR authvar (1)
|
||||||
|
|
||||||
|
.SH AUTHORS
|
||||||
|
.nf
|
||||||
|
--
|
||||||
|
1.7.10.2
|
||||||
|
|
15
pesign.spec
15
pesign.spec
@ -1,17 +1,19 @@
|
|||||||
Summary: Signing utility for UEFI binaries
|
Summary: Signing utility for UEFI binaries
|
||||||
Name: pesign
|
Name: pesign
|
||||||
Version: 0.3
|
Version: 0.3
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Group: Development/System
|
Group: Development/System
|
||||||
License: GPLv2
|
License: GPLv2
|
||||||
URL: https://github.com/vathpela/pesign
|
URL: https://github.com/vathpela/pesign
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
BuildRequires: git gnu-efi nspr nspr-devel nss nss-devel nss-util popt-devel
|
||||||
|
Requires: nspr nss nss-util popt
|
||||||
|
|
||||||
# there is no tarball at github, of course. To get this version do:
|
# there is no tarball at github, of course. To get this version do:
|
||||||
# git clone https://github.com/vathpela/pesign.git
|
# git clone https://github.com/vathpela/pesign.git
|
||||||
# git checkout %%{version}
|
# git checkout %%{version}
|
||||||
Source: pesign-%{version}.tar.bz2
|
Source: pesign-%{version}.tar.bz2
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
Patch0: 0001-Man-page-should-be-in-section-1.patch
|
||||||
BuildRequires: git gnu-efi nspr nspr-devel nss nss-devel nss-util popt-devel
|
|
||||||
Requires: nspr nss nss-util popt
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This package contains the pesign utility for signing UEFI binaries as
|
This package contains the pesign utility for signing UEFI binaries as
|
||||||
@ -45,10 +47,13 @@ rm -rf %{buildroot}
|
|||||||
%doc README TODO COPYING
|
%doc README TODO COPYING
|
||||||
%{_bindir}/pesign
|
%{_bindir}/pesign
|
||||||
%{_sysconfdir}/popt.d/pesign.popt
|
%{_sysconfdir}/popt.d/pesign.popt
|
||||||
%{_mandir}/man8/*.8*
|
%{_mandir}/man*/*
|
||||||
%attr(0700,root,root) /etc/pki/pesign
|
%attr(0700,root,root) /etc/pki/pesign
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Jun 22 2012 Peter Jones <pjones@redhat.com> - 0.3-2
|
||||||
|
- Move man page to a more reasonable place.
|
||||||
|
|
||||||
* Fri Jun 22 2012 Peter Jones <pjones@redhat.com> - 0.3-1
|
* Fri Jun 22 2012 Peter Jones <pjones@redhat.com> - 0.3-1
|
||||||
- Update to upstream's 0.3 .
|
- Update to upstream's 0.3 .
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user