newpg-vl.spec 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. Summary: Extensions for GnuPG.
  2. Summary(ja): GnuPG ÍѳÈÄ¥¥Ä¡¼¥ë
  3. Name: newpg
  4. Version: 0.9.4
  5. Release: 0vl1
  6. License: GPL
  7. Group: Applications/System
  8. Source0: ftp://ftp.gnupg.org/gcrypt/alpha/aegypten/%{name}-%{version}.tar.gz
  9. Source1: ftp://ftp.gnupg.org/gcrypt/alpha/aegypten/%{name}-%{version}.tar.gz.sig
  10. URL: http://www.gnupg.org/
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  12. Prereq: install-info
  13. BuildRequires: libgcrypt-devel >= 1.1.8, libksba-devel >= 0.4.6
  14. Requires: libgcrypt >= 1.1.8, libksba >= 0.4.6
  15. %description
  16. NewPG is a temporary protect to work on GnuPG extensions. It will be
  17. merged into the regular GnuPG sources for a GnuPG 2.0 release.
  18. %prep
  19. %setup -q
  20. %build
  21. %configure --enable-shared \
  22. --libexecdir=%{_libdir}/%{name}
  23. %__make
  24. %clean
  25. rm -rf $RPM_BUILD_ROOT
  26. %install
  27. rm -rf $RPM_BUILD_ROOT
  28. %makeinstall libexecdir=$RPM_BUILD_ROOT/%{_libdir}/%{name}
  29. rm -f $RPM_BUILD_ROOT/%{_infodir}/dir
  30. %find_lang %{name}
  31. %post
  32. /sbin/install-info --entry="* gpg: (gpg). encryption and signing tool" %{_infodir}/gpg.info.gz %{_infodir}/dir
  33. /sbin/install-info --entry="* gpgv: (gpgv). signature verification tool" %{_infodir}/gpgv.info.gz %{_infodir}/dir
  34. %preun
  35. if [ $1 = 0 ]; then
  36. /sbin/install-info --delete %{_infodir}/gpgv.info.gz %{_infodir}/dir
  37. /sbin/install-info --delete %{_infodir}/gpg.info.gz %{_infodir}/dir
  38. fi
  39. %files -f %{name}.lang
  40. %defattr(-,root,root)
  41. %doc AUTHORS COPYING ChangeLog INSTALL NEWS README* THANKS TODO
  42. %{_bindir}/*
  43. %{_infodir}/*
  44. %dir %{_libdir}/%{name}
  45. %{_libdir}/%{name}/gpg-protect-tool
  46. %changelog
  47. * Sun Mar 7 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 0.9.4-0vl1
  48. - initial build