libaesgm-vl.spec 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. Name: libaesgm
  2. Version: 20090429
  3. Release: 2%{?_dist_release}
  4. Summary: Library implementation of AES (Rijndael) cryptographic methods
  5. License: BSD
  6. Group: System Environment/Libraries
  7. URL: http://gladman.plushost.co.uk/oldsite/AES/index.php
  8. Source0: http://gladman.plushost.co.uk/oldsite/AES/aes-src-29-04-09.zip
  9. Source1: Makefile.aes
  10. # Add fileencryption support
  11. # http://www.gladman.me.uk/cryptography_technology/fileencrypt/
  12. Patch0: libaesgm-20090429-fileencrypt.patch
  13. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  14. BuildRequires: unzip
  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. * Thu Jan 29 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 20090429-2
  46. - rebuilt on current VineSeed
  47. * Wed Mar 16 2011 Kazutaka HARADA <kazutaka@vinelinux.org> 20090429-1
  48. - initial build for Vine Linux based of fedora development
  49. * Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20090429-4
  50. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  51. * Mon May 24 2010 Tom "spot" Callaway <tcallawa@redhat.com> 20090429-3
  52. - add fileencrypt support
  53. * Mon Feb 22 2010 Tom "spot" Callaway <tcallawa@redhat.com> 20090429-2
  54. - use sane versioning to ensure proper upgrade ordering without epoch
  55. - fix Makefile.aes to not use double-zero in soname, don't make double zero symlink
  56. - add default clean section
  57. - put headers in /aes/ namespace dir
  58. * Thu Feb 18 2010 Tom "spot" Callaway <tcallawa@redhat.com> 290409-1
  59. - initial Fedora package