libtasn1/libtasn1.spec

129 lines
2.8 KiB
RPMSpec
Raw Normal View History

#
# spec file for package libtasn1 (Version 1.2)
#
# Copyright (c) 2007 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: 1
Url: http://www.t2-project.org/packages/libtasn1.html
Group: Productivity/Networking/Security
# FIXME: check this
License: GPL v3 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
%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
* 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.