From cfe98d3df3d5398a9e9e1024e46571b5cf29f36a Mon Sep 17 00:00:00 2001 From: cvsextras Date: Mon, 8 Nov 2004 04:29:10 +0000 Subject: [PATCH] =?UTF-8?q?auto-import=20changelog=20data=20from=20gpgme-0?= =?UTF-8?q?.4.3-0.fdr.3.1.src.rpm=200.4.3-0.fdr.3=20-=20Require=20%{=5Fbin?= =?UTF-8?q?dir}/gpgsm=20instead=20of=20newpg.=20-=20Cosmetic=20spec=20file?= =?UTF-8?q?=20improvements.=200.4.3-0.fdr.2=20-=20Update=20description.=20?= =?UTF-8?q?0.4.3-0.fdr.1=20-=20Update=20to=200.4.3.=200.4.2-0.fdr.1=20-=20?= =?UTF-8?q?Update=20to=200.4.2.=20-=20make=20check=20in=20the=20%check=20s?= =?UTF-8?q?ection.=200.4.1-0.fdr.1=20-=20Update=20to=200.4.1.=20-=20Make?= =?UTF-8?q?=20-devel=20cooperate=20with=20--excludedocs.=200.4.0-0.fdr.2?= =?UTF-8?q?=20-=20BuildRequire=20pth-devel,=20fix=20missing=20epoch=20in?= =?UTF-8?q?=20-devel=20Requires=20(#169).=20-=20Save=20.spec=20in=20UTF-8.?= =?UTF-8?q?=200.4.0-0.fdr.1=20-=20Update=20to=20current=20Fedora=20guideli?= =?UTF-8?q?nes.=20-=20Exclude=20%{=5Flibdir}/*.la.=20Wed=20Feb=2012=202003?= =?UTF-8?q?=20Warren=20Togami=20=200.4.0-1.fedora.3=20-?= =?UTF-8?q?=20info/dir=20temporary=20workaround=20Sat=20Feb=2008=202003=20?= =?UTF-8?q?Ville=20Skytt=C3=A4=20=20-=200.4.0-?= =?UTF-8?q?1.fedora.1=20-=20First=20Fedora=20release.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .cvsignore | 1 + gpgme.spec | 116 +++++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 118 insertions(+) create mode 100644 gpgme.spec diff --git a/.cvsignore b/.cvsignore index e69de29..e2704a6 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +gpgme-0.4.3.tar.gz diff --git a/gpgme.spec b/gpgme.spec new file mode 100644 index 0000000..3dd8546 --- /dev/null +++ b/gpgme.spec @@ -0,0 +1,116 @@ +Name: gpgme +Version: 0.4.3 +Release: 0.fdr.3.1 +Epoch: 0 +Summary: GnuPG Made Easy + +License: GPL +Group: Applications/System +URL: http://www.gnupg.org/related_software/gpgme/ +Source: ftp://ftp.gnupg.org/gcrypt/alpha/gpgme/gpgme-0.4.3.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildRequires: gnupg >= 0:1.2.2, %{_bindir}/gpgsm, pth-devel +BuildRequires: libgpg-error-devel >= 0:0.5 +Requires: gnupg >= 0:1.2.2, %{_bindir}/gpgsm + +%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. + +%package devel +Summary: Static libraries and header files from GPGME, GnuPG Made Easy +Group: Development/Libraries +Requires: %{name} = %{epoch}:%{version}-%{release}, libgpg-error-devel +Requires(post): /sbin/install-info +Requires(postun): /sbin/install-info + +%description devel +Static libraries and header files from GPGME, GnuPG Made Easy. + + +%prep +%setup -q + + +%build +%configure --enable-static +make %{?_smp_mflags} + + +%install +rm -rf $RPM_BUILD_ROOT +make install DESTDIR=$RPM_BUILD_ROOT +rm -f $RPM_BUILD_ROOT{%{_infodir}/dir,%{_libdir}/*.la} + + +%check || : +make check + + +%clean +rm -rf $RPM_BUILD_ROOT + + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%post devel +/sbin/install-info %{_infodir}/%{name}.info %{_infodir}/dir 2>/dev/null || : + +%postun devel +if [ $1 -eq 0 ] ; then + /sbin/install-info --delete %{_infodir}/%{name}.info \ + %{_infodir}/dir 2>/dev/null || : +fi + + +%files +%defattr(-,root,root,-) +%doc AUTHORS COPYING ChangeLog NEWS README* THANKS TODO VERSION +%{_libdir}/libgpgme*.so.* + +%files devel +%defattr(-,root,root,-) +%{_bindir}/gpgme-config +%{_includedir}/gpgme.h +%{_libdir}/libgpgme*.a +%{_libdir}/libgpgme*.so +%{_datadir}/aclocal/gpgme.m4 +%{_infodir}/gpgme.info* + + +%changelog +* Sun May 2 2004 Ville Skyttä - 0:0.4.3-0.fdr.3 +- Require %%{_bindir}/gpgsm instead of newpg. +- Cosmetic spec file improvements. + +* Thu Oct 23 2003 Ville Skyttä - 0:0.4.3-0.fdr.2 +- Update description. + +* Tue Oct 7 2003 Ville Skyttä - 0:0.4.3-0.fdr.1 +- Update to 0.4.3. + +* Fri Aug 15 2003 Ville Skyttä - 0:0.4.2-0.fdr.1 +- Update to 0.4.2. +- make check in the %%check section. + +* Thu Jul 10 2003 Ville Skyttä - 0:0.4.1-0.fdr.1 +- Update to 0.4.1. +- Make -devel cooperate with --excludedocs. + +* Sat Apr 19 2003 Ville Skyttä - 0:0.4.0-0.fdr.2 +- BuildRequire pth-devel, fix missing epoch in -devel Requires (#169). +- Save .spec in UTF-8. + +* Sat Mar 22 2003 Ville Skyttä - 0:0.4.0-0.fdr.1 +- Update to current Fedora guidelines. +- Exclude %%{_libdir}/*.la. + +* Tue Feb 12 2003 Warren Togami 0.4.0-1.fedora.3 +- info/dir temporary workaround + +* Sat Feb 8 2003 Ville Skyttä - 0.4.0-1.fedora.1 +- First Fedora release. diff --git a/sources b/sources index e69de29..e8543a2 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +a4cb2a2ba1689f0376bc1affc987f183 gpgme-0.4.3.tar.gz