Sophie

Sophie

distrib > Arklinux > devel > x86_64 > media > main-src > by-pkgid > 6fb60bd94a476d294dee2f3832e108d6 > files > 2

libtasn1-2.9-1ark.src.rpm

Summary:	ASN.1 (Abstract Syntax Notation One) library
Name:		libtasn1
Version:	2.9
Release:	1ark
License:	LGPL
Group:		System Environment/Libraries
URL:		http://www.gnu.org/software/gnutls/
Source:		http://ftp.gnu.org/gnu/libtasn1/%{name}-%{version}.tar.gz
Buildroot:	%{_tmppath}/%{name}-%{version}-buildroot
BuildRequires:	bison
Obsoletes:	%{name}_2

%track
prog %name = {
	version = %version
	url = ftp://ftp.gnu.org/pub/gnu/gnutls/
	regex = %name-(__VER__)\.tar\.gz
}

%description
 %name offers ASN.1 (Abstract Syntax Notation One) parsing
capabilities, and is used by GnuTLS for the X.509 certificate
parsing functions.


%package devel
Summary:	Development related files for %{name}
Group:		Development/Other
Requires:	%{name} = %{version}-%{release}

%description devel
 %name offers ASN.1 (Abstract Syntax Notation One) parsing
capabilities, and is used by GnuTLS for the X.509 certificate
parsing functions.

This package contains all the necessary files to develop or compile
other applications or libraries that use %{name}.

%package static
Summary:	Static development related files for %{name}
Group:		Development/Other/Static
Requires:	%{name}-devel = %{version}-%{release}

%description static
 %name offers ASN.1 (Abstract Syntax Notation One) parsing
capabilities, and is used by GnuTLS for the X.509 certificate
parsing functions.

This package contains all the necessary files to link statically to %name,
meaning to build applications that use %name without requiring %name
to be installed.

%prep
%setup -q

%build
%configure --disable-rpath \
           --disable-tcl \
           --disable-tk
make %{?_smp_mflags}


%install
make install DESTDIR="$RPM_BUILD_ROOT"

%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig

%clean
rm -rf %{buildroot}

%files
%doc COPYING COPYING.LIB
%_libdir/libtasn1.so*

%files devel
%doc AUTHORS NEWS README
%_includedir/libtasn1.h
%_bindir/*
%_libdir/pkgconfig/*.pc
%_mandir/man3/*

%files static
%_libdir/libtasn1.a

%changelog
* Fri Jan 14 2011 Bernhard Rosenkraenzer <bero@arklinux.org> 2.9-1ark
- 2.9

* Fri May 15 2009 Bernhard Rosenkraenzer <bero@arklinux.org> 2.1-1ark
- 2.1

* Thu Feb  5 2009 Bernhard Rosenkraenzer <bero@arklinux.org> 1.8-1ark
- 1.8

* Wed Sep 17 2008 Bernhard Rosenkraenzer <bero@arklinux.org> 1.5-1ark
- 1.5
- Update URL

* Fri Oct 13 2006 Bernhard Rosenkraenzer <bero@arklinux.org> 0.3.6-1ark
- 0.3.6
- Split out static lib

* Mon Feb 28 2005 Bernhard Rosenkraenzer <bero@arklinux.org> 0.2.13-1ark
- 0.2.13
- Change weirdo Mandrake-style package names to Ark-style ones
- Move to core, some stuff is starting to use this

* Sat Nov 01 2003 Gary Greene <greeneg@arklinux.org> 0.2.6-1ark
- Initial Ark Linux build.
- Modify Mandrake's spec to explicitly name the files owned by libtasn1.
- Ark-ify the spec to elmininate some of Mandrake's brain-damaged macros.

* Tue Oct 14 2003 Abel Cheung <deaddog@deaddog.org> 0.2.6-1mdk
- First Mandrake package.