8cb1e2
4d113e
Name:    gpgme
e64f9d
Summary: GnuPG Made Easy - high level crypto API
8cb1e2
Version: 1.0.3
8cb1e2
Release: 1%{?dist}
8cb1e2
e64f9d
License: LGPL
e64f9d
Group:   Applications/System
e64f9d
URL:     http://www.gnupg.org/related_software/gpgme/
7dbf29
Source0: ftp://ftp.gnupg.org/gcrypt/gpgme/gpgme-%{version}.tar.bz2
7dbf29
Source1: ftp://ftp.gnupg.org/gcrypt/gpgme/gpgme-%{version}.tar.bz2.sig
4d113e
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
cvsextras cfe98d
8cb1e2
Patch0:  gpgme-1.0.2-macro.patch
8cb1e2
4d113e
BuildRequires: gnupg >= 1.2.2
4d113e
BuildRequires: gnupg2 >= 1.9.6
e64f9d
BuildRequires: pth-devel
4d113e
BuildRequires: libgpg-error-devel >= 0.5
e64f9d
4d113e
Requires: gnupg >= 1.2.2
4d113e
Requires: gnupg2 >= 1.9.6
cvsextras cfe98d
4d113e
Obsoletes: cryptplug <= 0.3.16-2
f2ca6f
cvsextras cfe98d
%description
cvsextras cfe98d
GnuPG Made Easy (GPGME) is a library designed to make access to GnuPG
cvsextras cfe98d
easier for applications.  It provides a high-level crypto API for
cvsextras cfe98d
encryption, decryption, signing, signature verification and key
cvsextras cfe98d
management.
cvsextras cfe98d
e64f9d
%package devel
e64f9d
Summary:  Static libraries and header files from GPGME, GnuPG Made Easy
e64f9d
Group:    Development/Libraries
4d113e
Requires: %{name} = %{version}-%{release}
e64f9d
Requires: libgpg-error-devel
cvsextras cfe98d
Requires(post): /sbin/install-info
cvsextras cfe98d
Requires(postun): /sbin/install-info
8cb1e2
%description devel
cvsextras cfe98d
Static libraries and header files from GPGME, GnuPG Made Easy.
cvsextras cfe98d
cvsextras cfe98d
cvsextras cfe98d
%prep
cvsextras cfe98d
%setup -q
8cb1e2
afe9c5
%patch0 -p0
cvsextras cfe98d
cvsextras cfe98d
cvsextras cfe98d
%build
e64f9d
%configure \
8cb1e2
  --disable-static
e64f9d
cvsextras cfe98d
make %{?_smp_mflags}
cvsextras cfe98d
cvsextras cfe98d
cvsextras cfe98d
%install
cvsextras cfe98d
rm -rf $RPM_BUILD_ROOT
8cb1e2
cvsextras cfe98d
make install DESTDIR=$RPM_BUILD_ROOT
e64f9d
8cb1e2
rm -f $RPM_BUILD_ROOT%{_infodir}/dir
8cb1e2
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
cvsextras cfe98d
cvsextras cfe98d
cvsextras cfe98d
%check || :
4d113e
make check
cvsextras cfe98d
cvsextras cfe98d
cvsextras cfe98d
%clean
cvsextras cfe98d
rm -rf $RPM_BUILD_ROOT
cvsextras cfe98d
cvsextras cfe98d
cvsextras cfe98d
%post -p /sbin/ldconfig
cvsextras cfe98d
8cb1e2
%postun -p /sbin/ldconfig
e64f9d
cvsextras cfe98d
%post devel
cvsextras cfe98d
/sbin/install-info %{_infodir}/%{name}.info %{_infodir}/dir 2>/dev/null || :
cvsextras cfe98d
cvsextras cfe98d
%postun devel
cvsextras cfe98d
if [ $1 -eq 0 ] ; then
e64f9d
  /sbin/install-info --delete %{_infodir}/%{name}.info %{_infodir}/dir 2>/dev/null || :
cvsextras cfe98d
fi
cvsextras cfe98d
cvsextras cfe98d
cvsextras cfe98d
%files
cvsextras cfe98d
%defattr(-,root,root,-)
e64f9d
%doc AUTHORS COPYING* ChangeLog NEWS README* THANKS TODO VERSION
8cb1e2
%{_libdir}/lib*.so.*
cvsextras cfe98d
cvsextras cfe98d
%files devel
cvsextras cfe98d
%defattr(-,root,root,-)
cvsextras cfe98d
%{_bindir}/gpgme-config
8cb1e2
%{_includedir}/*
8cb1e2
#{_libdir}/lib*.a
8cb1e2
%{_libdir}/lib*.so
cvsextras cfe98d
%{_datadir}/aclocal/gpgme.m4
cvsextras cfe98d
%{_infodir}/gpgme.info*
cvsextras cfe98d
cvsextras cfe98d
cvsextras cfe98d
%changelog
8cb1e2
* Mon Aug  8 2005 Rex Dieter <rexdieter[at]users.sf.net> - 1.0.3-1
8cb1e2
- 1.0.3
8cb1e2
- --disable-static
8cb1e2
7dbf29
* Thu May 12 2005 Michael Schwendt <mschwendt[at]users.sf.net> - 1.0.2-3
7dbf29
- rebuilt
7dbf29
afe9c5
* Fri Mar 18 2005 Ville Skyttä <ville.skytta at="" iki.fi=""> - 1.0.2-2
afe9c5
- Fix FC4 build.
afe9c5
e64f9d
* Tue Feb  1 2005 Michael Schwendt <mschwendt[at]users.sf.net> - 0:1.0.2-1
e64f9d
- LGPL used here, and made summary more explicit.
e64f9d
- Remove dirmngr dependency (gpgsm interfaces with it).
f2ca6f
- Obsolete cryptplug as gpgme >= 0.4.5 provides what we used cryptplug for.
e64f9d
e64f9d
* Thu Jan 06 2005 Rex Dieter <rexdieter[at]users.sf.net> 0:1.0.2-0.fdr.1
e64f9d
- 1.0.2
e64f9d
e64f9d
* Thu Oct 21 2004 Rex Dieter <rexdieter at="" sf.net=""> 0:1.0.0-0.fdr.1
e64f9d
- 1.0.0
e64f9d
- Requires: dirmngr
e64f9d
e64f9d
* Tue Oct 19 2004 Rex Dieter <rexdieter at="" sf.net=""> 0:0.4.7-0.fdr.1
e64f9d
- 0.4.7
479b7b
cvsextras cfe98d
* Sun May  2 2004 Ville Skyttä <ville.skytta at="" iki.fi=""> - 0:0.4.3-0.fdr.3
cvsextras cfe98d
- Require %%{_bindir}/gpgsm instead of newpg.
cvsextras cfe98d
- Cosmetic spec file improvements.
cvsextras cfe98d
cvsextras cfe98d
* Thu Oct 23 2003 Ville Skyttä <ville.skytta at="" iki.fi=""> - 0:0.4.3-0.fdr.2
cvsextras cfe98d
- Update description.
cvsextras cfe98d
cvsextras cfe98d
* Tue Oct  7 2003 Ville Skyttä <ville.skytta at="" iki.fi=""> - 0:0.4.3-0.fdr.1
cvsextras cfe98d
- Update to 0.4.3.
cvsextras cfe98d
cvsextras cfe98d
* Fri Aug 15 2003 Ville Skyttä <ville.skytta at="" iki.fi=""> - 0:0.4.2-0.fdr.1
cvsextras cfe98d
- Update to 0.4.2.
cvsextras cfe98d
- make check in the %%check section.
cvsextras cfe98d
cvsextras cfe98d
* Thu Jul 10 2003 Ville Skyttä <ville.skytta at="" iki.fi=""> - 0:0.4.1-0.fdr.1
cvsextras cfe98d
- Update to 0.4.1.
cvsextras cfe98d
- Make -devel cooperate with --excludedocs.
cvsextras cfe98d
cvsextras cfe98d
* Sat Apr 19 2003 Ville Skyttä <ville.skytta at="" iki.fi=""> - 0:0.4.0-0.fdr.2
cvsextras cfe98d
- BuildRequire pth-devel, fix missing epoch in -devel Requires (#169).
cvsextras cfe98d
- Save .spec in UTF-8.
cvsextras cfe98d
cvsextras cfe98d
* Sat Mar 22 2003 Ville Skyttä <ville.skytta at="" iki.fi=""> - 0:0.4.0-0.fdr.1
cvsextras cfe98d
- Update to current Fedora guidelines.
cvsextras cfe98d
- Exclude %%{_libdir}/*.la.
cvsextras cfe98d
cvsextras cfe98d
* Tue Feb 12 2003 Warren Togami <warren@togami.com> 0.4.0-1.fedora.3
cvsextras cfe98d
- info/dir temporary workaround
cvsextras cfe98d
cvsextras cfe98d
* Sat Feb  8 2003 Ville Skyttä <ville.skytta at="" iki.fi=""> - 0.4.0-1.fedora.1
cvsextras cfe98d
- First Fedora release.