1 # rpm public key package
2 # Copyright (C) 2006 Free Software Foundation Europe e.V.
6 # replace the string yournam with your name
7 # first initial and lastname, ie. sbarninger
8 %define pubkeyname yourname
10 # replace below with your name and email address
11 Packager: Your Name <your-email@site.org>
13 Summary: The %{pubkeyname} rpm public key
14 Name: rpmkey-%{pubkeyname}
18 Group: System/Packages
19 Source0: %{pubkeyname}.asc
21 BuildRoot: %{_tmppath}/%{name}-root
23 %define gpgkeypath /etc/bacula/pubkeys
26 The %{pubkeyname} rpm public key. If you trust %{pubkeyname} component
27 and you want to import this key to the RPM database, then install this
28 RPM. After installing this package you may import the key into your rpm
31 rpm --import %{gpgkeypath}/%{pubkeyname}.asc
39 mkdir -p %{buildroot}%{gpgkeypath}
40 cp -a %{SOURCE0} %{buildroot}%{gpgkeypath}/
43 %defattr(-, root, root)
44 %{gpgkeypath}/%{pubkeyname}.asc
48 * Sat Aug 19 2006 D. Scott Barninger <barninger@fairfieldcomputers.com
49 - change key directory to /etc/bacula/pubkeys
50 * Sun Jul 16 2006 D. Scott Barninger <barninger@fairfieldcomputers.com