]> git.pld-linux.org Git - packages/beecrypt.git/blob - beecrypt.spec
- massive attack: source-md5
[packages/beecrypt.git] / beecrypt.spec
1 #
2 # Conditional build:
3 # _with_javaglue
4 #
5 %define         snap 20030516
6 Summary:        The BeeCrypt Cryptography Library
7 Summary(pl):    Biblioteka kryptograficzna BeeCrypt
8 Name:           beecrypt
9 Version:        3.0.0
10 Release:        0.%{snap}.1
11 Epoch:          2
12 License:        LGPL
13 Group:          Libraries
14 Source0:        http://dl.sf.net/%{name}/%{name}-%{version}pre.%{snap}.tar.gz
15 # Source0-md5:  5f7fdcb0616c8c49aaa1a9de45f43778
16 Patch0:         %{name}-from_rpm.patch
17 Patch1:         %{name}-opt.patch
18 URL:            http://sourceforge.net/projects/beecrypt/
19 BuildRequires:  autoconf
20 BuildRequires:  automake
21 BuildRequires:  libtool
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %description
25 BeeCrypt is an open source cryptography library that contains highly
26 optimized C and assembler implementations of many well-known
27 algorithms including Blowfish, MD5, SHA-1, Diffie-Hellman, and
28 ElGamal.
29
30 %description -l pl
31 BeeCrypt jest open sourcow± bibliotek±, która zawiera wysoko
32 zoptymailzowane funkcje w C oraz assemblerze wielu algorytmów
33 szyfrowania m.in.: Blowfish, MD5, SHA-1, Diffie-Hellman oraz ElGamal.
34
35 %package devel
36 Summary:        The BeeCrypt Cryptography Library - development files
37 Summary(pl):    Pliki dla programistów u¿ywaj±cych biblioteki BeeCrypt
38 Group:          Development/Libraries
39 Requires:       %{name} = %{version}
40
41 %description devel
42 The BeeCrypt Cryptography Library - development files.
43
44 %description devel -l pl
45 Biblioteka kryptograficzna BeeCrypt - pliki dla programistów.
46
47 %package static
48 Summary:        The BeeCrypt Cryptography Library - static library
49 Summary(pl):    Biblioteka statyczna BeeCrypt
50 Group:          Development/Libraries
51 Requires:       %{name}-devel = %{version}
52
53 %description static
54 The BeeCrypt Cryptography Library - static library.
55
56 %description static -l pl
57 Biblioteka statyczna BeeCrypt.
58
59 %prep
60 %setup  -q -n %{name}-%{version}pre
61 %patch0 -p1
62 %patch1 -p1
63
64 %build
65 rm -f missing
66 %{__libtoolize}
67 %{__aclocal}
68 %{__autoconf}
69 %{__autoheader}
70 %{__automake}
71 %configure \
72         --with%{?!_with_javaglue:out}-javaglue \
73         --with-cpu=%{_target_cpu} \
74         --with-arch=%{_target_cpu}
75 %{__make}
76
77 %install
78 rm -rf $RPM_BUILD_ROOT
79
80 %{__make} install DESTDIR=$RPM_BUILD_ROOT
81
82 %clean
83 rm -rf $RPM_BUILD_ROOT
84
85 %post   -p /sbin/ldconfig
86 %postun -p /sbin/ldconfig
87
88 %files
89 %defattr(644,root,root,755)
90 %doc AUTHORS BENCHMARKS BUGS CONTRIBUTORS NEWS README
91 %attr(755,root,root) %{_libdir}/lib*.so.*.*
92
93 %files devel
94 %defattr(644,root,root,755)
95 %{_libdir}/lib*.so
96 %{_libdir}/lib*.la
97 %{_includedir}/*
98
99 %files static
100 %defattr(644,root,root,755)
101 %{_libdir}/lib*.a
This page took 0.090701 seconds and 3 git commands to generate.