forked from pool/pesign
Accepting request 323524 from Base:System
1 OBS-URL: https://build.opensuse.org/request/show/323524 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pesign?expand=0&rev=23
This commit is contained in:
commit
2cb3e15f7b
@ -1,3 +1,16 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 14 07:45:31 UTC 2015 - mpluskal@suse.com
|
||||
|
||||
- Update project url
|
||||
- Use url for download
|
||||
- Add rcpesign symlink
|
||||
- Tiny spec file cleanup with spec-cleaner
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 13 11:07:10 UTC 2015 - werner@suse.de
|
||||
|
||||
- Make it build, tool systemd-tmpfiles is part of systemd
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 16 06:52:21 UTC 2015 - glin@suse.com
|
||||
|
||||
|
19
pesign.spec
19
pesign.spec
@ -22,8 +22,8 @@ Release: 0
|
||||
Summary: Signing tool for PE-COFF binaries
|
||||
License: GPL-2.0
|
||||
Group: Productivity/Security
|
||||
Url: https://github.com/vathpela/pesign
|
||||
Source: %{name}-%{version}.tar.bz2
|
||||
Url: https://github.com/rhinstaller/pesign
|
||||
Source: https://github.com/rhinstaller/pesign/releases/download/%{version}/%{name}-%{version}.tar.bz2
|
||||
# PATCH-FIX-SUSE pesign-suse-build.patch glin@suse.com -- Adjust Makefile for the build service
|
||||
Patch1: pesign-suse-build.patch
|
||||
# PATCH-FIX-UPSTREAM pesign-fix-build-errors.patch glin@suse.com -- Fix gcc warnings
|
||||
@ -49,6 +49,7 @@ BuildRequires: libuuid-devel
|
||||
BuildRequires: mozilla-nss-devel
|
||||
BuildRequires: pkg-config
|
||||
BuildRequires: popt-devel
|
||||
BuildRequires: systemd
|
||||
BuildRequires: pkgconfig(systemd)
|
||||
Requires(pre): pwdutils
|
||||
%{?systemd_requires}
|
||||
@ -58,12 +59,6 @@ ExclusiveArch: ia64 %ix86 x86_64 aarch64
|
||||
Signing tool for PE-COFF binaries, hopefully at least vaguely compliant
|
||||
with the PE and Authenticode specifications.
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Peter Jones <pjones@redhat.com>
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch1 -p1
|
||||
@ -81,12 +76,15 @@ Authors:
|
||||
make %{?_smp_mflags} OPTFLAGS="%{optflags}"
|
||||
|
||||
%install
|
||||
make INSTALLROOT=%{buildroot} PREFIX=/usr DOCDIR=/share/doc/packages install
|
||||
make INSTALLROOT=%{buildroot} PREFIX=%{_prefix} DOCDIR=/share/doc/packages install
|
||||
mkdir -p %{buildroot}%{_localstatedir}/lib/pesign
|
||||
|
||||
mkdir -p %{buildroot}%{_sbindir}
|
||||
make INSTALLROOT=%{buildroot} UNITDIR=%{_unitdir} install_systemd
|
||||
|
||||
# create rcsymlink
|
||||
ln -sv %{_sbindir}/service %{buildroot}%{_sbindir}/rc%{name}
|
||||
|
||||
# there's some stuff that's not really meant to be shipped yet
|
||||
rm -rf %{buildroot}/boot %{buildroot}%{_prefix}/include
|
||||
rm -rf %{buildroot}%{_libdir}/libdpe*
|
||||
@ -104,7 +102,7 @@ getent passwd pesign >/dev/null || useradd -r -g pesign -d %{_localstatedir}/lib
|
||||
systemd-tmpfiles --create %{_libexecdir}/tmpfiles.d/pesign.conf
|
||||
|
||||
%postun
|
||||
%service_del_preun pesign.service
|
||||
%service_del_postun pesign.service
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
@ -115,6 +113,7 @@ systemd-tmpfiles --create %{_libexecdir}/tmpfiles.d/pesign.conf
|
||||
%{_bindir}/pesigcheck
|
||||
%{_bindir}/efisiglist
|
||||
%{_bindir}/authvar
|
||||
%{_sbindir}/rcpesign
|
||||
%dir %{_sysconfdir}/popt.d
|
||||
%config %{_sysconfdir}/popt.d/pesign.popt
|
||||
%{_sysconfdir}/pki/
|
||||
|
Loading…
Reference in New Issue
Block a user