%define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0} %define source_name libtasn1 Summary: This is the ASN.1 library used in GNUTLS Name: libtasn1_214 Version: 2.14 Release: 1%{?_dist_release} License: LGPL Group: System Environment/Libraries URL: http://josefsson.org/libtasn1/ Source: http://josefsson.org/gnutls/releases/libtasn1/libtasn1-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRequires: bison, gcc-c++ %description This is the ASN.1 library used in GNUTLS. %package -n compat32-%{name} Summary: This is the ASN.1 library used in GNUTLS Group: System Environment/Libraries Requires: %{name} = %{version}-%{release} %description -n compat32-%{name} This is the ASN.1 library used in GNUTLS. %prep %setup -q -n %{source_name}-%{version} %build %configure --disable-static make %{?_smp_mflags} %install rm -rf %{buildroot} %makeinstall rm -f %{buildroot}%{_infodir}/dir ### Clean up buildroot rm -f %{buildroot}%{_libdir}/*.la %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %post -n compat32-%{name} -p /sbin/ldconfig %postun -n compat32-%{name} -p /sbin/ldconfig %clean rm -rf %{buildroot} %files %defattr(-, root, root, 0755) %doc AUTHORS ChangeLog COPYING* NEWS README THANKS %{_libdir}/*.so.* # compat32 %if %{build_compat32} %files -n compat32-%{name} %defattr(-, root, root, 0755) %{_libdir}/*.so.* %endif %changelog * Tue Feb 4 2014 Satoshi IWAMOTO 2.14-1 - compat package 2.14 * Thu Sep 27 2012 Toshiharu Kudoh - 2.14-1 - new upstream release * Mon Jun 04 2012 Toshiharu Kudoh - 2.13-1 - new upstream release * Thu Mar 22 2012 Toshiharu Kudoh - 2.12-1 - new upstream release * Fri Nov 25 2011 Toshiharu Kudoh - 2.11-1 - new upstream release * Sun Dec 12 2010 Toshiharu Kudoh - 2.9-1 - Updated to release 2.9 * Sat Oct 9 2010 Toshiharu Kudoh - 2.8-1 - Updated to release 2.8 * Tue Sep 21 2010 IWAI, Masaharu - 2.2-3 - build with rpm-4.8.1-1 for pkg-config file * Sat Jun 27 2009 NAKAMURA Kenta - 2.2-2 - added compat32 package for x86_64 arch support - added --disable-static %%configure option * Sat May 23 2009 Toshiharu Kudoh - 2.2-1vl5 - Updated to release 2.2 * Sun Apr 26 2009 Toshiharu Kudoh - 2.1-1vl5 - Updated to release 2.1 * Wed Apr 15 2009 Toshiharu Kudoh - 2.0-1vl5 - Updated to release 2.0 - spec in UTF-8 - fixed %files devel (comment out %{_bindir}/libtasn1-config) * Wed Jan 21 2009 Toshiharu Kudoh - 1.8-1vl5 - Updated to release 1.8 - fixed %files devel (comment out %{_datadir}/aclocal/libtasn1.m4) * Sat Mar 22 2008 Ryoichi INAGAKI - 1.3-1vl5 - initial build for Vine * Tue Apr 17 2007 Dries Verachtert - 0.3.9-1 - Updated to release 0.3.9. * Sat Nov 18 2006 Dries Verachtert - 0.3.8-1 - Updated to release 0.3.8. * Tue Sep 26 2006 Dries Verachtert - 0.3.5-1 - Updated to release 0.3.5. * Sat Apr 08 2006 Dries Verachtert - 0.3.0-1.2 - Rebuild for Fedora Core 5. * Fri Mar 03 2006 Dries Verachtert - 0.3.0-1 - Updated to release 0.3.0. * Sun Feb 12 2006 Dries Verachtert - 0.2.18-1 - Updated to release 0.2.18. * Fri Nov 11 2005 Dries Verachtert - 0.2.17-1 - Updated to release 0.2.17. * Mon May 17 2004 Dag Wieers - 0.2.9-1 - Updated to release 0.2.9. * Wed Dec 03 2003 Dag Wieers - 0.2.5-0 - Initial package. (using DAR)