9397
|
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 |
# Owner: jefftsai
|
|
11 |
#
|
|
12 |
%include Solaris.inc
|
9632
|
13 |
|
|
14 |
%ifarch amd64 sparcv9
|
|
15 |
%include arch64.inc
|
|
16 |
%use libgcrypt64 = libgcrypt.spec
|
|
17 |
%endif
|
|
18 |
|
|
19 |
%include base.inc
|
9397
|
20 |
%use libgcrypt = libgcrypt.spec
|
|
21 |
|
|
22 |
Name: SUNWlibgcrypt
|
|
23 |
Summary: libgcrypt - cryptographic library
|
|
24 |
Version: %{libgcrypt.version}
|
|
25 |
SUNW_BaseDir: %{_basedir}
|
11931
|
26 |
SUNW_Copyright:%{name}.copyright
|
9397
|
27 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
28 |
%include default-depend.inc
|
|
29 |
Requires: SUNWlibgpg-error
|
|
30 |
BuildRequires: SUNWlibgpg-error-devel
|
|
31 |
|
|
32 |
%package devel
|
|
33 |
Summary: %{summary} - development files
|
|
34 |
SUNW_BaseDir: %{_basedir}
|
|
35 |
%include default-depend.inc
|
|
36 |
Requires: SUNWlibgcrypt
|
|
37 |
|
|
38 |
%prep
|
|
39 |
rm -rf %name-%version
|
|
40 |
mkdir -p %name-%version
|
9632
|
41 |
%ifarch amd64 sparcv9
|
|
42 |
mkdir -p %name-%version/%_arch64
|
|
43 |
%libgcrypt64.prep -d %name-%version/%_arch64
|
|
44 |
%endif
|
|
45 |
|
|
46 |
mkdir -p %name-%version/%base_arch
|
|
47 |
%libgcrypt.prep -d %name-%version/%base_arch
|
9397
|
48 |
|
|
49 |
%build
|
9632
|
50 |
%ifarch amd64 sparcv9
|
|
51 |
%libgcrypt64.build -d %name-%version/%_arch64
|
|
52 |
%endif
|
|
53 |
|
|
54 |
%libgcrypt.build -d %name-%version/%base_arch
|
9397
|
55 |
|
|
56 |
%install
|
9632
|
57 |
rm -rf $RPM_BUILD_ROOT
|
|
58 |
%ifarch amd64 sparcv9
|
|
59 |
%libgcrypt64.install -d %name-%version/%_arch64
|
|
60 |
#rm -rf $RPM_BUILD_ROOT%{_bindir}/%_arch64
|
|
61 |
%endif
|
|
62 |
|
|
63 |
%libgcrypt.install -d %name-%version/%base_arch
|
9397
|
64 |
rm -rf $RPM_BUILD_ROOT%{_datadir}/info
|
|
65 |
|
|
66 |
%{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):%{support_level}" $RPM_BUILD_ROOT}
|
|
67 |
|
|
68 |
%clean
|
|
69 |
rm -rf $RPM_BUILD_ROOT
|
|
70 |
|
|
71 |
%files
|
|
72 |
%defattr (-, root, bin)
|
|
73 |
%dir %attr (0755, root, bin) %{_libdir}
|
|
74 |
%{_libdir}/lib*.so*
|
9632
|
75 |
%ifarch amd64 sparcv9
|
|
76 |
%{_libdir}/%{_arch64}
|
|
77 |
%endif
|
9397
|
78 |
|
|
79 |
%files devel
|
|
80 |
%defattr (-, root, bin)
|
|
81 |
%dir %attr (0755, root, bin) %{_bindir}
|
|
82 |
%{_bindir}/*
|
|
83 |
%dir %attr (0755, root, bin) %{_includedir}
|
|
84 |
%{_includedir}/*
|
|
85 |
%dir %attr (0755, root, sys) %{_datadir}
|
|
86 |
%dir %attr (0755, root, other) %{_datadir}/aclocal
|
|
87 |
%{_datadir}/aclocal/*
|
|
88 |
|
|
89 |
%changelog
|
9632
|
90 |
* Tue Mar 27 2007 - [email protected]
|
|
91 |
- enable 64-bit build
|
9397
|
92 |
* Thu May 04 2006 - [email protected]
|
|
93 |
- merge -share pkg(s) into the base pkg(s)
|
|
94 |
* Thu Apr 06 2006 - [email protected]
|
|
95 |
- Move -config file to -devel.
|
|
96 |
* Tue Apr 04 2006 - [email protected]
|
|
97 |
- Alter remove .a/.la files part into linux spec.
|
|
98 |
* Thu Mar 30 2006 - [email protected]
|
|
99 |
- Remove all *.a/*.la files.
|
|
100 |
* Fri Sep 09 2005 - <[email protected]>
|
|
101 |
- remove unpackaged files
|
|
102 |
* Wed Sep 07 2005 - [email protected]
|
|
103 |
- Add Build/Requires SUNWlibgpg-error/-devel.
|
|
104 |
* Wed Aug 31 2005 - [email protected]
|
|
105 |
- Change SUNW_Category for open solaris
|
|
106 |
* Sat Oct 02 2004 - [email protected]
|
|
107 |
- added %pkgbuild_postprocess
|
|
108 |
* Fri Sep 10 2004 - [email protected]
|
|
109 |
- Added Requires: SUNWlibcrypt for devel package
|
|
110 |
* Mon Aug 30 2004 - [email protected]
|
|
111 |
- Bug 5091588 : include files should be in a separate devel package
|
|
112 |
* Sat Jun 26 2004 [email protected]
|
|
113 |
- Changed install location to /usr/...
|
|
114 |
* Thu Mar 11 2004 - <[email protected]>
|
|
115 |
- initial version created
|