File libtasn1.spec of Package libtasn1

#
# spec file for package libtasn1 (Version 1.5)
#
# Copyright (c) 2008 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:        1.5
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
AutoReqProv:    on
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:        GPL v3 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:        GPL v3 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
%__make %{?jobs:-j%jobs}

%install
%makeinstall
rm $RPM_BUILD_ROOT/%{_libdir}/*.a
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
%{_datadir}/aclocal/libtasn1.m4

%changelog
* 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.
openSUSE Build Service is sponsored by