6ac141
Summary:	The ASN.1 library used in GNUTLS
6ac141
Name:		libtasn1
6ac141
Version:	4.10
6ac141
Release:	1%{?dist}
6ac141
6ac141
# The libtasn1 library is LGPLv2+, utilities are GPLv3+
6ac141
License:	GPLv3+ and LGPLv2+
6ac141
Group:		System Environment/Libraries
6ac141
URL:		http://www.gnu.org/software/libtasn1/
6ac141
Source0:	http://ftp.gnu.org/gnu/libtasn1/%name-%version.tar.gz
6ac141
Source1:	http://ftp.gnu.org/gnu/libtasn1/%name-%version.tar.gz.sig
6ac141
Patch1:		libtasn1-2.12-rpath.patch
6ac141
BuildRequires:	bison, pkgconfig
6ac141
BuildRequires:	autoconf, automake, libtool
6ac141
%ifarch %ix86 x86_64 ppc ppc64
6ac141
BuildRequires:	valgrind
6ac141
%endif
6ac141
# Wildcard bundling exception https://fedorahosted.org/fpc/ticket/174
6ac141
Provides: bundled(gnulib) = 20120913
6ac141
6ac141
%package devel
6ac141
Summary:	Files for development of applications which will use libtasn1
6ac141
Group:		Development/Libraries
6ac141
Requires:	%name = %version-%release
6ac141
Requires:	pkgconfig
6ac141
Requires(post):		/sbin/install-info
6ac141
Requires(postun):	/sbin/install-info
6ac141
6ac141
6ac141
%package tools
6ac141
Summary:	Some ASN.1 tools
6ac141
Group:		Applications/Text
6ac141
License:	GPLv3+
6ac141
Requires:	%name = %version-%release
6ac141
6ac141
6ac141
%description
6ac141
A library that provides Abstract Syntax Notation One (ASN.1, as specified
6ac141
by the X.680 ITU-T recommendation) parsing and structures management, and
6ac141
Distinguished Encoding Rules (DER, as per X.690) encoding and decoding functions.
6ac141
6ac141
%description devel
6ac141
This package contains files for development of applications which will
6ac141
use libtasn1.
6ac141
6ac141
6ac141
%description tools
6ac141
This package contains simple tools that can decode and encode ASN.1
6ac141
data.
6ac141
6ac141
6ac141
%prep
6ac141
%setup -q
6ac141
6ac141
%patch1 -p1 -b .rpath
6ac141
6ac141
%build
6ac141
autoreconf -v -f --install
6ac141
%configure --disable-static --disable-silent-rules
6ac141
6ac141
make %{?_smp_mflags}
6ac141
6ac141
6ac141
%install
6ac141
make DESTDIR="$RPM_BUILD_ROOT" install
6ac141
6ac141
rm -f $RPM_BUILD_ROOT{%_libdir/*.la,%_infodir/dir}
6ac141
6ac141
6ac141
%check
6ac141
make check
6ac141
6ac141
6ac141
%post   -p /sbin/ldconfig
6ac141
%postun -p /sbin/ldconfig
6ac141
6ac141
6ac141
%post devel
6ac141
test -f %_infodir/%name.info.gz && \
6ac141
	/sbin/install-info --info-dir=%_infodir %_infodir/%name.info || :
6ac141
6ac141
%preun devel
6ac141
test "$1" = 0 -a -f %_infodir/%name.info.gz && \
6ac141
	/sbin/install-info --info-dir=%_infodir --delete %_infodir/%name.info || :
6ac141
6ac141
%files
6ac141
%defattr(-,root,root,-)
6ac141
%doc doc/TODO doc/*.pdf
6ac141
%doc AUTHORS COPYING* NEWS README THANKS
6ac141
%_libdir/*.so.6*
6ac141
6ac141
%files tools
6ac141
%defattr(-,root,root,-)
6ac141
%_bindir/asn1*
6ac141
%_mandir/man1/asn1*
6ac141
6ac141
%files devel
6ac141
%defattr(-,root,root,-)
6ac141
%_libdir/*.so
6ac141
%_libdir/pkgconfig/*.pc
6ac141
%_includedir/*
6ac141
%_infodir/*.info.*
6ac141
%_mandir/man3/*asn1*
6ac141
6ac141
6ac141
%changelog
6ac141
* Wed Jan 18 2017 Nikos Mavrogiannopoulos <nmav@redhat.com> - 4.10-1
6ac141
- Updated to the 4.x branch (#1360639)
6ac141
6ac141
* Fri Jul  8 2016 Nikos Mavrogiannopoulos <nmav@redhat.com> - 3.8-3
6ac141
- Resolve issue which prevented the decoding of long OIDs (#1330753)
6ac141
6ac141
* Thu Sep 04 2014 Nikos Mavrogiannopoulos <nmav@redhat.com> - 3.8-2
6ac141
- applied fix in octet string decoding
6ac141
6ac141
* Mon Aug 25 2014 Nikos Mavrogiannopoulos <nmav@redhat.com> - 3.8-1
6ac141
- new upstream release (#1110705)
6ac141
6ac141
* Wed Jul 23 2014 Nikos Mavrogiannopoulos <nmav@redhat.com> - 3.7-1
6ac141
- new upstream release (#1110705)
6ac141
6ac141
* Fri May 30 2014 Nikos Mavrogiannopoulos <nmav@redhat.com> - 3.3-5
6ac141
- Added missing check for null pointer (#1102338)
6ac141
6ac141
* Thu May 29 2014 Nikos Mavrogiannopoulos <nmav@redhat.com> - 3.3-4
6ac141
- Fix multiple decoding issues (#1102338)
6ac141
6ac141
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 3.3-3
6ac141
- Mass rebuild 2014-01-24
6ac141
6ac141
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 3.3-2
6ac141
- Mass rebuild 2013-12-27
6ac141
6ac141
* Mon Mar 25 2013 Tomáš Mráz <tmraz@redhat.com> - 3.3-1
6ac141
- new upstream release
6ac141
- improved description
6ac141
6ac141
* Thu Mar  7 2013 Tomas Mraz <tmraz@redhat.com> - 3.2-3
6ac141
- drop the temporary compat libtasn1
6ac141
6ac141
* Tue Feb  5 2013 Tomas Mraz <tmraz@redhat.com> - 3.2-2
6ac141
- now with temporary compat libtasn1 taken from old build
6ac141
6ac141
* Tue Feb  5 2013 Tomas Mraz <tmraz@redhat.com> - 3.2-1
6ac141
- new upstream release
6ac141
- SONAME bumped
6ac141
6ac141
* Fri Nov  9 2012 Tomas Mraz <tmraz@redhat.com> - 2.14-1
6ac141
- new upstream release
6ac141
6ac141
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.13-2
6ac141
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
6ac141
6ac141
* Mon Jun 18 2012 Tomas Mraz <tmraz@redhat.com> - 2.13-1
6ac141
- new upstream release
6ac141
6ac141
* Tue Mar 20 2012 Tomas Mraz <tmraz@redhat.com> - 2.12-1
6ac141
- new upstream release
6ac141
6ac141
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.7-3
6ac141
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
6ac141
6ac141
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.7-2
6ac141
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
6ac141
6ac141
* Tue Aug 3 2010 Tomas Mraz <tmraz@redhat.com> - 2.7-1
6ac141
- new upstream release
6ac141
6ac141
* Thu Jan 28 2010 Tomas Mraz <tmraz@redhat.com> - 2.4-2
6ac141
- drop superfluous rpath
6ac141
6ac141
* Mon Jan 18 2010 Tomas Mraz <tmraz@redhat.com> - 2.4-1
6ac141
- new upstream release
6ac141
6ac141
* Mon Jan 11 2010 Tomas Mraz <tmraz@redhat.com> - 2.3-2
6ac141
- no longer ignore make check result on ppc64
6ac141
6ac141
* Tue Aug 11 2009 Tomas Mraz <tmraz@redhat.com> - 2.3-1
6ac141
- updated to new upstream version
6ac141
- fix warnings when installed with --excludedocs (#515950)
6ac141
6ac141
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2-2
6ac141
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
6ac141
6ac141
* Fri May 29 2009 Tomas Mraz <tmraz@redhat.com> - 2.2-1
6ac141
- updated to new upstream version
6ac141
- SMP build should work now
6ac141
- drop fix for spurious rpath - no longer necessary
6ac141
6ac141
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8-2
6ac141
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
6ac141
6ac141
* Tue Jan 27 2009 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 1.8-1
6ac141
- updated to 1.8
6ac141
- updated URLs
6ac141
- disabled SMP builds for now
6ac141
6ac141
* Fri Dec 12 2008 Caolán McNamara <caolanm@redhat.com> - 1.7-2
6ac141
- rebuild to get provides pkgconfig(libtasn1)
6ac141
6ac141
* Fri Nov 21 2008 Tomas Mraz <tmraz@redhat.com> - 1.7-1
6ac141
- updated to new upstream version
6ac141
6ac141
* Tue Sep 30 2008 Tomas Mraz <tmraz@redhat.com> - 1.5-1
6ac141
- updated to new upstream version
6ac141
- fix license tag
6ac141
- fix spurious rpath in the tool binaries
6ac141
6ac141
* Thu Aug  7 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.4-2
6ac141
- fix license tag
6ac141
6ac141
* Thu Jun  5 2008 Tomas Mraz <tmraz@redhat.com> - 1.4-1
6ac141
- updated to new upstream version
6ac141
6ac141
* Wed Feb 13 2008 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 1.3-1
6ac141
- updated to 1.3 (#426488, #431334)
6ac141
- use wrapper around libtasn1-config which should make it multilib
6ac141
  safe (#342411); this implies an untagged 'Requires: pkgconfig' for
6ac141
  -devel now
6ac141
- conditionalized BR of valgrind (#401041)
6ac141
6ac141
* Mon Sep  3 2007 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 1.1-1
6ac141
- updated to 1.1
6ac141
- workaround 'make check' errors on ppc64
6ac141
6ac141
* Thu Jun 14 2007 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.3.10-1
6ac141
- updated to 0.3.10
6ac141
6ac141
* Fri Mar  2 2007 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.3.9-1
6ac141
- updated to 0.3.9
6ac141
6ac141
* Sat Feb  3 2007 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.3.8-1
6ac141
- updated to 0.3.8
6ac141
6ac141
* Sun Nov  5 2006 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.3.6-1
6ac141
- updated to 0.3.6
6ac141
- BR valgrind
6ac141
6ac141
* Fri Sep 15 2006 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.3.5-1
6ac141
- updated to 0.3.5
6ac141
6ac141
* Sat Jun  3 2006 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.3.4-1
6ac141
- updated to 0.3.4
6ac141
6ac141
* Sun Mar 26 2006 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.3.2-1
6ac141
- updated to 0.3.2
6ac141
- added -tools subpackage
6ac141
6ac141
* Wed Mar  8 2006 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.3.1-1
6ac141
- updated to 0.3.1
6ac141
6ac141
* Mon Mar  6 2006 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.3.0-1
6ac141
- updated to 0.3.0
6ac141
- removed unneeded curlies
6ac141
- created -devel subpackage
6ac141
6ac141
* Sun May 22 2005 Jeremy Katz <katzj@redhat.com> - 0.2.6-3
6ac141
- rebuild on all arches
6ac141
6ac141
* Fri Apr  7 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
6ac141
- rebuilt
6ac141
6ac141
* Tue Nov 18 2003 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0:0.2.6-0.fdr.1
6ac141
- updated to 0.2.6
6ac141
6ac141
* Mon Aug  4 2003 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> 0:0.2.5-0.fdr.1
6ac141
- updated to 0.2.5
6ac141
- changed license to LGPL
6ac141
- rearranged %%check to reflect execution order
6ac141
- minor cosmetical changes
6ac141
6ac141
* Tue Jun 10 2003 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> 0:0.2.4-0.fdr.1
6ac141
- Initial build.