2420
|
1 |
#
|
|
2 |
# spec file for package SUNWlibgcrypt
|
|
3 |
#
|
|
4 |
# includes module(s): libgcrypt
|
|
5 |
#
|
|
6 |
# Copyright (c) 2004 Sun Microsystems, Inc.
|
|
7 |
# This file and all modifications and additions to the pristine
|
|
8 |
# package are under the same license as the package itself.
|
|
9 |
#
|
|
10 |
|
|
11 |
%include Solaris.inc
|
|
12 |
%define run_ldconfig /bin/true
|
|
13 |
%use libgcrypt = libgcrypt.spec
|
|
14 |
|
|
15 |
Name: SUNWlibgcrypt
|
|
16 |
Summary: Libgcrypt - Cryptographic Library
|
|
17 |
Version: %{libgcrypt.version}
|
|
18 |
SUNW_BaseDir: %{_prefix}
|
|
19 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
20 |
%include default-depend.inc
|
|
21 |
|
|
22 |
%prep
|
|
23 |
rm -rf %name-%version
|
|
24 |
mkdir -p %name-%version
|
|
25 |
%libgcrypt.prep -d %name-%version
|
|
26 |
|
|
27 |
%build
|
|
28 |
export LDFLAGS="-L%{_libdir} -R%{_libdir}"
|
|
29 |
export CFLAGS="%optflags"
|
|
30 |
export MSGFMT="/usr/bin/msgfmt"
|
|
31 |
%libgcrypt.build -d %name-%version
|
|
32 |
|
|
33 |
%install
|
|
34 |
%libgcrypt.install -d %name-%version
|
|
35 |
|
|
36 |
%clean
|
|
37 |
rm -rf $RPM_BUILD_ROOT
|
|
38 |
|
|
39 |
%files
|
|
40 |
%defattr (0755, root, other)
|
|
41 |
%dir %attr (0755, root, bin) %{_bindir}
|
|
42 |
%{_bindir}/*
|
|
43 |
%dir %attr (0755, root, bin) %{_libdir}
|
|
44 |
%{_libdir}/lib*.so*
|
|
45 |
%dir %attr (0755, root, bin) %{_includedir}
|
|
46 |
%{_includedir}/*
|
|
47 |
|
|
48 |
%changelog
|
|
49 |
* Thu Mar 11 2004 - <[email protected]>
|
|
50 |
- initial version created
|