2007-01-16 00:38:18 +01:00
|
|
|
#
|
2012-10-22 22:10:31 +02:00
|
|
|
# spec file for package suse-build-key
|
2007-01-16 00:38:18 +01:00
|
|
|
#
|
2014-01-09 14:49:26 +01:00
|
|
|
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-16 00:38:18 +01:00
|
|
|
#
|
2008-11-03 14:25:56 +01:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2007-01-16 00:38:18 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
2008-05-05 18:37:24 +02:00
|
|
|
|
2008-09-20 04:50:09 +02:00
|
|
|
Name: suse-build-key
|
2007-01-16 00:38:18 +01:00
|
|
|
BuildRequires: gpg
|
|
|
|
Provides: build-key
|
|
|
|
Requires: gpg
|
2008-05-05 18:37:24 +02:00
|
|
|
AutoReqProv: off
|
2007-01-16 00:38:18 +01:00
|
|
|
Summary: The public gpg key for rpm package signature verification
|
2012-10-22 22:10:31 +02:00
|
|
|
License: GPL-2.0+
|
|
|
|
Group: System/Packages
|
2014-01-09 14:49:26 +01:00
|
|
|
Version: 12.0
|
|
|
|
Release: 0
|
|
|
|
# pub 2048R/39DB7C82 2013-01-31 SuSE Package Signing Key <build@suse.de>
|
|
|
|
# The main package signing key.
|
|
|
|
Source0: gpg-pubkey-39db7c82-510a966b.asc
|
|
|
|
# pub 2048R/50A3DD1C 2013-01-14 SuSE Package Signing Key (reserve key) <build@suse.de>
|
|
|
|
# Fallback key if main key gets lost.
|
|
|
|
Source1: gpg-pubkey-50a3dd1c-50f35137.asc
|
|
|
|
|
|
|
|
# pub 1024D/B37B98A9 2005-05-11 SUSE PTF Signing Key <support@suse.com>
|
|
|
|
# SUSE supplied PTF (program temporary fixes) are signed by this key.
|
|
|
|
# supplied to be not imported by default
|
|
|
|
Source98: suse_ptf_key.asc
|
|
|
|
|
|
|
|
# pub 2048R/3D25D3D9 1999-03-06 SuSE Security Team <security@suse.de>
|
|
|
|
# security@suse.de communication key.
|
|
|
|
# Only used for E-Mail encryption and signing to/from security@suse.de.
|
|
|
|
Source99: security_at_suse_de.asc
|
|
|
|
|
|
|
|
Source100: dumpsigs
|
2007-01-16 00:38:18 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2008-05-05 18:37:24 +02:00
|
|
|
BuildArch: noarch
|
2014-01-09 14:49:26 +01:00
|
|
|
%define keydir %{_prefix}/lib/rpm/gnupg/keys
|
2007-01-16 00:38:18 +01:00
|
|
|
PreReq: sh-utils gpg fileutils mktemp
|
|
|
|
|
|
|
|
%description
|
2014-01-09 14:49:26 +01:00
|
|
|
This package contains the gpg keys that are used to sign the
|
|
|
|
SUSE rpm packages. The keys installed here are not actually
|
|
|
|
used by anything. rpm/zypper use the keys in the rpm db instead.
|
2007-01-16 00:38:18 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
2014-01-09 14:49:26 +01:00
|
|
|
%setup -qcT
|
2007-01-16 00:38:18 +01:00
|
|
|
|
|
|
|
%build
|
2014-01-09 14:49:26 +01:00
|
|
|
cp %SOURCE98 .
|
|
|
|
cp %SOURCE99 .
|
2007-01-16 00:38:18 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
2014-01-09 14:49:26 +01:00
|
|
|
mkdir -p $RPM_BUILD_ROOT%{keydir}
|
|
|
|
for i in %sources; do
|
|
|
|
case "$i" in
|
|
|
|
*/gpg-pubkey-*.asc)
|
|
|
|
install -m 644 "$i" $RPM_BUILD_ROOT%{keydir}
|
|
|
|
;;
|
|
|
|
esac
|
|
|
|
done
|
|
|
|
install -m 755 %{SOURCE100} $RPM_BUILD_ROOT/usr/lib/rpm/gnupg
|
2007-01-16 00:38:18 +01:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(644,root,root)
|
2014-01-09 14:49:26 +01:00
|
|
|
%doc security_at_suse_de.asc suse_ptf_key.asc
|
|
|
|
%attr(755,root,root) %dir %{_prefix}/lib/rpm/gnupg
|
|
|
|
%attr(755,root,root) %dir %{keydir}
|
|
|
|
%attr(755,root,root) %{_prefix}/lib/rpm/gnupg/dumpsigs
|
|
|
|
%{keydir}/gpg-pubkey-50a3dd1c-50f35137.asc
|
|
|
|
%{keydir}/gpg-pubkey-39db7c82-510a966b.asc
|
2007-01-16 00:38:18 +01:00
|
|
|
|
2007-03-21 00:36:23 +01:00
|
|
|
%changelog
|