123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167 |
- %define _gnupg_ver 1.3.0
- %define _libgpg_error_ver 1.4
- Summary: GPGME - GnuPG Made Easy
- Summary(ja): GPGME - GnuPG Made Easy
- Name: gpgme
- Version: 1.1.4
- Release: 2%{?_dist_release}
- License: LGPL
- Group: System Environment/Libraries
- Source: ftp://ftp.gnupg.org/gcrypt/gpgme/%{name}-%{version}.tar.bz2
- URL: http://www.gnupg.org/related_software/gpgme/
- BuildRoot: %{_tmppath}/%{name}-%{version}-root
- PreReq: ldconfig
- Requires: gnupg >= %{_gnupg_ver}, libgpg-error >= %{_libgpg_error_ver}
- BuildRequires: gnupg >= %{_gnupg_ver}
- BuildRequires: libgpg-error-devel >= %{_libgpg_error_ver}
- Obsoletes: gpgme10
- Provides: gpgme10
- Vendor: Project Vine
- Distribution: Vine Linux
- %description
- GnuPG Made Easy (GPGME) is a library designed to make access to GnuPG easier
- for applications. It provides a High-Level Crypto API for encryption,
- decryption, signing, signature verification and key management. Currently it
- uses GnuPG as it's backend but the API isn't restricted to this engine; in
- fact it is planned to add other backends to it.
- %description -l ja
- GnuPG Made Easy (GPGME) は、アプリケーションがより簡単に GnuPG にアクセスでき
- るように設計されたライブラリです。暗号化や復号、署名、署名の検証、鍵の管理の
- ための高レベルの暗号 API を提供します。
- 現在のところ、バックエンドとして GnuPG を使用しますが、API はこのエンジンに限
- 定されません。実際、他のバックエンドを追加することが計画されています。
- %package devel
- Summary: GnuPG Made Easy (GPGME) Header files and libraries for development
- Summary(ja): GnuPG Made Easy (GPGME) 開発用ヘッダーファイル・ライブラリ
- Group: Development/Libraries
- PreReq: install-info
- Requires: %{name} = %{version}, libgpg-error-devel >= 0.5
- Obsoletes: %{name} < 0.3.16-0vl2, gpgme10-devel
- Provides: gpgme10-devel
- %description devel
- GnuPG Made Easy (GPGME) is a library designed to make access to GnuPG easier
- for applications.
- Install this package if you want to develop applications that will use the
- gpgme library.
- %description -l ja devel
- GnuPG Made Easy (GPGME) は、アプリケーションがより簡単に GnuPG にアクセスでき
- るように設計されたライブラリです。
- GPGME ライブラリを使用するアプリケーションを開発するのであれば、このパッケー
- ジをインストールしてください。
- %prep
- %setup -q
- %build
- %configure --without-gpgsm
- %__make
- %install
- %__rm -rf %{buildroot}
- %{makeinstall}
- # remove unneeded files
- %__rm -rf %{buildroot}%{_datadir}/common-lisp
- %__rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
- %clean
- %__rm -rf %{buildroot}
- %post
- /sbin/ldconfig
- %postun
- /sbin/ldconfig
- %triggerun -- %{name} < 0.3.16-0vl2
- /sbin/install-info --delete %{_infodir}/gpgme.info.gz %{_infodir}/dir
- %post devel
- /sbin/install-info %{_infodir}/gpgme.info.gz %{_infodir}/dir
- %preun devel
- if [ "$1" = 0 ] ; then
- /sbin/install-info --delete %{_infodir}/gpgme.info.gz %{_infodir}/dir
- fi
- %triggerpostun devel -- %{name} < 0.3.16-0vl2, gpgme10-devel
- /sbin/install-info %{_infodir}/gpgme.info.gz %{_infodir}/dir
- %files
- %defattr(-,root,root)
- %doc AUTHORS COPYING* ChangeLog INSTALL NEWS README THANKS TODO
- %{_libdir}/libgpgme*.so.*
- %files devel
- %defattr(-,root,root)
- %{_bindir}/gpgme-config
- %{_libdir}/libgpgme*.so
- %{_datadir}/aclocal/gpgme.m4
- %{_includedir}/*
- %{_infodir}/*
- %changelog
- * Fri Sep 26 2008 Shu KONNO <owa@bg.wakwak.com> 1.1.4-2vl5
- - removed *.la
- - spec in utf-8
- * Fri Aug 15 2008 Shu KONNO <owa@bg.wakwak.com> 1.1.4-1vl5
- - applied new versioning policy
- * Fri Mar 09 2007 KAZUKI SHIMURA <kazukipma.ccnw.ne.jp> 1.1.4-0vl1
- - upstream release
- - add new macros: %%_gnupg_ver, %%_libgpg_error_ver
- - update %%_gnupg_ver to 1.3.0
- - update %%_libgpg_error_ver to 1.4
- * Tue Sep 27 2005 KAZUKI SHIMURA <kazukipma.ccnw.ne.jp> 1.0.3-0vl1
- - upstream release
- * Sat Mar 12 2005 KAZUKI SHIMURA <kazukipma.ccnw.ne.jp> 1.0.2-0vl3
- - add Obsoletes/Provides: gpgme10{,-devel}
- * Sun Feb 13 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.0.2-0vl2
- - fix spec file's encoding from iso-2022-jp to euc-jp
- - add PreReq: ldconfig
- - add PreReq: install-info (devel)
- - change group to System Environment/Libraries (main)
- - add poor Japanese description
- * Tue Feb 01 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.0.2-0vl1
- - upstream release
- - change license from GPL to LGPL
- - update {Build,}Requires for GnuPG (>= 1.2.2)
- - add (Build)Requires: libgpg-error(-devel) >= 0.5
- - add docs
- - run ldconfig at post/postun
- - separate devel package
- - Requires: libgpg-error-devel
- - Obsoletes: gpgme <= 0.3.16
- * Sun Apr 25 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 0.3.16-0vl1
- - update to 0.3.16
- - s/Copyright/License/
- - update URL
- * Fri Mar 7 2003 IWAI Masaharu <iwai@alib.jp> 0.3.15-0vl1
- - update to 0.3.15
- - update {Build,}Requires for GnuPG
- * Mon Sep 23 2002 IWAI Masaharu <iwai@alib.jp> 0.3.11-0vl1
- - update to 0.3.11
- - added {Build,}Requires: gnupg = 1.0.7
- - added info files
- - added %%post and %%preun section for info files
- - fixed %%install section (executing rm command)
- * Thu May 24 2001 Daisuke SUZUKI <daisuke@linux.or.jp> 0.2.1-0vl1
- - initial release
|