134 lines
2.9 KiB
RPMSpec
134 lines
2.9 KiB
RPMSpec
#
|
|
# spec file for package libtasn1 (Version 1.2)
|
|
#
|
|
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
# This file and all modifications and additions to the pristine
|
|
# package are under the same license as the package itself.
|
|
#
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
#
|
|
|
|
# norootforbuild
|
|
|
|
Name: libtasn1
|
|
BuildRequires: info
|
|
Version: 1.2
|
|
Release: 6
|
|
Url: http://www.t2-project.org/packages/libtasn1.html
|
|
Group: Productivity/Networking/Security
|
|
# FIXME: check this
|
|
License: GPL v3 or later; LGPL v2.1 or later
|
|
Summary: ASN.1 parsing library
|
|
Source: libtasn1-1.2.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
|
|
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
|
|
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
|
|
* 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.
|