58 lines
1.3 KiB
RPMSpec
58 lines
1.3 KiB
RPMSpec
Name: libaesgm
|
|
Version: 20090429
|
|
Release: 23
|
|
License: BSD
|
|
Summary: Encryption method AES (Rijndael) library implementation.
|
|
URL: http://brg.a2hosted.com//oldsite/cryptography_technology/index.php
|
|
Source0: https://github.com/BrianGladman/aes/archive/d05d6f0.zip
|
|
Source1: Makefile.aes
|
|
|
|
Patch0000: libaesgm-20090429-fileencrypt.patch
|
|
|
|
BuildRequires: make gcc
|
|
|
|
%description
|
|
Encryption method AES (Rijndael) library implementation.
|
|
|
|
%package devel
|
|
Summary: libaesgm development files
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
%description devel
|
|
Libaesgm-devel - Development files for libaesgm
|
|
|
|
%prep
|
|
%setup -q -n aes-d05d6f02c15ece6e322988c44ca96061741ae264
|
|
cp %{SOURCE1} Makefile
|
|
%patch0 -p1
|
|
|
|
%build
|
|
%make_build CFLAGS="%{optflags} -fPIC -DUSE_SHA1" LDFLAGS="%{build_ldflags}"
|
|
|
|
%install
|
|
%make_install LIBDIR="%{_libdir}"
|
|
|
|
%post
|
|
/sbin/ldconfig
|
|
|
|
%postun
|
|
/sbin/ldconfig
|
|
|
|
%files
|
|
%doc *.txt
|
|
%{_libdir}/libaesgm.so.*
|
|
|
|
%files devel
|
|
%{_includedir}/aes/
|
|
%{_libdir}/libaesgm.so
|
|
|
|
%changelog
|
|
* Mon Nov 21 2022 liyanan <liyanan32@h-partners.com> - 20090429-23
|
|
- Change source
|
|
|
|
* Thu Jun 03 2021 wulei <wulei80@huawei.com> - 20090429-22
|
|
- fixes failed: cc: No such file or directory
|
|
|
|
* Fri Feb 21 2020 catastrowings <jianghuhao1994@163.com> - 20090429-21
|
|
- initial package
|