/[packages]/cauldron/sodium/current/SPECS/sodium.spec
ViewVC logotype

Contents of /cauldron/sodium/current/SPECS/sodium.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1146641 - (show annotations) (download)
Thu Aug 24 01:02:01 2017 UTC (6 years, 7 months ago) by ovitters
File size: 2263 byte(s)
SILENT restrict what libraries are matched with major numbers
1 %define majornum 18
2 %define srcname lib%{name}
3 %define libname %mklibname %{name} %{majornum}
4 %define develname %mklibname %{name} -d
5
6 Name: sodium
7 Version: 1.0.12
8 Release: %mkrel 1
9 Summary: A software library for encryption, decryption and more
10 License: ISC License
11 Group: Security
12
13 URL: https://github.com/jedisct1/libsodium
14 Source0: %{srcname}-%{version}.tar.gz
15
16 BuildRequires: sed
17 BuildRequires: grep
18 BuildRequires: gawk
19
20
21 %description
22 Sodium is a new, easy-to-use software library for encryption,
23 decryption, signatures, password hashing and more. It is a portable,
24 cross-compilable, installable fork of NaCl, with a compatible API, and
25 an extended API to improve usability even further. Its goal is to
26 provide all of the core operations needed to build higher-level
27 cryptography tools.
28
29
30
31 %package -n %{libname}
32 License: ISC License
33 Summary: The sodium library
34 Group: System/Libraries
35 Provides: %{name} = %{version}-%{release}
36
37 %description -n %{libname}
38 Sodium is a new, easy-to-use software library for encryption,
39 decryption, signatures, password hashing and more. It is a portable,
40 cross-compilable, installable fork of NaCl, with a compatible API, and
41 an extended API to improve usability even further. Its goal is to
42 provide all of the core operations needed to build higher-level
43 cryptography tools.
44
45
46 %package -n %{develname}
47 License: ISC License
48 Summary: Headers and development files for the sodium library
49 Group: Development/Other
50 Provides: %{name}-devel = %{version}-%{release}
51 Provides: lib%{name}-devel = %{version}-%{release}
52 Requires: %{libname} = %{version}-%{release}
53
54 %description -n %{develname}
55 %{summary}.
56
57
58 %prep
59
60 %setup -q -n %{srcname}-%{version}
61
62 %build
63 %configure2_5x --enable-static=no
64
65 %install
66 %makeinstall
67
68 find %{buildroot}%{_libdir} -name *.la -delete
69 find %{buildroot}%{_libdir} -name *.a -delete
70
71 %files -n %{libname}
72 %doc AUTHORS README.markdown THANKS LICENSE
73 %{_libdir}/libsodium.so.%{majornum}{,.*}
74
75 %files -n %{develname}
76 %doc ChangeLog
77 %{_libdir}/libsodium.so
78 %{_libdir}/pkgconfig/*.pc
79 %{_includedir}/sodium.h
80 %{_includedir}/sodium
81

  ViewVC Help
Powered by ViewVC 1.1.30