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