Blame SPECS/libtasn1.spec

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