libtasn1/libtasn1.spec
OBS User autobuild 539bbdb579 Accepting request 27862 from GNOME:Factory
Copy from GNOME:Factory/libtasn1 based on submit request 27862 from user vuntz

OBS-URL: https://build.opensuse.org/request/show/27862
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libtasn1?expand=0&rev=8
2009-12-29 23:27:20 +00:00

134 lines
3.1 KiB
RPMSpec

#
# 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: 2
Url: http://www.t2-project.org/packages/libtasn1.html
Group: Productivity/Networking/Security
License: GPLv3+ ; LGPLv2.1+
Summary: ASN.1 parsing library
Source: %{name}-%{version}.tar.bz2
Source99: baselibs.conf
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: LGPLv2.1+
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: LGPLv2.1+
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