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