- updated to 0.3.0
- removed unneeded curlies - created -devel subpackage
This commit is contained in:
parent
8c9b793c2a
commit
b6e2796eb9
@ -1,39 +1,60 @@
|
|||||||
|
## $Id$
|
||||||
|
|
||||||
|
%{!?release_func:%global release_func() %1%{?dist}}
|
||||||
|
|
||||||
Summary: This is the ASN.1 library used in GNUTLS
|
Summary: This is the ASN.1 library used in GNUTLS
|
||||||
Name: libtasn1
|
Name: libtasn1
|
||||||
Version: 0.2.6
|
Version: 0.3.0
|
||||||
Release: 3
|
Release: %release_func 1
|
||||||
|
|
||||||
License: LGPL
|
License: LGPL
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
URL: http://www.gnu.org/software/gnutls/download.html
|
URL: http://www.gnu.org/software/gnutls/download.html
|
||||||
Source0: ftp://ftp.gnutls.org/pub/gnutls/libtasn1/%{name}-%{version}.tar.gz
|
Source0: ftp://ftp.gnutls.org/pub/gnutls/libtasn1/%name-%version.tar.gz
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
|
Source1: ftp://ftp.gnutls.org/pub/gnutls/libtasn1/%name-%version.tar.gz.sig
|
||||||
Provides: %{name}-devel = %{version}-%{release}
|
BuildRoot: %_tmppath/%name-%version-%release-buildroot
|
||||||
BuildRequires: bison
|
BuildRequires: bison
|
||||||
|
|
||||||
|
|
||||||
|
%package devel
|
||||||
|
Summary: Files for development of applications which will use libtasn1
|
||||||
|
Group: Development/Libraries
|
||||||
|
Requires: %name = %version-%release
|
||||||
|
Requires(pre): automake pkgconfig
|
||||||
|
Requires(postun): automake pkgconfig
|
||||||
|
Requires(post): /sbin/install-info
|
||||||
|
Requires(postun): /sbin/install-info
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This is the ASN.1 library used in GNUTLS. More up to date information can
|
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
|
be found at http://www.gnu.org/software/gnutls and http://www.gnutls.org
|
||||||
|
|
||||||
|
%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
|
||||||
|
|
||||||
|
This packages contains files for development of applications which
|
||||||
|
will use libtasn1.
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure
|
%configure --disable-static
|
||||||
%{__make} %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf "$RPM_BUILD_ROOT"
|
rm -rf "$RPM_BUILD_ROOT"
|
||||||
%{__make} DESTDIR="$RPM_BUILD_ROOT" install
|
make DESTDIR="$RPM_BUILD_ROOT" install
|
||||||
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
|
|
||||||
|
rm -f $RPM_BUILD_ROOT{%_libdir/*.la,%_infodir/dir}
|
||||||
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%{__make} check
|
%__make check
|
||||||
|
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
@ -44,16 +65,38 @@ rm -rf "$RPM_BUILD_ROOT"
|
|||||||
%postun -p /sbin/ldconfig
|
%postun -p /sbin/ldconfig
|
||||||
|
|
||||||
|
|
||||||
|
%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 || :
|
||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc doc/TODO doc/*.ps
|
%doc doc/TODO doc/*.pdf
|
||||||
%doc AUTHORS COPYING* ChangeLog NEWS README THANKS
|
%doc AUTHORS COPYING* ChangeLog NEWS README THANKS
|
||||||
%{_includedir}/*
|
%_libdir/*.so.*
|
||||||
%{_libdir}/*.a
|
|
||||||
%{_libdir}/*.so*
|
|
||||||
|
%files devel
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%_bindir/*-config
|
||||||
|
%_libdir/*.so
|
||||||
|
%_libdir/pkgconfig/*.pc
|
||||||
|
%_includedir/*
|
||||||
|
%_datadir/aclocal/libtasn1.m4
|
||||||
|
%_infodir/*.info.*
|
||||||
|
%_mandir/man3/*asn1*
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* 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
|
||||||
|
|
||||||
* Sun May 22 2005 Jeremy Katz <katzj@redhat.com> - 0.2.6-3
|
* Sun May 22 2005 Jeremy Katz <katzj@redhat.com> - 0.2.6-3
|
||||||
- rebuild on all arches
|
- rebuild on all arches
|
||||||
|
|
||||||
@ -71,7 +114,3 @@ rm -rf "$RPM_BUILD_ROOT"
|
|||||||
|
|
||||||
* Tue Jun 10 2003 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> 0:0.2.4-0.fdr.1
|
* Tue Jun 10 2003 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> 0:0.2.4-0.fdr.1
|
||||||
- Initial build.
|
- Initial build.
|
||||||
|
|
||||||
### Local Variables:
|
|
||||||
### compile-command: "cd .. && ./buildpkg libtasn1"
|
|
||||||
### End:
|
|
||||||
|
Loading…
Reference in New Issue
Block a user