2008-01-08 04:40:39 +01:00
|
|
|
#
|
2009-05-28 01:16:16 +02:00
|
|
|
# spec file for package libtasn1 (Version 2.2)
|
2008-01-08 04:40:39 +01:00
|
|
|
#
|
2010-04-24 17:22:05 +02:00
|
|
|
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2008-01-08 04:40:39 +01:00
|
|
|
#
|
2008-09-13 05:13:33 +02:00
|
|
|
# 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.
|
|
|
|
|
2008-01-08 04:40:39 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2008-09-13 05:13:33 +02:00
|
|
|
|
2008-01-08 04:40:39 +01:00
|
|
|
Name: libtasn1
|
2010-04-24 17:22:05 +02:00
|
|
|
BuildRequires: info pkg-config
|
2009-05-28 01:16:16 +02:00
|
|
|
Version: 2.2
|
2010-11-02 11:05:58 +01:00
|
|
|
Release: 10
|
2008-01-08 04:40:39 +01:00
|
|
|
Url: http://www.t2-project.org/packages/libtasn1.html
|
|
|
|
Group: Productivity/Networking/Security
|
2011-12-06 18:25:54 +01:00
|
|
|
License: LGPL-2.1+
|
2008-01-08 04:40:39 +01:00
|
|
|
Summary: ASN.1 parsing library
|
2008-09-13 05:13:33 +02:00
|
|
|
Source: %{name}-%{version}.tar.bz2
|
2009-12-30 00:27:20 +01:00
|
|
|
Source99: baselibs.conf
|
2008-01-08 04:40:39 +01:00
|
|
|
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
|
|
|
|
|
|
|
|
%package -n libtasn1-3
|
2011-12-06 18:25:54 +01:00
|
|
|
License: LGPL-2.1+
|
2008-01-08 04:40:39 +01:00
|
|
|
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
|
|
|
|
|
|
|
|
%package devel
|
2011-12-06 18:25:54 +01:00
|
|
|
License: LGPL-2.1+
|
2008-01-08 04:40:39 +01:00
|
|
|
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
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup
|
|
|
|
|
|
|
|
%build
|
2009-05-28 01:16:16 +02:00
|
|
|
%configure --disable-static
|
2010-11-02 11:05:50 +01:00
|
|
|
%__make %{?_smp_mflags}
|
2008-01-08 04:40:39 +01:00
|
|
|
|
|
|
|
%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
|
|
|
|
|
2008-01-17 23:42:34 +01:00
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
2008-01-08 04:40:39 +01:00
|
|
|
%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
|