libtasn1/libtasn1.spec

212 lines
6.6 KiB
RPMSpec
Raw Normal View History

#
# spec file for package libtasn1 (Version 2.2)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: libtasn1
BuildRequires: info
Version: 2.2
Release: 1
Url: http://www.t2-project.org/packages/libtasn1.html
Group: Productivity/Networking/Security
License: GPL v3 or later; LGPL v2.1 or later
Summary: ASN.1 parsing library
Source: %{name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
PreReq: %install_info_prereq
%description
This is the ASN.1 library used in GNUTLS. More up to date information
can be found at http://www.gnu.org/software/gnutls and
http://www.gnutls.org
Authors:
--------
Original author:
Fabio Fiorina <fiorinaf@gnutls.org>
Current maintainer:
Simon Josefsson <jas@extundo.com>
%package -n libtasn1-3
License: LGPL v2.1 or later
Summary: ASN.1 parsing library
Requires: %{name} >= %{version}
Group: Productivity/Networking/Security
%description -n libtasn1-3
This is the ASN.1 library used in GNUTLS. More up to date information
can be found at http://www.gnu.org/software/gnutls and
http://www.gnutls.org
Authors:
--------
Original author:
Fabio Fiorina <fiorinaf@gnutls.org>
Current maintainer:
Simon Josefsson <jas@extundo.com>
%package devel
License: LGPL v2.1 or later
Requires: %{name} = %{version}
Summary: ASN.1 parsing library
Group: Productivity/Networking/Security
%description devel
This is the ASN.1 library used in GNUTLS. More up to date information
can be found at http://www.gnu.org/software/gnutls and
http://www.gnutls.org
Authors:
--------
Original author:
Fabio Fiorina <fiorinaf@gnutls.org>
Current maintainer:
Simon Josefsson <jas@extundo.com>
%prep
%setup
%build
%configure --disable-static
%__make %{?jobs:-j%jobs}
%install
%makeinstall
rm $RPM_BUILD_ROOT/%{_libdir}/*.la
%post
%install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
%postun
%install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
%post -n libtasn1-3 -p /sbin/ldconfig
%postun -n libtasn1-3 -p /sbin/ldconfig
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-, root, root)
%doc ChangeLog NEWS README THANKS
%{_bindir}/*
%{_mandir}/man1/*.1.gz
%{_mandir}/man3/*.3.gz
%{_infodir}/*.info.gz
%files -n libtasn1-3
%defattr(-, root, root)
%{_libdir}/*.so.*
%files devel
%defattr(-, root, root)
%{_includedir}/*.h
%{_libdir}/*.so
%{_libdir}/pkgconfig/libtasn1.pc
%changelog
* Thu May 21 2009 vuntz@novell.com
- Update to version 2.2:
+ Change how the ASN1_API decorator is used in libtasn1.h, for
GTK-DOC.
+ Changed license of libtasn1.pc from GPLv3+ to LGPLv2.1+.
+ Building with many warning flags now requires
--enable-gcc-warnings.
+ Some warnings fixed.
- Fix license of library packages: it's LGPL not GPL.
* Wed May 06 2009 vuntz@novell.com
- Update to version 2.1:
+ Fix compilation failure on platforms that can't generate empty
archives, e.g., Mac OS X.
- Changes from version 2.0:
+ Optimized tree generation.
+ ASN1 parser code re-generated using Bison 2.4.1.
+ Build with more warning flags. Many compiler warnings fixed.
+ Compiled with -fvisibility=hidden by default if supported.
See http://gcc.gnu.org/wiki/Visibility
+ The libtasn1-config tool has been removed. For application
developers, please stop using libtasn1-config for finding
libtasn1, use proper autoconf checks or pkg-config instead.
- Remove AutoReqProv: it's default now.
- Pass --disable-static to configure.
* Wed Feb 11 2009 ro@suse.de
- added baselibs.conf (needed by gnome-keyring-32bit)
* Mon Feb 02 2009 mboman@suse.de
- Update to version 1.8:
+ Fix crlf self-test under Mingw+Wine.
+ Fix build problems on platforms that lack stdint.h.
* Sat Dec 20 2008 mboman@suse.de
- Update to version 1.7:
+ Add libtasn1-config for compatibility.
Please stop use it as it will disappear in v2.0!
Use standard AC_CHECK_FUNCS autoconf tests or pkg-config instead.
+ Read PKCS#12 blob as binary file, fixes self-tests under Mingw.
+ Fix use of __attribute__ ((deprecated)) to work on non-GCC
+ Fixed namespace violation for MAX_NAME_SIZE and MAX_ERROR_DESCRIPTION_SIZE.
The new names are ASN1_MAX_NAME_SIZE and ASN1_MAX_ERROR_DESCRIPTION_SIZE.
+ Fixed namespace violation for libtasn1_perror and libtasn1_strerror.
The new names are asn1_perror and asn1_strerror.
+ Fix namespace violation for LIBASN1_VERSION.
The new name is ASN1_VERSION.
+ Decoder can now decode BER encoded octet strings.
+ doc: Change license on the manual to GFDLv1.3+.
+ doc: Sync gdoc script with GnuTLS, changes license on man-pages to GAP.
+ doc: Improve gtk-doc manual.
+ Assumes system has strdup and string.h.
+ Remove libtasn1-config and libtasn1.m4,
use standard AC_CHECK_FUNCS autoconf tests or pkg-config instead.
+ Change detection of when to use a linker version script,
use --enable-ld-version-script or --disable-ld-version-script to
override auto-detection logic.
+ API and ABI changes since last version:
asn1_get_length_ber: New function.
ASN1_VERSION: New symbol, replaces LIBTASN1_VERSION.
asn1_strerror: New function, replaces libtasn1_strerror.
asn1_perror: New function, replaces libtasn1_perror.
libtasn1_strerror: Marked as deprecated.
libtasn1_perror: Marked as deprecated.
LIBTASN1_VERSION: Deprecated.
* Fri Sep 12 2008 maw@suse.de
- Update to version 1.5:
+ Update gnulib files
+ Handle 'INTEGER { ... } (a..b)' regression
Revert parts of earlier fix. asn1Parser can now again parse
src/pkix.asn1.
The ASN1.c file was generated using Bison 2.3.
+ Move examples from src/ to new directory examples/.
+ Duplicate copy of divergated pkix.asn removed.
+ Merge unnecessary lib/defines.h into lib/int.h.
+ Misc. fixes.
* Wed Jan 02 2008 maw@suse.de
- Add a %%clean section.
* Thu Dec 20 2007 maw@suse.de
- Properly package info files
- Package several documentation files.
* Thu Dec 20 2007 maw@suse.de
- New package, version 1.2.