"Fossies" - the Fresh Open Source Software Archive

Member "gpgme-1.15.1/gpgme.spec" (8 Jan 2021, 1957 Bytes) of package /linux/privat/gpgme-1.15.1.tar.bz2:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) RPM Spec source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the latest Fossies "Diffs" side-by-side code changes report for "gpgme.spec": 1.15.0_vs_1.15.1.

    1 # This is a template.  The dist target uses it to create the real file.
    2 Summary: GPGME - GnuPG Made Easy
    3 Name: gpgme
    4 Version: 1.15.1
    5 Release: 1
    6 URL: https://gnupg.org/gpgme.html
    7 Source: https://www.gnupg.org/ftp/gcrypt/gpgme/%{name}-%{version}.tar.gz
    8 Group: Development/Libraries
    9 Copyright: GPL
   10 BuildRoot: %{_tmppath}/%{name}-%{version}
   11 BuildRequires: make
   12 Prereq: /sbin/ldconfig /sbin/install-info
   13 Requires: gnupg
   14 
   15 %description
   16 GnuPG Made Easy (GPGME) is a library designed to make access to GnuPG easier
   17 for applications. It provides a High-Level Crypto API for encryption,
   18 decryption, signing, signature verification and key management.
   19 
   20 %prep
   21 %setup -q
   22 
   23 %build
   24 CFLAGS="$RPM_OPT_FLAGS"; export CFLAGS
   25 ./configure --prefix=/usr
   26 make
   27 
   28 %install
   29 rm -fr $RPM_BUILD_ROOT
   30 mkdir -p $RPM_BUILD_ROOT
   31 make install prefix=$RPM_BUILD_ROOT/usr infodir=$RPM_BUILD_ROOT%{_infodir}
   32 rm -f $RPM_BUILD_ROOT%{_infodir}/dir
   33 
   34 %clean
   35 rm -fr $RPM_BUILD_ROOT
   36 make distclean
   37 
   38 %post
   39 /sbin/ldconfig
   40 /sbin/install-info %{_infodir}/gpgme.info.gz %{_infodir}/dir
   41 /sbin/install-info %{_infodir}/gpgme-python-howto.info.gz %{_infodir}/dir
   42 
   43 %preun
   44 if [ "$1" = 0 ]; then
   45  /sbin/install-info --delete %{_infodir}/gpgme.info.gz %{_infodir}/dir
   46  /sbin/install-info --delete %{_infodir}/gpgme-python-howto.info.gz %{_infodir}/dir
   47 fi
   48 
   49 %postun
   50 /sbin/ldconfig
   51 
   52 %files
   53 %defattr(-,root,root)
   54 %doc COPYING COPYING.LESSER AUTHORS README INSTALL NEWS ChangeLog TODO THANKS
   55 %attr(0755,root,root) %{_bindir}/gpgme-config
   56 %attr(0755,root,root) %{_libdir}/*gpgme.so*
   57 %attr(0755,root,root) %{_libdir}/*gpgme.la
   58 %attr(0644,root,root) %{_libdir}/*gpgme.a
   59 %{_includedir}/gpgme.h
   60 %{_datadir}/aclocal/gpgme.m4
   61 %{_infodir}/gpgme.info*
   62 %{_infodir}/gpgme-python-howto.info*
   63 
   64 %changelog
   65 * Sat Aug 30 2003 Robert Schiele <rschiele@uni-mannheim.de>
   66 - %{_infodir}/dir is not packaged, remove to prevent checking failure
   67 * Mon Jul 01 2002 Wojciech Polak <polak@lodz.pdi.net>
   68 - initial specfile release for GPGME.
   69 
   70 # EOF