SPECS/libtasn1/libtasn1.spec
0b7dab7c
 Summary:        ASN.1 library
 Name:           libtasn1
9a6a46b0
 Version:        4.13
14010605
 Release:        1%{?dist}
0b7dab7c
 License:        GPLv3+ and LGPLv2+
 URL:            http://www.gnu.org/software/libtasn1/
 Source0:        http://ftp.gnu.org/gnu/libtasn1/%{name}-%{version}.tar.gz
9a6a46b0
 %define sha1    libtasn1=a84afb4cd8187c1fa5901c6bc1cf1486eea66635
0b7dab7c
 Group:          System Environment/Libraries
 Vendor:         VMware, Inc.
 Distribution:   Photon
a0b42d2a
 
92e58245
 %description
 Libtasn1 library provides Abstract Syntax Notation One (ASN.1, as specified by the X.680 ITU-T recommendation) parsing and structures management, 
 and Distinguished Encoding Rules (DER, as per X.690) encoding and decoding functions.
 
 %package devel
0b7dab7c
 Summary:    Development libraries and header files for libtasn1
 Requires:   libtasn1
 Provides:   pkgconfig(libtasn1)
92e58245
 
 %description devel
 The package contains libraries and header files for
 developing applications that use libtasn1.
 
 %prep
 %setup -q
a0b42d2a
 
92e58245
 %build
 ./configure \
0b7dab7c
     --prefix=%{_prefix}
92e58245
 make %{?_smp_mflags}
 %install
 make DESTDIR=%{buildroot} install
 rm %{buildroot}%{_infodir}/*
e50ed14b
 find %{buildroot}%{_libdir} -name '*.la' -delete
3553e8bd
 
92e58245
 %check
3553e8bd
 make %{?_smp_mflags} check
 
0b7dab7c
 %post   -p /sbin/ldconfig
 %postun -p /sbin/ldconfig
92e58245
 %files
 %defattr(-,root,root)
 %{_libdir}/*.so.*
 %{_bindir}/*
 %{_mandir}/man1/*
0b7dab7c
 
92e58245
 %files devel
 %defattr(-,root,root)
 %{_includedir}/*.h
 %{_libdir}/*.so
 %{_libdir}/pkgconfig/*.pc
d77dd20b
 %{_libdir}/*.a
0b7dab7c
 %{_mandir}/man3/*
 
92e58245
 %changelog
9a6a46b0
 *   Mon Feb 12 2018 Xiaolin Li <xiaolinl@vmware.com> 4.13-1
 -   Update to version 4.13 fix CVE-2018-6003.
57522e66
 *   Tue Oct 10 2017 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 4.12-1
 -   update to 4.12 and apply patch for CVE-2017-10790
14010605
 *   Tue Apr 04 2017 Kumar Kaushik <kaushikk@vmware.com> 4.10-1
 -   Upgrading version to 4.10
0b7dab7c
 *   Wed Dec 07 2016 Xiaolin Li <xiaolinl@vmware.com> 4.7-4
 -   Moved man3 to devel subpackage.
 *   Wed Nov 30 2016 Dheeraj Shetty <dheerajs@vmware.com> 4.7-3
 -   Added patch for CVE-2016-4008
 *   Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 4.7-2
 -   GA - Bump release of all rpms
 *   Fri Jan 15 2016 Xiaolin Li <xiaolinl@vmware.com> 4.7-1
 -   Updated to version 4.7
d77dd20b
 *   Mon Oct 12 2015 Xiaolin Li <xiaolinl@vmware.com> 4.5-3
 -   Moving static lib files to devel package.
e50ed14b
 *   Fri Oct 9 2015 Xiaolin Li <xiaolinl@vmware.com> 4.5-2
 -   Removing la files from packages.
0b7dab7c
 *   Fri Jun 19 2015 Divya Thaluru <dthaluru@vmware.com> 4.5-1
 -   Initial build. First version
92e58245