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 | |
---|
14 | BuildRequires: unzip |
---|
15 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
16 | |
---|
17 | %description |
---|
18 | Library implementation of AES (Rijndael) cryptographic methods. |
---|
19 | |
---|
20 | %package devel |
---|
21 | Summary: Development files for libaesgm |
---|
22 | Group: Development/Libraries |
---|
23 | Requires: %{name} = %{version}-%{release} |
---|
24 | |
---|
25 | %description devel |
---|
26 | Development headers and libraries for libaesgm. |
---|
27 | |
---|
28 | %prep |
---|
29 | %setup -q -c -n %{name}-%{version} |
---|
30 | cp %{SOURCE1} Makefile |
---|
31 | %patch0 -p1 -b .fileencrypt |
---|
32 | sed -i 's/\r//' *.txt |
---|
33 | |
---|
34 | %build |
---|
35 | %{__make} CFLAGS="%{optflags} -fPIC -DUSE_SHA1" |
---|
36 | |
---|
37 | %install |
---|
38 | %{__make} DESTDIR=$RPM_BUILD_ROOT LIBDIR=%{_libdir} install |
---|
39 | |
---|
40 | %clean |
---|
41 | rm -rf $RPM_BUILD_ROOT |
---|
42 | |
---|
43 | %post -p /sbin/ldconfig |
---|
44 | |
---|
45 | %postun -p /sbin/ldconfig |
---|
46 | |
---|
47 | %files |
---|
48 | %defattr(-,root,root,-) |
---|
49 | %doc *.txt |
---|
50 | %{_libdir}/libaesgm.so.* |
---|
51 | |
---|
52 | %files devel |
---|
53 | %defattr(-,root,root,-) |
---|
54 | %{_includedir}/aes/ |
---|
55 | %{_libdir}/libaesgm.so |
---|
56 | |
---|
57 | %changelog |
---|
58 | * Wed Mar 16 2011 Kazutaka HARADA <kazutaka@vinelinux.org> 20090429-1 |
---|
59 | - initial build for Vine Linux based of fedora development |
---|
60 | |
---|
61 | * Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20090429-4 |
---|
62 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
---|
63 | |
---|
64 | * Mon May 24 2010 Tom "spot" Callaway <tcallawa@redhat.com> 20090429-3 |
---|
65 | - add fileencrypt support |
---|
66 | |
---|
67 | * Mon Feb 22 2010 Tom "spot" Callaway <tcallawa@redhat.com> 20090429-2 |
---|
68 | - use sane versioning to ensure proper upgrade ordering without epoch |
---|
69 | - fix Makefile.aes to not use double-zero in soname, don't make double zero symlink |
---|
70 | - add default clean section |
---|
71 | - put headers in /aes/ namespace dir |
---|
72 | |
---|
73 | * Thu Feb 18 2010 Tom "spot" Callaway <tcallawa@redhat.com> 290409-1 |
---|
74 | - initial Fedora package |
---|