--- /dev/null
- Version: 2.5.5
+Name: libassuan
++Version: 2.5.6
+Release: 0
+License: GPL-3.0+ or LGPL-2.1+
+Summary: IPC library used by GnuPG version 2
+Url: http://www.gnupg.org/aegypten2/index.html
+Group: Security/Libraries
+Source: %{name}-%{version}.tar.bz2
+Source1: baselibs.conf
+Source1001: libassuan.manifest
+BuildRequires: libgpg-error-devel >= 1.4
+
+%description
+Libassuan is the IPC library used by gpg2 (GnuPG version 2)
+
+%package devel
+Summary: IPC library used by GnuPG version 2
+Group: Development/Libraries
+Requires: libassuan = %{version}
+Requires: libgpg-error-devel
+
+%description devel
+Libassuan is the IPC library used by gpg2 (GnuPG version 2)
+
+gpgme also uses libassuan to communicate with a libassuan-enabled GnuPG
+v2 server, but it uses it's own copy of libassuan.
+
+%prep
+%setup -q
+cp %{SOURCE1001} .
+
+%build
+# Compile with PIC, library is linked into shared libraries:
+export CFLAGS="%{optflags}"
+export LDFLAGS="-fPIC"
+%reconfigure
+%__make %{?_smp_mflags}
+
+%install
+%make_install
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%manifest %{name}.manifest
+%defattr(-,root,root)
+%license COPYING COPYING.LIB
+%{_libdir}/libassuan.so.*
+
+%files devel
+%manifest %{name}.manifest
+%defattr(-,root,root)
+%doc %{_infodir}/assuan*
+%{_includedir}/*.h
+%{_bindir}/*-config
+%{_datadir}/aclocal/*.m4
+%{_libdir}/libassuan.so
+%{_libdir}/pkgconfig/libassuan.pc