1 |
Summary: GNU privacy guard - a free PGP replacement |
Summary: GNU privacy guard - a free PGP replacement |
2 |
Name: gnupg |
Name: gnupg |
3 |
Version: 1.4.11 |
Version: 1.4.11 |
4 |
|
%define subrel 1 |
5 |
Release: %mkrel 1 |
Release: %mkrel 1 |
6 |
License: GPLv3 |
License: GPLv3 |
7 |
Group: File tools |
Group: File tools |
17 |
Patch7: gnupg-1.4.7-deb-manpage.patch |
Patch7: gnupg-1.4.7-deb-manpage.patch |
18 |
Patch8: gnupg-1.4.7-deb-min_privileges.patch |
Patch8: gnupg-1.4.7-deb-min_privileges.patch |
19 |
#Patch10: gnupg-1.4.6-dir.patch |
#Patch10: gnupg-1.4.6-dir.patch |
20 |
|
Patch11: gnupg-1.4.12-CVE-2012-6085.diff |
21 |
Requires(post): info-install |
Requires(post): info-install |
22 |
Requires(preun): info-install |
Requires(preun): info-install |
23 |
BuildRequires: bzip2-devel |
BuildRequires: bzip2-devel |
31 |
BuildRequires: readline-devel |
BuildRequires: readline-devel |
32 |
BuildRequires: sendmail-command |
BuildRequires: sendmail-command |
33 |
BuildRequires: bison |
BuildRequires: bison |
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot |
|
34 |
|
|
35 |
%description |
%description |
36 |
GnuPG is GNU's tool for secure communication and data storage. |
GnuPG is GNU's tool for secure communication and data storage. |
46 |
%patch6 -p1 -b .free_caps |
%patch6 -p1 -b .free_caps |
47 |
%patch7 -p1 -b .manpage |
%patch7 -p1 -b .manpage |
48 |
%patch8 -p1 -b .min_privileges |
%patch8 -p1 -b .min_privileges |
49 |
#%patch10 -p1 -b .dir |
#%%patch10 -p1 -b .dir |
50 |
|
%patch11 -p0 -b .CVE-2012-6085 |
51 |
|
|
52 |
%build |
%build |
53 |
%serverbuild |
%serverbuild |
104 |
rm -rf %{buildroot} |
rm -rf %{buildroot} |
105 |
|
|
106 |
%files -f %{name}.lang |
%files -f %{name}.lang |
|
%defattr(-,root,root) |
|
107 |
%doc README NEWS THANKS TODO doc/DETAILS doc/FAQ doc/HACKING |
%doc README NEWS THANKS TODO doc/DETAILS doc/FAQ doc/HACKING |
108 |
%doc doc/OpenPGP doc/samplekeys.asc |
%doc doc/OpenPGP doc/samplekeys.asc |
109 |
%doc doc/gpgv.texi |
%doc doc/gpgv.texi |
124 |
%{_infodir}/gnupg1.info* |
%{_infodir}/gnupg1.info* |
125 |
%dir %{_sysconfdir}/RPM-GPG-KEYS |
%dir %{_sysconfdir}/RPM-GPG-KEYS |
126 |
%attr(0644,root,root) %{_sysconfdir}/RPM-GPG-KEYS/*.asc |
%attr(0644,root,root) %{_sysconfdir}/RPM-GPG-KEYS/*.asc |
|
|
|
|
|
|