9397
|
1 |
#
|
|
2 |
# spec file for package SUNWlibgpg-error
|
|
3 |
#
|
|
4 |
# includes module(s): libgpg-error
|
|
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 |
%ifarch amd64 sparcv9
|
|
14 |
%include arch64.inc
|
|
15 |
%use libgpgerror64 = libgpg-error.spec
|
|
16 |
%endif
|
|
17 |
|
|
18 |
%include base.inc
|
9397
|
19 |
%use libgpgerror = libgpg-error.spec
|
|
20 |
|
|
21 |
Name: SUNWlibgpg-error
|
|
22 |
Summary: Common error codes for GnuPG, libgcrypt
|
|
23 |
Version: %{libgpgerror.version}
|
|
24 |
SUNW_BaseDir: %{_basedir}
|
11949
|
25 |
SUNW_Copyright:%{name}.copyright
|
9397
|
26 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
27 |
%include default-depend.inc
|
10627
|
28 |
Requires: SUNWgnome-base-libs
|
|
29 |
BuildRequires: SUNWgnome-base-libs-devel
|
9397
|
30 |
|
|
31 |
%package devel
|
|
32 |
Summary: %{summary} - development files
|
|
33 |
SUNW_BaseDir: %{_basedir}
|
|
34 |
%include default-depend.inc
|
|
35 |
Requires: %{name}
|
|
36 |
|
10588
|
37 |
%if %option_with_l10n
|
|
38 |
%package l10n
|
|
39 |
Summary: %{summary} - l10n files
|
|
40 |
SUNW_BaseDir: %{_basedir}
|
|
41 |
%include default-depend.inc
|
|
42 |
Requires: %{name}
|
|
43 |
%endif
|
|
44 |
|
9397
|
45 |
%prep
|
|
46 |
rm -rf %name-%version
|
|
47 |
mkdir -p %name-%version
|
9632
|
48 |
%ifarch amd64 sparcv9
|
|
49 |
mkdir -p %name-%version/%_arch64
|
|
50 |
%libgpgerror64.prep -d %name-%version/%_arch64
|
|
51 |
%endif
|
|
52 |
|
|
53 |
mkdir -p %name-%version/%base_arch
|
|
54 |
%libgpgerror.prep -d %name-%version/%base_arch
|
9397
|
55 |
|
|
56 |
%build
|
9632
|
57 |
%ifarch amd64 sparcv9
|
|
58 |
%libgpgerror64.build -d %name-%version/%_arch64
|
|
59 |
%endif
|
|
60 |
|
|
61 |
%libgpgerror.build -d %name-%version/%base_arch
|
9397
|
62 |
|
|
63 |
%install
|
9632
|
64 |
rm -rf $RPM_BUILD_ROOT
|
|
65 |
%ifarch amd64 sparcv9
|
|
66 |
%libgpgerror64.install -d %name-%version/%_arch64
|
|
67 |
#remove this file because SUNWgnome-base-libs deliver same file
|
|
68 |
rm -f $RPM_BUILD_ROOT%{_libdir}/%_arch64/charset.alias
|
|
69 |
%endif
|
|
70 |
|
|
71 |
%libgpgerror.install -d %name-%version/%base_arch
|
9397
|
72 |
|
|
73 |
#remove this file because SUNWgnome-base-libs deliver same file
|
9573
|
74 |
rm -f $RPM_BUILD_ROOT%{_libdir}/charset.alias
|
9397
|
75 |
|
10588
|
76 |
%if %option_with_l10n
|
|
77 |
%else
|
|
78 |
# REMOVE l10n FILES
|
|
79 |
rm -rf $RPM_BUILD_ROOT%{_datadir}/locale
|
|
80 |
%endif
|
|
81 |
|
9397
|
82 |
%{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):%{support_level}" $RPM_BUILD_ROOT}
|
|
83 |
|
|
84 |
%clean
|
|
85 |
rm -rf $RPM_BUILD_ROOT
|
|
86 |
|
|
87 |
%files
|
|
88 |
%defattr (-, root, bin)
|
|
89 |
%dir %attr (0755, root, bin) %{_libdir}
|
|
90 |
%{_libdir}/lib*.so*
|
9632
|
91 |
%ifarch amd64 sparcv9
|
|
92 |
%{_libdir}/%{_arch64}/lib*.so*
|
|
93 |
%endif
|
9397
|
94 |
|
|
95 |
%files devel
|
|
96 |
%defattr (-, root, bin)
|
|
97 |
%dir %attr (0755, root, bin) %{_bindir}
|
|
98 |
%{_bindir}/*
|
|
99 |
%dir %attr (0755, root, bin) %{_includedir}
|
|
100 |
%{_includedir}/*
|
|
101 |
%dir %attr (0755, root, sys) %{_datadir}
|
|
102 |
%dir %attr (0755, root, other) %{_datadir}/aclocal
|
|
103 |
%{_datadir}/aclocal/*
|
9584
|
104 |
%{_datadir}/common-lisp
|
9397
|
105 |
|
10588
|
106 |
%if %option_with_l10n
|
|
107 |
%files l10n
|
|
108 |
%defattr (-, root, bin)
|
|
109 |
%dir %attr (0755, root, sys) %{_datadir}
|
|
110 |
%attr (-, root, other) %{_datadir}/locale
|
|
111 |
%endif
|
|
112 |
|
9397
|
113 |
%changelog
|
10627
|
114 |
* Tue Oct 9 2007 - [email protected]
|
|
115 |
- Add Build/Requires SUNWgnome-base-libs/-devel for glib-gettextize.
|
10588
|
116 |
* Tue Oct 2 2007 - [email protected]
|
|
117 |
- add l10n subpkg
|
9632
|
118 |
* Tue Mar 27 2007 - [email protected]
|
|
119 |
- enable 64-bit build
|
9584
|
120 |
* Mon Jul 19 2007 - [email protected]
|
|
121 |
- Remove l10n package and update %files after libgpg-error bumped to 1.5.
|
9397
|
122 |
* Sat Jul 22 2006 - [email protected]
|
|
123 |
- Add l10n package.
|
|
124 |
* Thu May 11 2006 - [email protected]
|
|
125 |
- Change %defattr to (-, root, other).
|
|
126 |
* Thu May 04 2006 - [email protected]
|
|
127 |
- merge -share pkg(s) into the base pkg(s)
|
|
128 |
* Thu Apr 06 2006 - [email protected]
|
|
129 |
- Move -config file to -devel.
|
|
130 |
* Tue Apr 04 2006 - [email protected]
|
|
131 |
- Alter remove .a/.la files part into linux spec.
|
|
132 |
* Thu Mar 30 2006 - [email protected]
|
|
133 |
- Remove all *.a/*.la files.
|
|
134 |
* Fri Sep 09 2005 - <[email protected]>
|
|
135 |
- remove unpackaged files
|
|
136 |
* Wed Aug 31 2005 - [email protected]
|
|
137 |
- initial version created
|