Репозитории ALT
S: | 0.6.6-alt1_15 |
5.1: | 0.6.6-alt1 |
4.1: | 0.6.6-alt1 |
4.0: | 0.6.4-alt1 |
Группа :: Система/Библиотеки
Пакет: opencdk
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Name: opencdk
Version: 0.6.4
Release: alt1
%def_disable static
%def_enable check
Packager: Pavlov Konstantin <thresh at altlinux.ru>
Summary: Open Crypto Development Kit
Group: System/Libraries
License: GPL
Url: http://www.gnutls.org/
%define pkgdocdir %_docdir/%name-%version
%define gcrypt_ver 1.1.94
Source: ftp://ftp.gnupg.org/gcrypt/alpha/gnutls/%name/%name-%version.tar.bz2
BuildRequires: libgcrypt-devel >= %gcrypt_ver
BuildRequires: libgpg-error-devel zlib-devel
%description
This library provides basic parts of the OpenPGP message format.
%package -n lib%name
Summary: Open Crypto Development Kit shared library
Group: System/Libraries
Requires: libgcrypt >= %gcrypt_ver
%description -n lib%name
This library provides basic parts of the OpenPGP message format.
%package -n lib%name-devel
Summary: Development files for OpenCDK
Group: Development/C
Requires: lib%name = %version-%release
%description -n lib%name-devel
Headers and other files needed to develop applications using
the OpenCDK library.
%package -n lib%name-devel-static
Summary: Static build of OpenCDK
Group: Development/C
Requires: lib%name-devel = %version-%release
%description -n lib%name-devel-static
Static build of the OpenCDK library.
%prep
%setup -q
%build
%__autoreconf
%configure --disable-dependency-tracking %{subst_enable static}
%make_build
%if_enabled check
%make check
%endif
%install
%make_install DESTDIR=%buildroot install
## GnuTLS used to need this
#__mkdir_p %buildroot%_datadir/aclocal
#__install -p -m644 src/opencdk.m4 %buildroot%_datadir/aclocal/
install -d -m755 %buildroot%pkgdocdir
install -p -m644 AUTHORS ChangeLog NEWS README THANKS TODO \
%buildroot%pkgdocdir/
ln -s %_licensedir/GPL-2 %buildroot%pkgdocdir/COPYING
install -p -m644 doc/*.html %buildroot%pkgdocdir/
%post -p %post_ldconfig
%postun -p %postun_ldconfig
%files -n lib%name
%_libdir/*.so.*
%dir %pkgdocdir
%pkgdocdir/[A-Z]*
%files -n lib%name-devel
%_bindir/*-config
%_libdir/*.so
%_includedir/*
#_datadir/aclocal/*
%pkgdocdir/*.html
%if_enabled static
%files -n lib%name-devel-static
%_libdir/*.a
%endif # enabled static
%changelog
…
Полный changelog можно просмотреть здесь
Version: 0.6.4
Release: alt1
%def_disable static
%def_enable check
Packager: Pavlov Konstantin <thresh at altlinux.ru>
Summary: Open Crypto Development Kit
Group: System/Libraries
License: GPL
Url: http://www.gnutls.org/
%define pkgdocdir %_docdir/%name-%version
%define gcrypt_ver 1.1.94
Source: ftp://ftp.gnupg.org/gcrypt/alpha/gnutls/%name/%name-%version.tar.bz2
BuildRequires: libgcrypt-devel >= %gcrypt_ver
BuildRequires: libgpg-error-devel zlib-devel
%description
This library provides basic parts of the OpenPGP message format.
%package -n lib%name
Summary: Open Crypto Development Kit shared library
Group: System/Libraries
Requires: libgcrypt >= %gcrypt_ver
%description -n lib%name
This library provides basic parts of the OpenPGP message format.
%package -n lib%name-devel
Summary: Development files for OpenCDK
Group: Development/C
Requires: lib%name = %version-%release
%description -n lib%name-devel
Headers and other files needed to develop applications using
the OpenCDK library.
%package -n lib%name-devel-static
Summary: Static build of OpenCDK
Group: Development/C
Requires: lib%name-devel = %version-%release
%description -n lib%name-devel-static
Static build of the OpenCDK library.
%prep
%setup -q
%build
%__autoreconf
%configure --disable-dependency-tracking %{subst_enable static}
%make_build
%if_enabled check
%make check
%endif
%install
%make_install DESTDIR=%buildroot install
## GnuTLS used to need this
#__mkdir_p %buildroot%_datadir/aclocal
#__install -p -m644 src/opencdk.m4 %buildroot%_datadir/aclocal/
install -d -m755 %buildroot%pkgdocdir
install -p -m644 AUTHORS ChangeLog NEWS README THANKS TODO \
%buildroot%pkgdocdir/
ln -s %_licensedir/GPL-2 %buildroot%pkgdocdir/COPYING
install -p -m644 doc/*.html %buildroot%pkgdocdir/
%post -p %post_ldconfig
%postun -p %postun_ldconfig
%files -n lib%name
%_libdir/*.so.*
%dir %pkgdocdir
%pkgdocdir/[A-Z]*
%files -n lib%name-devel
%_bindir/*-config
%_libdir/*.so
%_includedir/*
#_datadir/aclocal/*
%pkgdocdir/*.html
%if_enabled static
%files -n lib%name-devel-static
%_libdir/*.a
%endif # enabled static
%changelog
…
Полный changelog можно просмотреть здесь