Blame SPECS/libtasn1.spec

1b21aa
Summary:	The ASN.1 library used in GNUTLS
1b21aa
Name:		libtasn1
1b21aa
Version:	4.13
1b21aa
Release:	4%{?dist}
1b21aa
1b21aa
# The libtasn1 library is LGPLv2+, utilities are GPLv3+
1b21aa
License:	GPLv3+ and LGPLv2+
1b21aa
Group:		System Environment/Libraries
1b21aa
URL:		http://www.gnu.org/software/libtasn1/
1b21aa
Source0:	http://ftp.gnu.org/gnu/libtasn1/%name-%version.tar.gz
1b21aa
Source1:	http://ftp.gnu.org/gnu/libtasn1/%name-%version.tar.gz.sig
1b21aa
Source2:	gpgkey-1F42418905D8206AA754CCDC29EE58B996865171.gpg
1b21aa
Patch1:		libtasn1-3.4-rpath.patch
1b21aa
Patch300:	libtasn1-4.19-CVE-2021-46848.patch
1b21aa
1b21aa
BuildRequires:	bison, pkgconfig, help2man
1b21aa
BuildRequires:	autoconf, automake, libtool
1b21aa
%ifarch %{valgrind_arches}
1b21aa
BuildRequires:	valgrind-devel
1b21aa
%endif
1b21aa
# Wildcard bundling exception https://fedorahosted.org/fpc/ticket/174
1b21aa
Provides: bundled(gnulib) = 20130324
1b21aa
1b21aa
%package devel
1b21aa
Summary:	Files for development of applications which will use libtasn1
1b21aa
Group:		Development/Libraries
1b21aa
Requires:	%name = %version-%release
1b21aa
Requires:	pkgconfig
1b21aa
Requires(post):		/sbin/install-info
1b21aa
Requires(postun):	/sbin/install-info
1b21aa
1b21aa
1b21aa
%package tools
1b21aa
Summary:	Some ASN.1 tools
1b21aa
Group:		Applications/Text
1b21aa
License:	GPLv3+
1b21aa
Requires:	%name = %version-%release
1b21aa
1b21aa
1b21aa
%description
1b21aa
A library that provides Abstract Syntax Notation One (ASN.1, as specified
1b21aa
by the X.680 ITU-T recommendation) parsing and structures management, and
1b21aa
Distinguished Encoding Rules (DER, as per X.690) encoding and decoding functions.
1b21aa
1b21aa
%description devel
1b21aa
This package contains files for development of applications which will
1b21aa
use libtasn1.
1b21aa
1b21aa
1b21aa
%description tools
1b21aa
This package contains simple tools that can decode and encode ASN.1
1b21aa
data.
1b21aa
1b21aa
1b21aa
%prep
1b21aa
gpgv2 --keyring %{SOURCE2} %{SOURCE1} %{SOURCE0}
1b21aa
%setup -q
1b21aa
1b21aa
%patch1 -p1 -b .rpath
1b21aa
%patch300 -p1 -b .CVE-2021-46848
1b21aa
1b21aa
%build
1b21aa
autoreconf -v -f --install
1b21aa
%configure --disable-static --disable-silent-rules
1b21aa
# libtasn1 likes to regenerate docs
1b21aa
touch doc/stamp_docs
1b21aa
1b21aa
make %{?_smp_mflags}
1b21aa
1b21aa
1b21aa
%install
1b21aa
make DESTDIR="$RPM_BUILD_ROOT" install
1b21aa
1b21aa
rm -f $RPM_BUILD_ROOT{%_libdir/*.la,%_infodir/dir}
1b21aa
1b21aa
1b21aa
%check
1b21aa
make check
1b21aa
1b21aa
1b21aa
%post   -p /sbin/ldconfig
1b21aa
%postun -p /sbin/ldconfig
1b21aa
1b21aa
1b21aa
%post devel
1b21aa
test -f %_infodir/%name.info.gz && \
1b21aa
	/sbin/install-info --info-dir=%_infodir %_infodir/%name.info || :
1b21aa
1b21aa
%preun devel
1b21aa
test "$1" = 0 -a -f %_infodir/%name.info.gz && \
1b21aa
	/sbin/install-info --info-dir=%_infodir --delete %_infodir/%name.info || :
1b21aa
1b21aa
%files
1b21aa
%{!?_licensedir:%global license %%doc}
1b21aa
%license COPYING*
1b21aa
%doc AUTHORS NEWS README THANKS
1b21aa
%{_libdir}/*.so.6*
1b21aa
1b21aa
%files tools
1b21aa
%{_bindir}/asn1*
1b21aa
%{_mandir}/man1/asn1*
1b21aa
1b21aa
%files devel
1b21aa
%doc doc/TODO doc/*.pdf
1b21aa
%{_libdir}/*.so
1b21aa
%{_libdir}/pkgconfig/*.pc
1b21aa
%{_includedir}/*
1b21aa
%{_infodir}/*.info.*
1b21aa
%{_mandir}/man3/*asn1*
1b21aa
1b21aa
1b21aa
%changelog
1b21aa
* Wed Nov 30 2022 Simo Sorce <simo@redhat.com> - 4.13-4
1b21aa
- Resolves: rhbz#2140600
1b21aa
1b21aa
* Fri Aug  3 2018 Florian Weimer <fweimer@redhat.com> - 4.13-3
1b21aa
- Honor %%{valgrind_arches}
1b21aa
1b21aa
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.13-2
1b21aa
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
1b21aa
1b21aa
* Wed Jan 17 2018 Nikos Mavrogiannopoulos <nmav@redhat.com> - 4.13-1
1b21aa
- Update to 4.13 (#1535261)
1b21aa
1b21aa
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.12-3
1b21aa
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
1b21aa
1b21aa
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.12-2
1b21aa
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
1b21aa
1b21aa
* Mon May 29 2017 Nikos Mavrogiannopoulos <nmav@redhat.com> - 4.12-1
1b21aa
- Update to 4.12 (#1456190)
1b21aa
1b21aa
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.10-2
1b21aa
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
1b21aa
1b21aa
* Tue Jan 17 2017 Nikos Mavrogiannopoulos <nmav@redhat.com> - 4.10-1
1b21aa
- Update to 4.10 (#1413792)
1b21aa
1b21aa
* Mon Nov  7 2016 Peter Robinson <pbrobinson@fedoraproject.org> 4.9-2
1b21aa
- Move development related docs to devel sub package
1b21aa
- Cleanup spec and macros
1b21aa
- Update valgrind ExclusiveArch
1b21aa
1b21aa
* Fri Aug 26 2016 Nikos Mavrogiannopoulos <nmav@redhat.com> - 4.9-1
1b21aa
- Update to 4.9 (#1360315)
1b21aa
1b21aa
* Fri Jul  8 2016 Nikos Mavrogiannopoulos <nmav@redhat.com> - 4.8-2
1b21aa
- Resolve issue which prevented the decoding of long OIDs (#1353838)
1b21aa
1b21aa
* Mon Apr 11 2016 Nikos Mavrogiannopoulos <nmav@redhat.com> - 4.8-1
1b21aa
- Update to 4.8
1b21aa
- Resolves infinite loop recursion in the decode of certain BER structures.
1b21aa
1b21aa
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 4.7-2
1b21aa
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
1b21aa
1b21aa
* Tue Sep 15 2015 Nikos Mavrogiannopoulos <nmav@redhat.com> - 4.7-1
1b21aa
- Update to 4.7 (#1260325)
1b21aa
1b21aa
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.5-2
1b21aa
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
1b21aa
1b21aa
* Thu Apr 30 2015 Nikos Mavrogiannopoulos <nmav@redhat.com> - 4.5-1
1b21aa
- Update to 4.5 (#1217282)
1b21aa
1b21aa
* Mon Mar 30 2015 Nikos Mavrogiannopoulos <nmav@redhat.com> - 4.4-1
1b21aa
- new upstream release (#1206968)
1b21aa
- fixes stack overflow in DER decoder
1b21aa
1b21aa
* Tue Mar 10 2015 Nikos Mavrogiannopoulos <nmav@redhat.com> - 4.3-1
1b21aa
- new upstream release
1b21aa
1b21aa
* Tue Sep 16 2014 Nikos Mavrogiannopoulos <nmav@redhat.com> - 4.2-1
1b21aa
- new upstream release
1b21aa
1b21aa
* Mon Aug 25 2014 Nikos Mavrogiannopoulos <nmav@redhat.com> - 4.1-2
1b21aa
- added bug fix for octet string decoding (#1138218)
1b21aa
1b21aa
* Mon Aug 25 2014 Nikos Mavrogiannopoulos <nmav@redhat.com> - 4.1-1
1b21aa
- new upstream release
1b21aa
1b21aa
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.0-3
1b21aa
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
1b21aa
1b21aa
* Fri Jul 18 2014 Tom Callaway <spot@fedoraproject.org> - 4.0-2
1b21aa
- fix license handling
1b21aa
1b21aa
* Mon Jun 30 2014 Nikos Mavrogiannopoulos <nmav@redhat.com> - 4.0-1
1b21aa
- new upstream release
1b21aa
1b21aa
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.6-2
1b21aa
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
1b21aa
1b21aa
* Mon May 26 2014 Nikos Mavrogiannopoulos <nmav@redhat.com> - 3.6-1
1b21aa
- new upstream release
1b21aa
1b21aa
* Fri May 02 2014 Nikos Mavrogiannopoulos <nmav@redhat.com> - 3.5-1
1b21aa
- new upstream release
1b21aa
1b21aa
* Wed Nov 27 2013 Nikos Mavrogiannopoulos <nmav@redhat.com> - 3.4-1
1b21aa
- new upstream release
1b21aa
1b21aa
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.3-2
1b21aa
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
1b21aa
1b21aa
* Mon Mar 25 2013 Tomáš Mráz <tmraz@redhat.com> - 3.3-1
1b21aa
- new upstream release
1b21aa
- improved description
1b21aa
1b21aa
* Thu Mar  7 2013 Tomas Mraz <tmraz@redhat.com> - 3.2-3
1b21aa
- drop the temporary compat libtasn1
1b21aa
1b21aa
* Tue Feb  5 2013 Tomas Mraz <tmraz@redhat.com> - 3.2-2
1b21aa
- now with temporary compat libtasn1 taken from old build
1b21aa
1b21aa
* Tue Feb  5 2013 Tomas Mraz <tmraz@redhat.com> - 3.2-1
1b21aa
- new upstream release
1b21aa
- SONAME bumped
1b21aa
1b21aa
* Fri Nov  9 2012 Tomas Mraz <tmraz@redhat.com> - 2.14-1
1b21aa
- new upstream release
1b21aa
1b21aa
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.13-2
1b21aa
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
1b21aa
1b21aa
* Mon Jun 18 2012 Tomas Mraz <tmraz@redhat.com> - 2.13-1
1b21aa
- new upstream release
1b21aa
1b21aa
* Tue Mar 20 2012 Tomas Mraz <tmraz@redhat.com> - 2.12-1
1b21aa
- new upstream release
1b21aa
1b21aa
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.7-3
1b21aa
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
1b21aa
1b21aa
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.7-2
1b21aa
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
1b21aa
1b21aa
* Tue Aug 3 2010 Tomas Mraz <tmraz@redhat.com> - 2.7-1
1b21aa
- new upstream release
1b21aa
1b21aa
* Thu Jan 28 2010 Tomas Mraz <tmraz@redhat.com> - 2.4-2
1b21aa
- drop superfluous rpath
1b21aa
1b21aa
* Mon Jan 18 2010 Tomas Mraz <tmraz@redhat.com> - 2.4-1
1b21aa
- new upstream release
1b21aa
1b21aa
* Mon Jan 11 2010 Tomas Mraz <tmraz@redhat.com> - 2.3-2
1b21aa
- no longer ignore make check result on ppc64
1b21aa
1b21aa
* Tue Aug 11 2009 Tomas Mraz <tmraz@redhat.com> - 2.3-1
1b21aa
- updated to new upstream version
1b21aa
- fix warnings when installed with --excludedocs (#515950)
1b21aa
1b21aa
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2-2
1b21aa
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
1b21aa
1b21aa
* Fri May 29 2009 Tomas Mraz <tmraz@redhat.com> - 2.2-1
1b21aa
- updated to new upstream version
1b21aa
- SMP build should work now
1b21aa
- drop fix for spurious rpath - no longer necessary
1b21aa
1b21aa
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8-2
1b21aa
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
1b21aa
1b21aa
* Tue Jan 27 2009 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 1.8-1
1b21aa
- updated to 1.8
1b21aa
- updated URLs
1b21aa
- disabled SMP builds for now
1b21aa
1b21aa
* Fri Dec 12 2008 Caolán McNamara <caolanm@redhat.com> - 1.7-2
1b21aa
- rebuild to get provides pkgconfig(libtasn1)
1b21aa
1b21aa
* Fri Nov 21 2008 Tomas Mraz <tmraz@redhat.com> - 1.7-1
1b21aa
- updated to new upstream version
1b21aa
1b21aa
* Tue Sep 30 2008 Tomas Mraz <tmraz@redhat.com> - 1.5-1
1b21aa
- updated to new upstream version
1b21aa
- fix license tag
1b21aa
- fix spurious rpath in the tool binaries
1b21aa
1b21aa
* Thu Aug  7 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.4-2
1b21aa
- fix license tag
1b21aa
1b21aa
* Thu Jun  5 2008 Tomas Mraz <tmraz@redhat.com> - 1.4-1
1b21aa
- updated to new upstream version
1b21aa
1b21aa
* Wed Feb 13 2008 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 1.3-1
1b21aa
- updated to 1.3 (#426488, #431334)
1b21aa
- use wrapper around libtasn1-config which should make it multilib
1b21aa
  safe (#342411); this implies an untagged 'Requires: pkgconfig' for
1b21aa
  -devel now
1b21aa
- conditionalized BR of valgrind (#401041)
1b21aa
1b21aa
* Mon Sep  3 2007 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 1.1-1
1b21aa
- updated to 1.1
1b21aa
- workaround 'make check' errors on ppc64
1b21aa
1b21aa
* Thu Jun 14 2007 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.3.10-1
1b21aa
- updated to 0.3.10
1b21aa
1b21aa
* Fri Mar  2 2007 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.3.9-1
1b21aa
- updated to 0.3.9
1b21aa
1b21aa
* Sat Feb  3 2007 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.3.8-1
1b21aa
- updated to 0.3.8
1b21aa
1b21aa
* Sun Nov  5 2006 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.3.6-1
1b21aa
- updated to 0.3.6
1b21aa
- BR valgrind
1b21aa
1b21aa
* Fri Sep 15 2006 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.3.5-1
1b21aa
- updated to 0.3.5
1b21aa
1b21aa
* Sat Jun  3 2006 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.3.4-1
1b21aa
- updated to 0.3.4
1b21aa
1b21aa
* Sun Mar 26 2006 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.3.2-1
1b21aa
- updated to 0.3.2
1b21aa
- added -tools subpackage
1b21aa
1b21aa
* Wed Mar  8 2006 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.3.1-1
1b21aa
- updated to 0.3.1
1b21aa
1b21aa
* Mon Mar  6 2006 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.3.0-1
1b21aa
- updated to 0.3.0
1b21aa
- removed unneeded curlies
1b21aa
- created -devel subpackage
1b21aa
1b21aa
* Sun May 22 2005 Jeremy Katz <katzj@redhat.com> - 0.2.6-3
1b21aa
- rebuild on all arches
1b21aa
1b21aa
* Thu Apr  7 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
1b21aa
- rebuilt
1b21aa
1b21aa
* Tue Nov 18 2003 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0:0.2.6-0.fdr.1
1b21aa
- updated to 0.2.6
1b21aa
1b21aa
* Mon Aug  4 2003 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> 0:0.2.5-0.fdr.1
1b21aa
- updated to 0.2.5
1b21aa
- changed license to LGPL
1b21aa
- rearranged %%check to reflect execution order
1b21aa
- minor cosmetical changes
1b21aa
1b21aa
* Tue Jun 10 2003 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> 0:0.2.4-0.fdr.1
1b21aa
- Initial build.