9397
|
1 |
#
|
|
2 |
# spec file for package SUNWevolution-jescs
|
|
3 |
#
|
|
4 |
# includes module(s): evolution-jescs.spec
|
|
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 |
#
|
16434
|
10 |
%define owner jedy
|
9397
|
11 |
#
|
|
12 |
%include Solaris.inc
|
|
13 |
%use evojescs = evolution-jescs.spec
|
16576
|
14 |
%define evo_major_version 2.28
|
9397
|
15 |
%define evo_prefix /usr/lib/evolution
|
|
16 |
|
|
17 |
Name: SUNWevolution-jescs
|
9925
|
18 |
Summary: Evolution connector for Sun JES Calendar Server
|
9397
|
19 |
Version: %{default_pkg_version}
|
|
20 |
SUNW_Category: EVO25,%{default_category}
|
11969
|
21 |
SUNW_Copyright: %{name}.copyright
|
9397
|
22 |
SUNW_BaseDir: %{_basedir}
|
|
23 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
24 |
%include default-depend.inc
|
15650
|
25 |
Requires: SUNWlibglade
|
9397
|
26 |
Requires: SUNWevolution
|
|
27 |
Requires: SUNWjdsrm
|
|
28 |
Requires: SUNWevolution-data-server
|
11791
|
29 |
Requires: SUNWlibsoup
|
9397
|
30 |
Requires: SUNWgnome-component
|
|
31 |
Requires: SUNWgnome-config
|
|
32 |
Requires: SUNWgnome-libs
|
|
33 |
Requires: SUNWgnome-vfs
|
|
34 |
Requires: SUNWidnl
|
15557
|
35 |
Requires: SUNWdesktop-cache
|
15650
|
36 |
BuildRequires: SUNWlibglade-devel
|
9397
|
37 |
BuildRequires: SUNWevolution-data-server-devel
|
11791
|
38 |
BuildRequires: SUNWlibsoup-devel
|
9397
|
39 |
BuildRequires: SUNWgnome-component-devel
|
|
40 |
BuildRequires: SUNWgnome-config-devel
|
|
41 |
BuildRequires: SUNWgnome-libs-devel
|
|
42 |
BuildRequires: SUNWgnome-vfs-devel
|
|
43 |
|
|
44 |
%if %build_l10n
|
|
45 |
%package l10n
|
|
46 |
Summary: %{summary} - l10n files
|
|
47 |
SUNW_BaseDir: %{_basedir}
|
|
48 |
%include default-depend.inc
|
|
49 |
Requires: %{name}
|
|
50 |
%endif
|
|
51 |
|
|
52 |
%prep
|
|
53 |
rm -rf %name-%version
|
|
54 |
mkdir -p %name-%version
|
|
55 |
%evojescs.prep -d %name-%version
|
|
56 |
|
|
57 |
%build
|
|
58 |
#FIXME: symbol clash in the evo libraries means we can't use -Bdirect
|
|
59 |
# should be re-enabled once these issues are fixed
|
|
60 |
export LD=/usr/ccs/bin/ld
|
10616
|
61 |
export LDFLAGS="-z ignore %{?arch_ldadd} -L%{_libdir} -R%{_libdir} -L%{evo_prefix}/%{evo_major_version} -R%{evo_prefix}/%{evo_major_version}"
|
9397
|
62 |
export CFLAGS="%optflags"
|
|
63 |
export RPM_OPT_FLAGS="$CFLAGS"
|
|
64 |
export PKG_CONFIG_PATH="%_pkg_config_path"
|
|
65 |
%evojescs.build -d %name-%version
|
|
66 |
|
|
67 |
%install
|
|
68 |
%evojescs.install -d %name-%version
|
|
69 |
|
|
70 |
%if %build_l10n
|
|
71 |
%else
|
|
72 |
# REMOVE l10n FILES
|
|
73 |
rm -rf $RPM_BUILD_ROOT%{_datadir}/locale
|
|
74 |
%endif
|
|
75 |
|
|
76 |
%{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):%{support_level}" $RPM_BUILD_ROOT}
|
|
77 |
|
|
78 |
%clean
|
|
79 |
rm -rf $RPM_BUILD_ROOT
|
|
80 |
|
13161
|
81 |
%post
|
15557
|
82 |
%restart_fmri icon-cache
|
13161
|
83 |
|
9397
|
84 |
%files
|
13485
|
85 |
%doc -d evolution-jescs-%{evojescs.version} AUTHORS
|
|
86 |
%doc(bzip2) -d evolution-jescs-%{evojescs.version} ChangeLog
|
|
87 |
%doc(bzip2) -d evolution-jescs-%{evojescs.version} COPYING
|
9397
|
88 |
%defattr (-, root, bin)
|
|
89 |
%dir %attr (0755, root, bin) %{_libdir}
|
|
90 |
%{_libdir}/bonobo/servers/*
|
|
91 |
%{_libdir}/evolution
|
|
92 |
%{_libdir}/evolution-data-server-*
|
|
93 |
%dir %attr (0755, root, sys) %{_datadir}
|
|
94 |
%{_datadir}/evolution-jescs
|
|
95 |
%{_datadir}/evolution
|
13161
|
96 |
%dir %attr (0755, root, other) %{_datadir}/icons
|
13243
|
97 |
%dir %attr (0755, root, other) %{_datadir}/icons/hicolor
|
|
98 |
%dir %attr (0755, root, other) %{_datadir}/icons/hicolor/16x16
|
|
99 |
%dir %attr (0755, root, other) %{_datadir}/icons/hicolor/16x16/apps
|
|
100 |
%{_datadir}/icons/hicolor/16x16/apps/*
|
|
101 |
%dir %attr (0755, root, other) %{_datadir}/icons/hicolor/22x22
|
|
102 |
%dir %attr (0755, root, other) %{_datadir}/icons/hicolor/22x22/apps
|
|
103 |
%{_datadir}/icons/hicolor/22x22/apps/*
|
|
104 |
%dir %attr (0755, root, other) %{_datadir}/icons/hicolor/24x24
|
|
105 |
%dir %attr (0755, root, other) %{_datadir}/icons/hicolor/24x24/apps
|
|
106 |
%{_datadir}/icons/hicolor/24x24/apps/*
|
|
107 |
%dir %attr (0755, root, other) %{_datadir}/icons/hicolor/32x32
|
|
108 |
%dir %attr (0755, root, other) %{_datadir}/icons/hicolor/32x32/apps
|
|
109 |
%{_datadir}/icons/hicolor/32x32/apps/*
|
|
110 |
%dir %attr (0755, root, other) %{_datadir}/icons/hicolor/48x48
|
|
111 |
%dir %attr (0755, root, other) %{_datadir}/icons/hicolor/48x48/apps
|
|
112 |
%{_datadir}/icons/hicolor/48x48/apps/*
|
13688
|
113 |
%dir %attr (0755, root, other) %{_datadir}/doc
|
13243
|
114 |
|
9397
|
115 |
%if %build_l10n
|
|
116 |
%files l10n
|
|
117 |
%defattr (-, root, bin)
|
|
118 |
%dir %attr (0755, root, sys) %{_datadir}
|
|
119 |
%attr (-, root, other) %{_datadir}/locale
|
|
120 |
%endif
|
|
121 |
|
|
122 |
%changelog
|
16576
|
123 |
* Thu Sep 17 2009 - [email protected]
|
|
124 |
- Bump evo_major_version to 2.28.
|
15557
|
125 |
* Sat Apr 4 2009 - [email protected]
|
|
126 |
- use desktop-cache instead of postrun
|
14578
|
127 |
* Thu Nov 11 2008 - [email protected]
|
|
128 |
- Bump evo_major_version to 2.26.
|
13688
|
129 |
* Fri Sep 19 2008 - [email protected]
|
|
130 |
- Set permissions on /usr/share/doc.
|
13485
|
131 |
* Wed Sep 10 2008 - [email protected]
|
|
132 |
- Add new copyright files.
|
13243
|
133 |
* Thu Aug 22 2008 - [email protected]
|
|
134 |
- Bump evo_major_version to 2.24.
|
|
135 |
Update attribute of icon dirs.
|
13161
|
136 |
* Tue Aug 19 2008 - [email protected]
|
|
137 |
- Add %post secion and ship new icons.
|
10616
|
138 |
* Fri Oct 5 2007 - [email protected]
|
|
139 |
- add %{arch_ldadd} to LDFLAGS for GNU libiconv/libintl
|
9925
|
140 |
* Fri May 18 2007 - [email protected]
|
|
141 |
- Shorten package name to fix WOS integration warning about pkg name length.
|
9397
|
142 |
* Wed Nov 29 2006 - [email protected]
|
|
143 |
- Revert version to %{default_pkg_version} as this module has been integrated
|
|
144 |
to Nevada with this version. Using the base module's version number (2.8.x)
|
|
145 |
is lower than 2.16.x and will cause an integration error.
|
|
146 |
- Bump evo_major_version to 2.10 to match SUNWevolution.
|
|
147 |
* Mon Nov 27 2006 - [email protected]
|
|
148 |
- Use evolution-jescs's version information to replace default one.
|
|
149 |
* Sat Aug 12 2006 - [email protected]
|
|
150 |
- delete some unnecessary env variables
|
|
151 |
* Sun Jun 24 2006 - [email protected]
|
|
152 |
- change evo_major_version to 2.8.
|
|
153 |
* Sun Jun 11 2006 - [email protected]
|
|
154 |
- change group from other to bin/sys
|
|
155 |
* Thu May 11 2006 - [email protected]
|
|
156 |
- Change %defattr to (-, root, other).
|
|
157 |
- Remove unused -root package.
|
|
158 |
* Thu May 04 2006 - [email protected]
|
|
159 |
- merge -share pkg(s) into the base pkg(s)
|
|
160 |
* Thu Apr 13 2006 - [email protected]
|
|
161 |
- Add /usr/lib/evolution/%{evo_major_version} to LDFLAGS, fix bug #6411728.
|
|
162 |
* Tue Apr 04 2006 - [email protected]
|
|
163 |
- Alter remove .a/.la files part into linux spec.
|
|
164 |
* Thu Mar 30 2006 - [email protected]
|
|
165 |
- Remove all *.a/*.la files.
|
|
166 |
* Thu Feb 23 2006 - [email protected]
|
|
167 |
- Use default pkg version to match other pkgs; add EVO25 to default category.
|
|
168 |
* Mon Feb 20 2006 - [email protected]
|
|
169 |
- Update Build/Requires after running check-deps.pl script.
|
|
170 |
* Tue Jan 24 2006 - [email protected]
|
|
171 |
- Remove hard code %{evojescs.eds_api_version}.
|
|
172 |
- Remove *.la under /usr/lib when install.
|
|
173 |
* Tue Jan 24 2006 - [email protected]
|
|
174 |
- s/evolution-data-server-1.2/evolution-data-server-%evojescs.eds_api_version/g
|
|
175 |
* Wed Dec 7 2005 - [email protected]
|
|
176 |
- disable -Bdirect as due to symbol clashes
|
|
177 |
* Thu Dec 2 2005 - [email protected]
|
|
178 |
- Add Build/Requires SUNWgnome-base-libs/-devel-share for glib-gettextize.
|
|
179 |
* Thu Oct 6 2005 - [email protected]
|
|
180 |
- Add SUNWjdsrm dependency so that the obsolete SUNWevolution-socs-connect is
|
|
181 |
removed before this package is installed. They contain conflicting files.
|
|
182 |
* Tue Sep 6 2005 - [email protected]
|
|
183 |
- Fix wrong Name.
|
|
184 |
- Fix evolution-jescs to evojescs.
|
|
185 |
- Change %files section.
|
|
186 |
* Fri Sep 2 2005 - [email protected]
|
|
187 |
- Initial spec file
|
|
188 |
|