]> git.pld-linux.org Git - packages/gnupg2.git/blame - gnupg2.spec
- updated to 1.9.7
[packages/gnupg2.git] / gnupg2.spec
CommitLineData
b626fce0 1Summary: GnuPG extension - agent
e824676e 2Summary(pl): Rozszerzenie GnuPG - agent
b626fce0 3Name: gnupg-agent
f1d02fc8 4Version: 1.9.7
b626fce0
AM
5Release: 1
6License: GPL
7Group: Applications/File
8Source0: ftp://ftp.gnupg.org/gcrypt/alpha/gnupg/gnupg-%{version}.tar.gz
f1d02fc8 9# Source0-md5: 9bee7fe855b14cba433af5273963d4f5
b626fce0
AM
10Source1: gnupg-agent.sh
11Icon: gnupg.gif
12URL: http://www.gnupg.org/
796ab0e9 13BuildRequires: automake
b626fce0
AM
14BuildRequires: gdbm-devel
15BuildRequires: gettext-devel >= 0.12.1
16BuildRequires: libassuan-devel >= 1:0.6.4
17BuildRequires: libgcrypt-devel >= 1.1.93
18BuildRequires: libgpg-error-devel >= 0.6
19BuildRequires: libksba-devel >= 0.9.4
20BuildRequires: pcsc-lite-devel
21BuildRequires: opensc-devel >= 0.8.0
22BuildRequires: pth-devel >= 2.0.0
23BuildRequires: texinfo
24BuildRequires: zlib-devel
e824676e 25Requires: gnupg
26Requires: pinentry
27Obsoletes: newpg
b626fce0
AM
28BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29
30%define _libexecdir %{_libdir}/gnupg
31
32%description
33GnuPG extension - agent.
34
35%description -l pl
36Rozszerzenie GnuPG - agent.
37
38%prep
39%setup -q -n gnupg-%{version}
40
41%build
708c8452 42install %{_datadir}/automake/config.* scripts
b626fce0
AM
43%configure \
44 --disable-gpg \
45 --with-capabilities \
46%ifarch sparc sparc64
47 --disable-m-guard \
48%else
49 --enable-m-guard \
50%endif
51 --without-included-gettext \
52 --disable-m-debug \
53 --with-mailprog=/usr/lib/sendmail
54
55%{__make}
56
57%install
58rm -rf $RPM_BUILD_ROOT
f1d02fc8 59install -d $RPM_BUILD_ROOT/etc/{profile.d,X11/xinit/xinitrc.d}
b626fce0
AM
60
61%{__make} install \
62 DESTDIR=$RPM_BUILD_ROOT
63
64ln -sf gpg2 $RPM_BUILD_ROOT%{_bindir}/gpg
f1d02fc8
JB
65install %{SOURCE1} $RPM_BUILD_ROOT/etc/profile.d/%{name}-agent.sh
66ln -sf /etc/profile.d/%{name}-agent.sh $RPM_BUILD_ROOT/etc/X11/xinit/xinitrc.d/%{name}-agent.sh
b626fce0 67
f1d02fc8 68%find_lang gnupg2
b626fce0
AM
69
70%clean
71rm -rf $RPM_BUILD_ROOT
72
73%post
74[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
75
76%postun
77[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
78
f1d02fc8 79%files -f gnupg2.lang
b626fce0
AM
80%defattr(644,root,root,755)
81%attr(755,root,root) %{_bindir}/gpg-agent
82%attr(755,root,root) %{_bindir}/gpgsm
83%attr(755,root,root) %{_bindir}/kbxutil
84%attr(755,root,root) %{_bindir}/sc-copykeys
85%attr(755,root,root) %{_bindir}/sc-investigate
86%attr(755,root,root) %{_bindir}/scdaemon
87%attr(755,root,root) %{_libdir}/gnupg/gpg-protect-tool
f1d02fc8
JB
88%attr(755,root,root) /etc/profile.d/%{name}-agent.sh
89%attr(755,root,root) /etc/X11/xinit/xinitrc.d/%{name}-agent.sh
This page took 0.126955 seconds and 4 git commands to generate.