aboutsummaryrefslogtreecommitdiffstats
path: root/gpgme.spec.in
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2002-07-02 09:08:21 +0000
committerWerner Koch <[email protected]>2002-07-02 09:08:21 +0000
commitabf4c3bb50e757a522055e3072bf283cd5e1c18a (patch)
tree4915dca07d125670893293bdf4f760ee33ff8b07 /gpgme.spec.in
parentauto updated version number. (diff)
downloadgpgme-abf4c3bb50e757a522055e3072bf283cd5e1c18a.tar.gz
gpgme-abf4c3bb50e757a522055e3072bf283cd5e1c18a.zip
* configure.ac: Bumbed version number to 0.3.9; add a comment on
when to change it. * gpgme.spec.in: New. Contributed by Wojciech Polak. * Makefile.am (dist-hook): New. * AUTHORS: Added Wojciech and bug reporting addresses.
Diffstat (limited to 'gpgme.spec.in')
-rw-r--r--gpgme.spec.in64
1 files changed, 64 insertions, 0 deletions
diff --git a/gpgme.spec.in b/gpgme.spec.in
new file mode 100644
index 00000000..91dc1ce7
--- /dev/null
+++ b/gpgme.spec.in
@@ -0,0 +1,64 @@
+# This is a template. The dist target uses it to create the real file.
+Summary: GPGME - GnuPG Made Easy
+Name: gpgme
+Version: @pkg_version@
+Release: 1
+URL: http://www.gnupg.org/gpgme.html
+Source: ftp://ftp.gnupg.org/gcrypt/alpha/gpgme/%{name}-%{version}.tar.gz
+Group: Development/Libraries
+Copyright: GPL
+BuildRoot: %{_tmppath}/%{name}-%{version}
+BuildRequires: make
+Prereq: /sbin/ldconfig /sbin/install-info
+Requires: gnupg
+
+%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.
+
+%prep
+%setup -q
+
+%build
+CFLAGS="$RPM_OPT_FLAGS"; export CFLAGS
+./configure --prefix=/usr
+make
+
+%install
+rm -fr $RPM_BUILD_ROOT
+mkdir -p $RPM_BUILD_ROOT
+make install prefix=$RPM_BUILD_ROOT/usr infodir=$RPM_BUILD_ROOT%{_infodir}
+
+%clean
+rm -fr $RPM_BUILD_ROOT
+make distclean
+
+%post
+/sbin/ldconfig
+/sbin/install-info %{_infodir}/gpgme.info.gz %{_infodir}/dir
+
+%preun
+if [ "$1" = 0 ]; then
+ /sbin/install-info --delete %{_infodir}/gpgme.info.gz %{_infodir}/dir
+fi
+
+%postun
+/sbin/ldconfig
+
+%files
+%defattr(-,root,root)
+%doc COPYING AUTHORS README INSTALL NEWS ChangeLog TODO THANKS
+%attr(0755,root,root) %{_bindir}/gpgme-config
+%attr(0755,root,root) %{_libdir}/*gpgme.so*
+%attr(0755,root,root) %{_libdir}/*gpgme.la
+%attr(0644,root,root) %{_libdir}/*gpgme.a
+%{_includedir}/gpgme.h
+%{_datadir}/aclocal/gpgme.m4
+%{_infodir}/gpgme.info*
+
+%changelog
+* Mon Jul 01 2002 Wojciech Polak <[email protected]>
+- initial specfile release for GPGME.
+
+# EOF