278c84
Name:    libassuan
278c84
Summary: GnuPG IPC library
278c84
Version: 2.5.1
278c84
Release: 3%{?dist}
278c84
278c84
# The library is LGPLv2+, the documentation GPLv3+
278c84
License: LGPLv2+ and GPLv3+
278c84
Source0: https://gnupg.org/ftp/gcrypt/libassuan/libassuan-%{version}.tar.bz2
278c84
Source1: https://gnupg.org/ftp/gcrypt/libassuan/libassuan-%{version}.tar.bz2.sig
278c84
URL:     http://www.gnupg.org/
278c84
278c84
Patch1:  libassuan-2.1.0-multilib.patch
278c84
278c84
BuildRequires: gawk
278c84
BuildRequires: libgpg-error-devel >= 1.8
278c84
278c84
%description
278c84
This is the IPC library used by GnuPG 2, GPGME and a few other
278c84
packages.
278c84
278c84
%package devel 
278c84
Summary: GnuPG IPC library 
278c84
Provides: libassuan2-devel = %{version}-%{release}
278c84
Provides: libassuan2-devel%{?_isa} = %{version}-%{release}
278c84
Requires: %{name}%{?_isa} = %{version}-%{release}
278c84
Requires(post): /sbin/install-info
278c84
Requires(preun): /sbin/install-info
278c84
%description devel 
278c84
This is the IPC static library used by GnuPG 2, GPGME and a few other
278c84
packages.
278c84
278c84
This package contains files needed to develop applications using %{name}.
278c84
278c84
278c84
%prep
278c84
%setup -q
278c84
278c84
%patch1 -p1 -b .multilib
278c84
278c84
278c84
%build
278c84
%configure \
278c84
  --includedir=%{_includedir}/libassuan2
278c84
278c84
%make_build
278c84
278c84
278c84
%install
278c84
%make_install
278c84
278c84
## Unpackaged files
278c84
rm -fv %{buildroot}%{_infodir}/dir
278c84
rm -fv %{buildroot}%{_libdir}/lib*.la
278c84
278c84
278c84
%check
278c84
make check
278c84
278c84
278c84
%ldconfig_scriptlets
278c84
278c84
%post devel 
278c84
/sbin/install-info %{_infodir}/assuan.info %{_infodir}/dir &>/dev/null || :
278c84
278c84
%preun devel 
278c84
if [ $1 -eq 0 ]; then
278c84
  /sbin/install-info --delete %{_infodir}/assuan.info %{_infodir}/dir &>/dev/null || :
278c84
fi
278c84
278c84
278c84
%files
278c84
%license COPYING COPYING.LIB
278c84
%doc AUTHORS ChangeLog NEWS README THANKS TODO
278c84
%{_libdir}/libassuan.so.0*
278c84
278c84
%files devel 
278c84
%{_bindir}/libassuan-config
278c84
%{_includedir}/libassuan2/
278c84
%{_libdir}/libassuan.so
278c84
%{_datadir}/aclocal/libassuan.m4
278c84
%{_infodir}/assuan.info*
278c84
278c84
278c84
%changelog
278c84
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.5.1-3
278c84
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
278c84
278c84
* Sat Feb 03 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 2.5.1-2
278c84
- Switch to %%ldconfig_scriptlets
278c84
278c84
* Fri Dec 08 2017 Tomáš Mráz <tmraz@redhat.com> 2.5.1-1
278c84
- new upstream release 2.5.1
278c84
278c84
* Fri Nov 24 2017 Tomáš Mráz <tmraz@redhat.com> 2.4.4-1
278c84
- new upstream release 2.4.4
278c84
278c84
* Mon Aug 07 2017 Rex Dieter <rdieter@fedoraproject.org> - 2.4.3-6
278c84
- .spec cosmetics, update source URLs
278c84
278c84
* Mon Aug 07 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 2.4.3-5
278c84
- Drop unneeded pth-devel dependencies
278c84
278c84
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.3-4
278c84
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
278c84
278c84
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.3-3
278c84
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
278c84
278c84
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.3-2
278c84
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
278c84
278c84
* Thu Jul 14 2016 Tomáš Mráz <tmraz@redhat.com> 2.4.3-1
278c84
- new upstream release
278c84
278c84
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.2-2
278c84
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
278c84
278c84
* Thu Dec  3 2015 Tomáš Mráz <tmraz@redhat.com> 2.4.2-1
278c84
- new upstream release
278c84
278c84
* Tue Nov 24 2015 Tomáš Mráz <tmraz@redhat.com> 2.4.1-1
278c84
- new upstream release
278c84
278c84
* Wed Sep  2 2015 Tomáš Mráz <tmraz@redhat.com> 2.3.0-1
278c84
- new upstream release
278c84
278c84
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.0-2
278c84
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
278c84
278c84
* Fri Dec 19 2014 Tomáš Mráz <tmraz@redhat.com> 2.2.0-1
278c84
- new upstream release
278c84
278c84
* Thu Sep 11 2014 Tomáš Mráz <tmraz@redhat.com> 2.1.2-1
278c84
- new upstream release
278c84
278c84
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.0-5
278c84
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
278c84
278c84
* Thu Jul 17 2014 Tom Callaway <spot@fedoraproject.org> - 2.1.0-4
278c84
- fix license handling
278c84
278c84
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.0-3
278c84
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
278c84
278c84
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.0-2
278c84
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
278c84
278c84
* Wed May 15 2013 Tomáš Mráz <tmraz@redhat.com> 2.1.0-1
278c84
- new upstream release
278c84
278c84
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.3-5
278c84
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
278c84
278c84
* Mon Dec  3 2012 Tomáš Mráz <tmraz@redhat.com> 2.0.3-4
278c84
- multilib conflict in libassuan-config fixed
278c84
278c84
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.3-3
278c84
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
278c84
278c84
* Thu Apr 19 2012 Tomáš Mráz <tmraz@redhat.com> 2.0.3-2
278c84
- add missing requires of base package
278c84
278c84
* Wed Apr 18 2012 Tomáš Mráz <tmraz@redhat.com> 2.0.3-1
278c84
- new upstream release
278c84
278c84
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.1-2
278c84
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
278c84
278c84
* Fri Jul 15 2011 Tomáš Mráz <tmraz@redhat.com> 2.0.1-1
278c84
- new upstream release
278c84
278c84
* Thu Apr 14 2011 Rex Dieter <rdieter@fedoraproject.org> 2.0.0-4
278c84
- Missing ldconfig calls (#696787)
278c84
278c84
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.0-3
278c84
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
278c84
278c84
* Tue Aug 10 2010 Rex Dieter <rdieter@fedoraproject.org> - 2.0.0-2
278c84
- -devel: Provides: libassuan2-devel
278c84
278c84
* Tue Jul 27 2010 Rex Dieter <rdieter@fedoraproject.org> - 2.0.0-1
278c84
- libassuan-2.0.0 (#573796)
278c84
278c84
* Thu Dec 17 2009 Rex Dieter <rdieter@fedoraproject.org> - 1.0.5-4
278c84
- better versioning for Obsoletes
278c84
- better (upstreamable) multilib patch
278c84
278c84
* Thu Dec 17 2009 Tomas Mraz <tmraz@redhat.com> - 1.0.5-3
278c84
- Fix license tag - the documentation is GPLv3+
278c84
278c84
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.5-2
278c84
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
278c84
278c84
* Sat Jun 20 2009 Rex Dieter <rdieter@fedoraproject.org> - 1.0.5-1
278c84
- libassuan-1.0.5
278c84
278c84
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.4-4
278c84
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
278c84
278c84
* Thu Apr 03 2008 Rex Dieter <rdieter@fedoraproject.org> 1.0.4-3
278c84
- multiarch conflicts (#341911)
278c84
278c84
* Fri Feb 08 2008 Rex Dieter <rdieter@fedoraproject.org> 1.0.4-2
278c84
- respin (gcc43)
278c84
278c84
* Wed Dec 12 2007 Rex Dieter <rdieter[AT]fedoraproject.org> - 1.0.4-1
278c84
- libassuan-1.0.4
278c84
- License: LGPLv2+
278c84
- disable useless -debuginfo (static libs only)
278c84
278c84
* Sun Aug 26 2007 Rex Dieter <rdieter[AT]fedoraproject.org> - 1.0.3-2
278c84
- BR: gawk (to reenable pth support)
278c84
278c84
* Fri Aug 24 2007 Rex Dieter <rdieter[AT]fedoraproject.org> - 1.0.3-1
278c84
- libassuan-1.0.3
278c84
- License: LGPLv2
278c84
278c84
* Thu Aug 02 2007 Rex Dieter <rdieter[AT]fedoraproject.org> - 1.0.2-2
278c84
- License: LGPLv3 (clarification, changed from LGPLv2 1.0.1 -> 1.0.2)
278c84
278c84
* Fri Jul 06 2007 Rex Dieter <rdieter[AT]fedoraproject.org> - 1.0.2-1
278c84
- libassuan-1.0.2
278c84
- rename -static -> -devel
278c84
278c84
* Sat Nov 25 2006 Rex Dieter <rexdieter[AT]users.sf.net> - 1.0.1-1
278c84
- libassuan-1.0.1
278c84
278c84
* Mon Nov 13 2006 Rex Dieter <rexdieter[AT]users.sf.net> - 1.0.0-1
278c84
- libassuan-1.0.0
278c84
- rename -devel -> -static (+Obsoletes/Provides: %%name-devel)
278c84
278c84
* Wed Oct 18 2006 Rex Dieter <rexdieter[AT]users.sf.net> - 0.9.3-2
278c84
- another libassuan.m4 patch
278c84
278c84
* Tue Oct 10 2006 Rex Dieter <rexdieter[AT]users.sf.net> - 0.9.3-1
278c84
- 0.9.3
278c84
- BR: pth-devel, -devel: Requires: pth-devel
278c84
278c84
* Wed Oct 04 2006 Rex Dieter <rexdieter[AT]users.sf.net> - 0.9.2-1
278c84
- 0.9.2
278c84
278c84
* Mon Oct 02 2006 Rex Dieter <rexdieter[AT]users.sf.ne> - 0.9.0-3
278c84
- respin
278c84
278c84
* Tue Sep 26 2006 Rex Dieter 
278c84
- -devel: Provides: %%name-static
278c84
- 0.9.0
278c84
278c84
* Mon Aug 28 2006 Rex Dieter <rexdieter[AT]users.sf.net> - 0.6.10-3
278c84
- fc6 respin
278c84
278c84
* Wed Mar 1 2006 Rex Dieter <rexdieter[AT]users.sf.net>
278c84
- fc5: gcc/glibc respin
278c84
278c84
* Mon Jul  4 2005 Michael Schwendt <mschwendt[at]users.sf.net> - 0.6.10-2
278c84
- Build PIC only for x86_64.
278c84
278c84
* Fri Jul  1 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.6.10-1
278c84
- 0.6.10, macro patch no longer needed (#162262).
278c84
278c84
* Sun May  8 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 0.6.9-4
278c84
- rebuilt
278c84
278c84
* Fri Mar 18 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.6.9-3
278c84
- Fix FC4 build and source URLs.
278c84
278c84
* Thu Feb  3 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 0.6.9-2
278c84
- Build PIC to fix x86_64 linking.
278c84
278c84
* Thu Jan 06 2005 Rex Dieter <rexdieter[AT]users.sf.net> - 0.6.9-1
278c84
- 0.6.9
278c84
278c84
* Sat Oct 23 2004 Rex Dieter <rexdieter[AT]users.sf.net> - 0.6.7-0.fdr.3
278c84
- *really* fix description this time.
278c84
278c84
* Fri Oct 22 2004 Rex Dieter <rexdieter[AT]users.sf.net> - 0.6.7-0.fdr.2
278c84
- remove "We decided..." part of description
278c84
- remove hard-coded .gz info references
278c84
- Req(preun)->Preq(postun): /sbin/install-info
278c84
278c84
* Thu Oct 21 2004 Rex Dieter <rexdieter[AT]users.sf.net> - 0.6.7-0.fdr.1
278c84
- cleanup, make presentable.
278c84
278c84
* Tue Oct 19 2004 Rex Dieter <rexdieter[AT]users.sf.net> - 0.6.7-0.fdr.0
278c84
- first try