2006-03-06 11:22:49 +00:00
|
|
|
%{!?release_func:%global release_func() %1%{?dist}}
|
|
|
|
|
2005-02-28 21:12:57 +00:00
|
|
|
Summary: This is the ASN.1 library used in GNUTLS
|
2004-11-08 04:49:22 +00:00
|
|
|
Name: libtasn1
|
2008-06-05 12:43:19 +00:00
|
|
|
Version: 1.4
|
2008-08-07 15:53:31 +00:00
|
|
|
Release: %release_func 2
|
2005-04-06 22:12:23 +00:00
|
|
|
|
2008-08-07 15:53:31 +00:00
|
|
|
License: LGPLv2+
|
2004-11-08 04:49:22 +00:00
|
|
|
Group: System Environment/Libraries
|
|
|
|
URL: http://www.gnu.org/software/gnutls/download.html
|
2008-06-05 12:57:44 +00:00
|
|
|
Source0: http://www.gnu.org/software/gnutls/releases/libtasn1/%name-%version.tar.gz
|
|
|
|
Source1: http://www.gnu.org/software/gnutls/releases/libtasn1/%name-%version.tar.gz.sig
|
2008-02-13 12:56:03 +00:00
|
|
|
Patch0: libtasn1-1.3-pkgconfig.patch
|
2006-03-06 11:22:49 +00:00
|
|
|
BuildRoot: %_tmppath/%name-%version-%release-buildroot
|
2008-02-13 12:56:03 +00:00
|
|
|
BuildRequires: bison
|
|
|
|
%ifarch %ix86 x86_64 ppc ppc64
|
|
|
|
BuildRequires: valgrind
|
|
|
|
%endif
|
2004-11-08 04:49:22 +00:00
|
|
|
|
|
|
|
|
2006-03-06 11:22:49 +00:00
|
|
|
%package devel
|
|
|
|
Summary: Files for development of applications which will use libtasn1
|
|
|
|
Group: Development/Libraries
|
|
|
|
Requires: %name = %version-%release
|
2008-02-13 12:56:03 +00:00
|
|
|
Requires: pkgconfig
|
|
|
|
Requires(pre): automake
|
|
|
|
Requires(postun): automake
|
2006-03-06 11:22:49 +00:00
|
|
|
Requires(post): /sbin/install-info
|
|
|
|
Requires(postun): /sbin/install-info
|
|
|
|
|
2006-03-06 11:29:12 +00:00
|
|
|
|
2006-03-26 16:38:34 +00:00
|
|
|
%package tools
|
|
|
|
Summary: Some ASN.1 tools
|
|
|
|
Group: Applications/Text
|
2008-08-07 15:53:31 +00:00
|
|
|
License: GPLv3+
|
2006-03-26 16:38:34 +00:00
|
|
|
Requires: %name = %version-%release
|
|
|
|
|
|
|
|
|
2004-11-08 04:49:22 +00:00
|
|
|
%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
|
|
|
|
|
2006-03-06 11:22:49 +00:00
|
|
|
%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
|
|
|
|
|
2006-03-26 16:38:34 +00:00
|
|
|
This package contains files for development of applications which will
|
|
|
|
use libtasn1.
|
|
|
|
|
|
|
|
|
|
|
|
%description tools
|
|
|
|
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
|
|
|
|
|
|
|
|
This package contains tools using the libtasn library.
|
2006-03-06 11:22:49 +00:00
|
|
|
|
2004-11-08 04:49:22 +00:00
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
2008-02-13 12:56:03 +00:00
|
|
|
%patch0 -p1 -b .pkgcfg
|
2004-11-08 04:49:22 +00:00
|
|
|
|
|
|
|
%build
|
2006-03-06 11:22:49 +00:00
|
|
|
%configure --disable-static
|
|
|
|
make %{?_smp_mflags}
|
2004-11-08 04:49:22 +00:00
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf "$RPM_BUILD_ROOT"
|
2006-03-06 11:22:49 +00:00
|
|
|
make DESTDIR="$RPM_BUILD_ROOT" install
|
|
|
|
|
|
|
|
rm -f $RPM_BUILD_ROOT{%_libdir/*.la,%_infodir/dir}
|
2004-11-08 04:49:22 +00:00
|
|
|
|
|
|
|
|
|
|
|
%check
|
2007-09-04 07:12:58 +00:00
|
|
|
%ifarch ppc64
|
|
|
|
rc=true
|
|
|
|
%else
|
|
|
|
rc=false
|
|
|
|
%endif
|
|
|
|
|
|
|
|
make check || $rc
|
2004-11-08 04:49:22 +00:00
|
|
|
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf "$RPM_BUILD_ROOT"
|
|
|
|
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
2006-03-06 11:22:49 +00:00
|
|
|
%post devel
|
|
|
|
/sbin/install-info --info-dir=%_infodir %_infodir/%name.info || :
|
|
|
|
|
|
|
|
%preun devel
|
|
|
|
test "$1" != 0 ||
|
|
|
|
/sbin/install-info --info-dir=%_infodir --delete %_infodir/%name.info || :
|
|
|
|
|
|
|
|
|
2004-11-08 04:49:22 +00:00
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
2006-03-06 11:22:49 +00:00
|
|
|
%doc doc/TODO doc/*.pdf
|
2004-11-08 04:49:22 +00:00
|
|
|
%doc AUTHORS COPYING* ChangeLog NEWS README THANKS
|
2006-03-06 11:22:49 +00:00
|
|
|
%_libdir/*.so.*
|
|
|
|
|
2006-03-26 16:38:34 +00:00
|
|
|
%files tools
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%_bindir/asn1*
|
|
|
|
%_mandir/man1/asn1*
|
2006-03-06 11:22:49 +00:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%_bindir/*-config
|
|
|
|
%_libdir/*.so
|
|
|
|
%_libdir/pkgconfig/*.pc
|
|
|
|
%_includedir/*
|
|
|
|
%_datadir/aclocal/libtasn1.m4
|
|
|
|
%_infodir/*.info.*
|
|
|
|
%_mandir/man3/*asn1*
|
2004-11-08 04:49:22 +00:00
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
2008-08-07 15:53:31 +00:00
|
|
|
* Thu Aug 7 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.4-2
|
|
|
|
- fix license tag
|
|
|
|
|
2008-06-05 12:43:19 +00:00
|
|
|
* Thu Jun 5 2008 Tomas Mraz <tmraz@redhat.com> - 1.4-1
|
|
|
|
- updated to new upstream version
|
|
|
|
|
2008-02-13 12:56:03 +00:00
|
|
|
* Wed Feb 13 2008 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 1.3-1
|
|
|
|
- updated to 1.3 (#426488, #431334)
|
|
|
|
- use wrapper around libtasn1-config which should make it multilib
|
|
|
|
safe (#342411); this implies an untagged 'Requires: pkgconfig' for
|
|
|
|
-devel now
|
|
|
|
- conditionalized BR of valgrind (#401041)
|
|
|
|
|
2007-09-03 06:38:34 +00:00
|
|
|
* Mon Sep 3 2007 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 1.1-1
|
|
|
|
- updated to 1.1
|
2007-09-04 07:12:58 +00:00
|
|
|
- workaround 'make check' errors on ppc64
|
2007-09-03 06:38:34 +00:00
|
|
|
|
2007-06-14 18:34:09 +00:00
|
|
|
* Thu Jun 14 2007 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.3.10-1
|
|
|
|
- updated to 0.3.10
|
|
|
|
|
2007-03-02 18:07:33 +00:00
|
|
|
* Fri Mar 2 2007 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.3.9-1
|
|
|
|
- updated to 0.3.9
|
|
|
|
|
2007-02-03 15:48:46 +00:00
|
|
|
* Sat Feb 3 2007 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.3.8-1
|
|
|
|
- updated to 0.3.8
|
|
|
|
|
2006-11-05 19:08:42 +00:00
|
|
|
* Sun Nov 5 2006 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.3.6-1
|
|
|
|
- updated to 0.3.6
|
|
|
|
- BR valgrind
|
|
|
|
|
2006-09-15 17:45:37 +00:00
|
|
|
* Fri Sep 15 2006 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.3.5-1
|
|
|
|
- updated to 0.3.5
|
|
|
|
|
2006-06-03 12:32:52 +00:00
|
|
|
* Sat Jun 3 2006 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.3.4-1
|
|
|
|
- updated to 0.3.4
|
|
|
|
|
2006-03-26 16:38:34 +00:00
|
|
|
* Sun Mar 26 2006 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.3.2-1
|
|
|
|
- updated to 0.3.2
|
|
|
|
- added -tools subpackage
|
|
|
|
|
2006-03-08 18:20:57 +00:00
|
|
|
* Wed Mar 8 2006 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.3.1-1
|
|
|
|
- updated to 0.3.1
|
|
|
|
|
2006-03-06 11:22:49 +00:00
|
|
|
* Mon Mar 6 2006 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.3.0-1
|
|
|
|
- updated to 0.3.0
|
|
|
|
- removed unneeded curlies
|
|
|
|
- created -devel subpackage
|
|
|
|
|
2005-05-22 23:57:05 +00:00
|
|
|
* Sun May 22 2005 Jeremy Katz <katzj@redhat.com> - 0.2.6-3
|
|
|
|
- rebuild on all arches
|
|
|
|
|
2005-04-06 22:12:23 +00:00
|
|
|
* Fri Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
|
|
|
|
- rebuilt
|
|
|
|
|
2004-11-08 04:49:22 +00:00
|
|
|
* Tue Nov 18 2003 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0:0.2.6-0.fdr.1
|
|
|
|
- updated to 0.2.6
|
|
|
|
|
|
|
|
* Mon Aug 4 2003 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> 0:0.2.5-0.fdr.1
|
|
|
|
- updated to 0.2.5
|
|
|
|
- changed license to LGPL
|
|
|
|
- rearranged %%check to reflect execution order
|
|
|
|
- minor cosmetical changes
|
|
|
|
|
|
|
|
* Tue Jun 10 2003 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> 0:0.2.4-0.fdr.1
|
|
|
|
- Initial build.
|