Группа :: Система/Библиотеки
Пакет: libaesgm
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
# BEGIN SourceDeps(oneline):
BuildRequires(pre): rpm-macros-fedora-compat
BuildRequires: unzip
# END SourceDeps(oneline)
Group: System/Libraries
%add_optflags %optflags_shared
# see https://bugzilla.altlinux.org/show_bug.cgi?id=10382
%define _localstatedir %{_var}
Name: libaesgm
Version: 20090429
Release: alt2_24
License: BSD
Summary: Library implementation of AES (Rijndael) cryptographic methods
URL: http://gladman.plushost.co.uk/oldsite/AES/index.php
Source0: http://gladman.plushost.co.uk/oldsite/AES/aes-src-29-04-09.zip
Source1: Makefile.aes
# Add fileencryption support
# http://www.gladman.me.uk/cryptography_technology/fileencrypt/
Patch0: libaesgm-20090429-fileencrypt.patch
# Sync to latest code
# https://github.com/BrianGladman/AES
Patch1: libaesgm-20090429-git8798ad829374cd5ff312f55ba3ccccfcf586fa11.patch
BuildRequires: gcc
Source44: import.info
%description
Library implementation of AES (Rijndael) cryptographic methods.
%package devel
Group: Development/Other
Summary: Development files for libaesgm
Requires: %{name} = %{version}-%{release}
%description devel
Development headers and libraries for libaesgm.
%prep
%setup -q -c -n %{name}-%{version}
cp %{SOURCE1} Makefile
%patch0 -p1 -b .fileencrypt
%patch1 -p1 -b .git8798ad82
sed -i 's/\r//' *.txt
%build
make CFLAGS="%{optflags} -fPIC -DUSE_SHA1" LDFLAGS="%{build_ldflags}"
%install
make DESTDIR="%{buildroot}" LIBDIR="%{_libdir}" install
%files
%doc *.txt
%{_libdir}/libaesgm.so.*
%files devel
%{_includedir}/aes/
%{_libdir}/libaesgm.so
%changelog
…
Полный changelog можно просмотреть здесь
BuildRequires(pre): rpm-macros-fedora-compat
BuildRequires: unzip
# END SourceDeps(oneline)
Group: System/Libraries
%add_optflags %optflags_shared
# see https://bugzilla.altlinux.org/show_bug.cgi?id=10382
%define _localstatedir %{_var}
Name: libaesgm
Version: 20090429
Release: alt2_24
License: BSD
Summary: Library implementation of AES (Rijndael) cryptographic methods
URL: http://gladman.plushost.co.uk/oldsite/AES/index.php
Source0: http://gladman.plushost.co.uk/oldsite/AES/aes-src-29-04-09.zip
Source1: Makefile.aes
# Add fileencryption support
# http://www.gladman.me.uk/cryptography_technology/fileencrypt/
Patch0: libaesgm-20090429-fileencrypt.patch
# Sync to latest code
# https://github.com/BrianGladman/AES
Patch1: libaesgm-20090429-git8798ad829374cd5ff312f55ba3ccccfcf586fa11.patch
BuildRequires: gcc
Source44: import.info
%description
Library implementation of AES (Rijndael) cryptographic methods.
%package devel
Group: Development/Other
Summary: Development files for libaesgm
Requires: %{name} = %{version}-%{release}
%description devel
Development headers and libraries for libaesgm.
%prep
%setup -q -c -n %{name}-%{version}
cp %{SOURCE1} Makefile
%patch0 -p1 -b .fileencrypt
%patch1 -p1 -b .git8798ad82
sed -i 's/\r//' *.txt
%build
make CFLAGS="%{optflags} -fPIC -DUSE_SHA1" LDFLAGS="%{build_ldflags}"
%install
make DESTDIR="%{buildroot}" LIBDIR="%{_libdir}" install
%files
%doc *.txt
%{_libdir}/libaesgm.so.*
%files devel
%{_includedir}/aes/
%{_libdir}/libaesgm.so
%changelog
…
Полный changelog можно просмотреть здесь