gnupg.spec
author hh150184
Tue, 24 Jan 2006 11:56:37 +0000
branchgnome-2-12
changeset 19207 b59a653a3329
parent 6363 de2d9bafa27e
child 6957 2ab9fd16b647
permissions -rw-r--r--
* evolution-jescs.spec: Bump to 2.4.4, Remove unused define evolution_imagesdir and evolution_libsdir, Remove hard code 1.2, 2.4. * Solaris/SUNWevolution-jescs.spec: Remove *.la under /usr/lib when install, s/evolution-data-server-1.2/evolution-data-server-*/g.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
6363
de2d9bafa27e * gnupg.spec, Solaris/SUNWgnupg: Add gnupg stuff into spec-files
hh150184
parents:
diff changeset
     1
#
de2d9bafa27e * gnupg.spec, Solaris/SUNWgnupg: Add gnupg stuff into spec-files
hh150184
parents:
diff changeset
     2
# spec file for package gnupg
de2d9bafa27e * gnupg.spec, Solaris/SUNWgnupg: Add gnupg stuff into spec-files
hh150184
parents:
diff changeset
     3
#
de2d9bafa27e * gnupg.spec, Solaris/SUNWgnupg: Add gnupg stuff into spec-files
hh150184
parents:
diff changeset
     4
de2d9bafa27e * gnupg.spec, Solaris/SUNWgnupg: Add gnupg stuff into spec-files
hh150184
parents:
diff changeset
     5
Name:         gnupg
de2d9bafa27e * gnupg.spec, Solaris/SUNWgnupg: Add gnupg stuff into spec-files
hh150184
parents:
diff changeset
     6
Version:      1.4.2
de2d9bafa27e * gnupg.spec, Solaris/SUNWgnupg: Add gnupg stuff into spec-files
hh150184
parents:
diff changeset
     7
Release:      1
de2d9bafa27e * gnupg.spec, Solaris/SUNWgnupg: Add gnupg stuff into spec-files
hh150184
parents:
diff changeset
     8
Summary:      gnupg - GNU Utility for data encryption and digital signatures.
de2d9bafa27e * gnupg.spec, Solaris/SUNWgnupg: Add gnupg stuff into spec-files
hh150184
parents:
diff changeset
     9
License:      GPL
de2d9bafa27e * gnupg.spec, Solaris/SUNWgnupg: Add gnupg stuff into spec-files
hh150184
parents:
diff changeset
    10
Group:        Applications/Cryptography
de2d9bafa27e * gnupg.spec, Solaris/SUNWgnupg: Add gnupg stuff into spec-files
hh150184
parents:
diff changeset
    11
Copyright:    GPL
de2d9bafa27e * gnupg.spec, Solaris/SUNWgnupg: Add gnupg stuff into spec-files
hh150184
parents:
diff changeset
    12
Autoreqprov:  on
de2d9bafa27e * gnupg.spec, Solaris/SUNWgnupg: Add gnupg stuff into spec-files
hh150184
parents:
diff changeset
    13
URL:          http://www.gnupg.org/
de2d9bafa27e * gnupg.spec, Solaris/SUNWgnupg: Add gnupg stuff into spec-files
hh150184
parents:
diff changeset
    14
Source:       ftp://ftp.gnupg.org/gcrypt/gnupg/%{name}-%{version}.tar.bz2
de2d9bafa27e * gnupg.spec, Solaris/SUNWgnupg: Add gnupg stuff into spec-files
hh150184
parents:
diff changeset
    15
BuildRoot:    %{_tmppath}/%{name}-%{version}-build
de2d9bafa27e * gnupg.spec, Solaris/SUNWgnupg: Add gnupg stuff into spec-files
hh150184
parents:
diff changeset
    16
de2d9bafa27e * gnupg.spec, Solaris/SUNWgnupg: Add gnupg stuff into spec-files
hh150184
parents:
diff changeset
    17
%description
de2d9bafa27e * gnupg.spec, Solaris/SUNWgnupg: Add gnupg stuff into spec-files
hh150184
parents:
diff changeset
    18
GnuPG (GNU Privacy Guard) is a GNU utility for encrypting data and
de2d9bafa27e * gnupg.spec, Solaris/SUNWgnupg: Add gnupg stuff into spec-files
hh150184
parents:
diff changeset
    19
creating digital signatures. GnuPG has advanced key management
de2d9bafa27e * gnupg.spec, Solaris/SUNWgnupg: Add gnupg stuff into spec-files
hh150184
parents:
diff changeset
    20
capabilities and is compliant with the proposed OpenPGP Internet
de2d9bafa27e * gnupg.spec, Solaris/SUNWgnupg: Add gnupg stuff into spec-files
hh150184
parents:
diff changeset
    21
standard described in RFC-2440.  Since GnuPG doesn't use any patented
de2d9bafa27e * gnupg.spec, Solaris/SUNWgnupg: Add gnupg stuff into spec-files
hh150184
parents:
diff changeset
    22
algorithms, it is not compatible with some versions of PGP 2 which use
de2d9bafa27e * gnupg.spec, Solaris/SUNWgnupg: Add gnupg stuff into spec-files
hh150184
parents:
diff changeset
    23
only the patented IDEA algorithm.  See
de2d9bafa27e * gnupg.spec, Solaris/SUNWgnupg: Add gnupg stuff into spec-files
hh150184
parents:
diff changeset
    24
http://www.gnupg.org/why-not-idea.html for information on using IDEA
de2d9bafa27e * gnupg.spec, Solaris/SUNWgnupg: Add gnupg stuff into spec-files
hh150184
parents:
diff changeset
    25
if the patent does not apply to you and you need to be compatible with
de2d9bafa27e * gnupg.spec, Solaris/SUNWgnupg: Add gnupg stuff into spec-files
hh150184
parents:
diff changeset
    26
these versions of PGP 2.
de2d9bafa27e * gnupg.spec, Solaris/SUNWgnupg: Add gnupg stuff into spec-files
hh150184
parents:
diff changeset
    27
de2d9bafa27e * gnupg.spec, Solaris/SUNWgnupg: Add gnupg stuff into spec-files
hh150184
parents:
diff changeset
    28
%prep
de2d9bafa27e * gnupg.spec, Solaris/SUNWgnupg: Add gnupg stuff into spec-files
hh150184
parents:
diff changeset
    29
%setup -n %{name}-%{version}
de2d9bafa27e * gnupg.spec, Solaris/SUNWgnupg: Add gnupg stuff into spec-files
hh150184
parents:
diff changeset
    30
de2d9bafa27e * gnupg.spec, Solaris/SUNWgnupg: Add gnupg stuff into spec-files
hh150184
parents:
diff changeset
    31
%build
de2d9bafa27e * gnupg.spec, Solaris/SUNWgnupg: Add gnupg stuff into spec-files
hh150184
parents:
diff changeset
    32
CFLAGS="$RPM_OPT_FLAGS" ./configure \
de2d9bafa27e * gnupg.spec, Solaris/SUNWgnupg: Add gnupg stuff into spec-files
hh150184
parents:
diff changeset
    33
                        --prefix=%{_prefix} \
de2d9bafa27e * gnupg.spec, Solaris/SUNWgnupg: Add gnupg stuff into spec-files
hh150184
parents:
diff changeset
    34
                        --libexecdir=%{_libexecdir} \
de2d9bafa27e * gnupg.spec, Solaris/SUNWgnupg: Add gnupg stuff into spec-files
hh150184
parents:
diff changeset
    35
			--mandir=%{_mandir} \
de2d9bafa27e * gnupg.spec, Solaris/SUNWgnupg: Add gnupg stuff into spec-files
hh150184
parents:
diff changeset
    36
			--infodir=%{_datadir}/info
de2d9bafa27e * gnupg.spec, Solaris/SUNWgnupg: Add gnupg stuff into spec-files
hh150184
parents:
diff changeset
    37
make 
de2d9bafa27e * gnupg.spec, Solaris/SUNWgnupg: Add gnupg stuff into spec-files
hh150184
parents:
diff changeset
    38
de2d9bafa27e * gnupg.spec, Solaris/SUNWgnupg: Add gnupg stuff into spec-files
hh150184
parents:
diff changeset
    39
%install
de2d9bafa27e * gnupg.spec, Solaris/SUNWgnupg: Add gnupg stuff into spec-files
hh150184
parents:
diff changeset
    40
[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT;
de2d9bafa27e * gnupg.spec, Solaris/SUNWgnupg: Add gnupg stuff into spec-files
hh150184
parents:
diff changeset
    41
make DESTDIR=$RPM_BUILD_ROOT install
de2d9bafa27e * gnupg.spec, Solaris/SUNWgnupg: Add gnupg stuff into spec-files
hh150184
parents:
diff changeset
    42
de2d9bafa27e * gnupg.spec, Solaris/SUNWgnupg: Add gnupg stuff into spec-files
hh150184
parents:
diff changeset
    43
%clean
de2d9bafa27e * gnupg.spec, Solaris/SUNWgnupg: Add gnupg stuff into spec-files
hh150184
parents:
diff changeset
    44
rm -fr $RPM_BUILD_ROOT
de2d9bafa27e * gnupg.spec, Solaris/SUNWgnupg: Add gnupg stuff into spec-files
hh150184
parents:
diff changeset
    45
make distclean
de2d9bafa27e * gnupg.spec, Solaris/SUNWgnupg: Add gnupg stuff into spec-files
hh150184
parents:
diff changeset
    46
de2d9bafa27e * gnupg.spec, Solaris/SUNWgnupg: Add gnupg stuff into spec-files
hh150184
parents:
diff changeset
    47
%post
de2d9bafa27e * gnupg.spec, Solaris/SUNWgnupg: Add gnupg stuff into spec-files
hh150184
parents:
diff changeset
    48
/sbin/install-info %{_infodir}/gpg.info %{_infodir}/dir 2>/dev/null || :
de2d9bafa27e * gnupg.spec, Solaris/SUNWgnupg: Add gnupg stuff into spec-files
hh150184
parents:
diff changeset
    49
/sbin/install-info %{_infodir}/gpgv.info %{_infodir}/dir 2>/dev/null || :
de2d9bafa27e * gnupg.spec, Solaris/SUNWgnupg: Add gnupg stuff into spec-files
hh150184
parents:
diff changeset
    50
de2d9bafa27e * gnupg.spec, Solaris/SUNWgnupg: Add gnupg stuff into spec-files
hh150184
parents:
diff changeset
    51
%preun
de2d9bafa27e * gnupg.spec, Solaris/SUNWgnupg: Add gnupg stuff into spec-files
hh150184
parents:
diff changeset
    52
if [ $1 = 0 ]; then
de2d9bafa27e * gnupg.spec, Solaris/SUNWgnupg: Add gnupg stuff into spec-files
hh150184
parents:
diff changeset
    53
   /sbin/install-info --delete %{_infodir}/gpg.info \
de2d9bafa27e * gnupg.spec, Solaris/SUNWgnupg: Add gnupg stuff into spec-files
hh150184
parents:
diff changeset
    54
        %{_infodir}/dir 2>/dev/null || :
de2d9bafa27e * gnupg.spec, Solaris/SUNWgnupg: Add gnupg stuff into spec-files
hh150184
parents:
diff changeset
    55
   /sbin/install-info --delete %{_infodir}/gpgv.info \
de2d9bafa27e * gnupg.spec, Solaris/SUNWgnupg: Add gnupg stuff into spec-files
hh150184
parents:
diff changeset
    56
        %{_infodir}/dir 2>/dev/null || :
de2d9bafa27e * gnupg.spec, Solaris/SUNWgnupg: Add gnupg stuff into spec-files
hh150184
parents:
diff changeset
    57
fi
de2d9bafa27e * gnupg.spec, Solaris/SUNWgnupg: Add gnupg stuff into spec-files
hh150184
parents:
diff changeset
    58
de2d9bafa27e * gnupg.spec, Solaris/SUNWgnupg: Add gnupg stuff into spec-files
hh150184
parents:
diff changeset
    59
%files
de2d9bafa27e * gnupg.spec, Solaris/SUNWgnupg: Add gnupg stuff into spec-files
hh150184
parents:
diff changeset
    60
%defattr (-,root,root)
de2d9bafa27e * gnupg.spec, Solaris/SUNWgnupg: Add gnupg stuff into spec-files
hh150184
parents:
diff changeset
    61
de2d9bafa27e * gnupg.spec, Solaris/SUNWgnupg: Add gnupg stuff into spec-files
hh150184
parents:
diff changeset
    62
%doc INSTALL AUTHORS COPYING NEWS README THANKS TODO PROJECTS doc/DETAILS
de2d9bafa27e * gnupg.spec, Solaris/SUNWgnupg: Add gnupg stuff into spec-files
hh150184
parents:
diff changeset
    63
%doc doc/FAQ doc/faq.html doc/HACKING doc/OpenPGP doc/samplekeys.asc
de2d9bafa27e * gnupg.spec, Solaris/SUNWgnupg: Add gnupg stuff into spec-files
hh150184
parents:
diff changeset
    64
%doc %attr (0755,root,root) tools/convert-from-106
de2d9bafa27e * gnupg.spec, Solaris/SUNWgnupg: Add gnupg stuff into spec-files
hh150184
parents:
diff changeset
    65
%config %{_datadir}/%{name}/options.skel
de2d9bafa27e * gnupg.spec, Solaris/SUNWgnupg: Add gnupg stuff into spec-files
hh150184
parents:
diff changeset
    66
%{_mandir}/man1/*
de2d9bafa27e * gnupg.spec, Solaris/SUNWgnupg: Add gnupg stuff into spec-files
hh150184
parents:
diff changeset
    67
%{_mandir}/man7/*
de2d9bafa27e * gnupg.spec, Solaris/SUNWgnupg: Add gnupg stuff into spec-files
hh150184
parents:
diff changeset
    68
%{_infodir}/gpg.info*
de2d9bafa27e * gnupg.spec, Solaris/SUNWgnupg: Add gnupg stuff into spec-files
hh150184
parents:
diff changeset
    69
%{_infodir}/gpgv.info*
de2d9bafa27e * gnupg.spec, Solaris/SUNWgnupg: Add gnupg stuff into spec-files
hh150184
parents:
diff changeset
    70
%attr (4755,root,root) %{_bindir}/gpg
de2d9bafa27e * gnupg.spec, Solaris/SUNWgnupg: Add gnupg stuff into spec-files
hh150184
parents:
diff changeset
    71
%attr (0755,root,root) %{_bindir}/gpgv
de2d9bafa27e * gnupg.spec, Solaris/SUNWgnupg: Add gnupg stuff into spec-files
hh150184
parents:
diff changeset
    72
%attr (0755,root,root) %{_bindir}/gpgsplit
de2d9bafa27e * gnupg.spec, Solaris/SUNWgnupg: Add gnupg stuff into spec-files
hh150184
parents:
diff changeset
    73
%attr (0755,root,root) %{_libexecdir}/gnupg/*
de2d9bafa27e * gnupg.spec, Solaris/SUNWgnupg: Add gnupg stuff into spec-files
hh150184
parents:
diff changeset
    74
de2d9bafa27e * gnupg.spec, Solaris/SUNWgnupg: Add gnupg stuff into spec-files
hh150184
parents:
diff changeset
    75
%changelog -n gnupg
de2d9bafa27e * gnupg.spec, Solaris/SUNWgnupg: Add gnupg stuff into spec-files
hh150184
parents:
diff changeset
    76
* Sat Dec 08 2005 - [email protected]
de2d9bafa27e * gnupg.spec, Solaris/SUNWgnupg: Add gnupg stuff into spec-files
hh150184
parents:
diff changeset
    77
- create package