libaesgm-vl.spec 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. Name: libaesgm
  2. Version: 20090429
  3. Release: 1%{?_dist_release}
  4. License: BSD
  5. Summary: Library implementation of AES (Rijndael) cryptographic methods
  6. URL: http://gladman.plushost.co.uk/oldsite/AES/index.php
  7. Source0: http://gladman.plushost.co.uk/oldsite/AES/aes-src-29-04-09.zip
  8. Source1: Makefile.aes
  9. # Add fileencryption support
  10. # http://www.gladman.me.uk/cryptography_technology/fileencrypt/
  11. Patch0: libaesgm-20090429-fileencrypt.patch
  12. Group: System Environment/Libraries
  13. BuildRequires: unzip
  14. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  15. %description
  16. Library implementation of AES (Rijndael) cryptographic methods.
  17. %package devel
  18. Summary: Development files for libaesgm
  19. Group: Development/Libraries
  20. Requires: %{name} = %{version}-%{release}
  21. %description devel
  22. Development headers and libraries for libaesgm.
  23. %prep
  24. %setup -q -c -n %{name}-%{version}
  25. cp %{SOURCE1} Makefile
  26. %patch0 -p1 -b .fileencrypt
  27. sed -i 's/\r//' *.txt
  28. %build
  29. %{__make} CFLAGS="%{optflags} -fPIC -DUSE_SHA1"
  30. %install
  31. %{__make} DESTDIR=$RPM_BUILD_ROOT LIBDIR=%{_libdir} install
  32. %clean
  33. rm -rf $RPM_BUILD_ROOT
  34. %post -p /sbin/ldconfig
  35. %postun -p /sbin/ldconfig
  36. %files
  37. %defattr(-,root,root,-)
  38. %doc *.txt
  39. %{_libdir}/libaesgm.so.*
  40. %files devel
  41. %defattr(-,root,root,-)
  42. %{_includedir}/aes/
  43. %{_libdir}/libaesgm.so
  44. %changelog
  45. * Wed Mar 16 2011 Kazutaka HARADA <kazutaka@vinelinux.org> 20090429-1
  46. - initial build for Vine Linux based of fedora development
  47. * Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20090429-4
  48. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  49. * Mon May 24 2010 Tom "spot" Callaway <tcallawa@redhat.com> 20090429-3
  50. - add fileencrypt support
  51. * Mon Feb 22 2010 Tom "spot" Callaway <tcallawa@redhat.com> 20090429-2
  52. - use sane versioning to ensure proper upgrade ordering without epoch
  53. - fix Makefile.aes to not use double-zero in soname, don't make double zero symlink
  54. - add default clean section
  55. - put headers in /aes/ namespace dir
  56. * Thu Feb 18 2010 Tom "spot" Callaway <tcallawa@redhat.com> 290409-1
  57. - initial Fedora package