author | davelam |
Sat, 18 Apr 2009 12:26:03 +0000 | |
changeset 15650 | dbcf7e3715dd |
parent 15556 | 79756053d7da |
child 16434 | f21f22550fe9 |
permissions | -rw-r--r-- |
9397 | 1 |
# |
2 |
# spec file for package SUNWgnome-pilot |
|
3 |
# |
|
4 |
# includes module(s): gnome-pilot |
|
5 |
# |
|
15154 | 6 |
# Copyright 2009 Sun Microsystems, Inc. |
9397 | 7 |
# This file and all modifications and additions to the pristine |
8 |
# package are under the same license as the package itself. |
|
9 |
# |
|
15154 | 10 |
# Owner: halton |
9397 | 11 |
# |
12 |
%include Solaris.inc |
|
13 |
%define makeinstall make install |
|
14 |
%use gpilot = gnome-pilot.spec |
|
15 |
||
16 |
Name: SUNWgnome-pilot |
|
17 |
Summary: PalmPilot link utilities |
|
18 |
Version: %{gpilot.version} |
|
19 |
Source: %{name}-manpages-0.1.tar.gz |
|
20 |
SUNW_BaseDir: %{_basedir} |
|
11974 | 21 |
SUNW_Copyright: %{name}.copyright |
9397 | 22 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
23 |
%include default-depend.inc |
|
15650 | 24 |
Requires: SUNWlibglade |
9397 | 25 |
Requires: SUNWgnome-panel |
26 |
Requires: SUNWgnome-libs |
|
10619 | 27 |
%if %option_without_fox |
9397 | 28 |
Requires: SUNWxwrtl |
29 |
# SUNWxwplt and SUNWxwice contain the libSM.so.6 and libICE.so.6 libraries while |
|
30 |
# SUNWxwrtl contains symlinks pointing to these. ldd points to the symlinks. |
|
31 |
Requires: SUNWxwplt |
|
32 |
Requires: SUNWxwice |
|
10619 | 33 |
%endif |
9397 | 34 |
Requires: SUNWlxml |
35 |
Requires: SUNWzlib |
|
36 |
Requires: SUNWlibpopt |
|
37 |
Requires: SUNWmlib |
|
38 |
Requires: SUNWlibms |
|
39 |
Requires: SUNWlibmsr |
|
40 |
Requires: SUNWgnome-component |
|
41 |
Requires: SUNWgnome-config |
|
42 |
Requires: SUNWgnome-vfs |
|
15556 | 43 |
Requires: SUNWdesktop-cache |
9397 | 44 |
Requires: SUNWpilot-link |
15650 | 45 |
BuildRequires: SUNWlibglade-devel |
9397 | 46 |
BuildRequires: SUNWgnome-panel-devel |
47 |
BuildRequires: SUNWgnome-libs-devel |
|
48 |
BuildRequires: SUNWgnome-component-devel |
|
49 |
BuildRequires: SUNWgnome-config-devel |
|
50 |
BuildRequires: SUNWgnome-vfs-devel |
|
51 |
BuildRequires: SUNWpilot-link-devel |
|
52 |
BuildConflicts: SUNWgnome-pilot-link |
|
53 |
BuildConflicts: SUNWgnome-pilot-link-root |
|
54 |
BuildConflicts: SUNWgnome-pilot-link-share |
|
55 |
BuildConflicts: SUNWgnome-pilot-link-devel |
|
56 |
BuildConflicts: SUNWgnome-pilot-link-devel-share |
|
57 |
||
58 |
%if %build_l10n |
|
59 |
%package l10n |
|
60 |
Summary: %{summary} - l10n files |
|
61 |
SUNW_BaseDir: %{_basedir} |
|
62 |
%include default-depend.inc |
|
63 |
Requires: %{name} |
|
64 |
%endif |
|
65 |
||
66 |
%package root |
|
67 |
Summary: %{summary} - / filesystem |
|
68 |
SUNW_BaseDir: / |
|
69 |
%include default-depend.inc |
|
70 |
||
71 |
%package devel |
|
72 |
Summary: %{summary} - development files |
|
73 |
SUNW_BaseDir: %{_basedir} |
|
74 |
%include default-depend.inc |
|
75 |
Requires: %{name} |
|
76 |
||
77 |
%prep |
|
78 |
rm -rf %name-%version |
|
79 |
mkdir -p %name-%version |
|
80 |
%gpilot.prep -d %name-%version |
|
81 |
cd %{_builddir}/%name-%version |
|
82 |
gzcat %SOURCE0 | tar xf - |
|
83 |
||
84 |
%build |
|
10600 | 85 |
export LDFLAGS="%_ldflags" |
9397 | 86 |
export PKG_CONFIG_PATH=%{_pkg_config_path} |
87 |
export CFLAGS="%optflags" |
|
88 |
export RPM_OPT_FLAGS="$CFLAGS" |
|
89 |
%gpilot.build -d %name-%version |
|
90 |
||
91 |
%install |
|
92 |
rm -rf $RPM_BUILD_ROOT |
|
93 |
%gpilot.install -d %name-%version |
|
94 |
rm -rf $RPM_BUILD_ROOT%{_mandir} |
|
12336 | 95 |
rm -rf $RPM_BUILD_ROOT%{_bindir}/gnome-pilot-* |
96 |
rm -rf $RPM_BUILD_ROOT%{_bindir}/gpilotd-session-* |
|
9397 | 97 |
cd %{_builddir}/%name-%version/sun-manpages |
98 |
make install DESTDIR=$RPM_BUILD_ROOT |
|
99 |
||
100 |
%if %build_l10n |
|
101 |
%else |
|
102 |
# REMOVE l10n FILES |
|
103 |
rm -rf $RPM_BUILD_ROOT%{_datadir}/locale |
|
104 |
# rm -rf $RPM_BUILD_ROOT%{_datadir}/gnome/help/*/[a-z]* |
|
105 |
# rm -rf $RPM_BUILD_ROOT%{_datadir}/omf/*/gnome-pilot-??*.omf |
|
106 |
%endif |
|
107 |
||
108 |
%{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):supported" $RPM_BUILD_ROOT} |
|
109 |
||
110 |
%clean |
|
111 |
rm -rf $RPM_BUILD_ROOT |
|
112 |
||
113 |
%post |
|
15556 | 114 |
%restart_fmri desktop-mime-cache gconf-cache |
9397 | 115 |
|
116 |
%postun |
|
15556 | 117 |
%restart_fmri desktop-mime-cache |
9397 | 118 |
|
119 |
%files |
|
120 |
%defattr (-, root, bin) |
|
121 |
%dir %attr (0755, root, bin) %{_bindir} |
|
122 |
%{_bindir}/* |
|
123 |
%dir %attr (0755, root, bin) %{_libdir} |
|
124 |
%{_libdir}/lib*.so* |
|
125 |
%{_libdir}/bonobo |
|
126 |
%{_libdir}/gnome-pilot/conduits/lib*.so |
|
127 |
%{_libexecdir}/gpilotd |
|
128 |
%{_libexecdir}/gpilot-applet |
|
129 |
%dir %attr (0755, root, sys) %{_datadir} |
|
130 |
%{_datadir}/gnome-pilot |
|
131 |
%dir %attr (0755, root, other) %{_datadir}/mime-info |
|
132 |
%{_datadir}/mime-info/* |
|
133 |
%dir %attr (0755, root, other) %{_datadir}/pixmaps |
|
134 |
%{_datadir}/pixmaps/* |
|
135 |
%dir %attr (0755, root, other) %{_datadir}/applications |
|
136 |
%{_datadir}/applications/* |
|
137 |
%dir %attr (0755, root, other) %{_datadir}/gnome |
|
138 |
%{_datadir}/gnome/help/gnome-pilot/C |
|
139 |
%{_datadir}/omf/gnome-pilot/*-C.omf |
|
140 |
%dir %attr(0755, root, bin) %{_mandir} |
|
141 |
%dir %attr(0755, root, bin) %{_mandir}/* |
|
142 |
%{_mandir}/*/* |
|
13635 | 143 |
%doc -d gnome-pilot-%{gpilot.version} AUTHORS |
144 |
%doc(bzip2) -d gnome-pilot-%{gpilot.version} COPYING NEWS |
|
145 |
%doc(bzip2) -d gnome-pilot-%{gpilot.version} ChangeLog README |
|
146 |
%dir %attr (0755, root, other) %{_datadir}/doc |
|
9397 | 147 |
|
148 |
%if %build_l10n |
|
149 |
%files l10n |
|
150 |
%defattr (-, root, bin) |
|
151 |
%dir %attr (0755, root, sys) %{_datadir} |
|
152 |
%attr (-, root, other) %{_datadir}/locale |
|
153 |
%endif |
|
154 |
||
155 |
%files devel |
|
156 |
%defattr (-, root, bin) |
|
157 |
%dir %attr (0755, root, bin) %{_includedir} |
|
158 |
%{_includedir}/* |
|
159 |
%dir %attr (0755, root, bin) %{_libdir} |
|
160 |
%dir %attr (0755, root, other) %{_libdir}/pkgconfig |
|
161 |
%{_libdir}/pkgconfig/* |
|
162 |
%dir %attr (0755, root, sys) %{_datadir} |
|
163 |
%{_datadir}/idl |
|
164 |
||
165 |
%files root |
|
9780 | 166 |
%defattr (-, root, sys) |
9397 | 167 |
%dir %attr (0755, root, sys) %{_sysconfdir} |
168 |
%{_sysconfdir}/gconf/schemas/pilot.schemas |
|
169 |
||
170 |
%changelog |
|
15556 | 171 |
* Fri Apr 3 2009 - [email protected] |
172 |
- use desktop-cache instead of postrun |
|
13635 | 173 |
* Wed Sep 17 2008 - [email protected] |
174 |
- Add copyright related files per new process. |
|
12336 | 175 |
* Thu May 22 2008 - [email protected] |
176 |
- Remove 2 comment mark. |
|
12156 | 177 |
* Fri Apr 18 2008 - [email protected] |
178 |
- Add a patch to fix bug 6690026 and 6668371. |
|
12149
4fed81a132cd
* SUNWgnome-pilot.spec : Remove delivery of gpilot-applet.desktop
mattman
parents:
11974
diff
changeset
|
179 |
* Thu Apr 17 2008 - [email protected] |
4fed81a132cd
* SUNWgnome-pilot.spec : Remove delivery of gpilot-applet.desktop
mattman
parents:
11974
diff
changeset
|
180 |
- Remove delivery of gpilot-applet.desktop Bug:6690026 |
11974 | 181 |
* Mon Mar 31 2008 - [email protected] |
182 |
- add copyright |
|
11370 | 183 |
* Thu Jan 3 2008 - [email protected] |
184 |
- use gconf-install.script instead of an inline script |
|
11230
10e87785e82c
SUNWgnome-pilot.spec: Remove some unuseful files.
jyu_mit
parents:
10619
diff
changeset
|
185 |
* Wed Nov 22 2007 - [email protected] |
10e87785e82c
SUNWgnome-pilot.spec: Remove some unuseful files.
jyu_mit
parents:
10619
diff
changeset
|
186 |
- Remove some unuseful files from the package. |
10619 | 187 |
* Sun Oct 7 2007 - [email protected] |
188 |
- omit Nevada X deps if built --with-fox |
|
10600 | 189 |
* Wed Oct 3 2007 - [email protected] |
190 |
- delete unneeded env vars, set LDFLAGS to %_ldflags |
|
9780 | 191 |
* Tue Apr 24 2007 - [email protected] |
192 |
- s/0755/-/ in defattr so that files are not made all executable |
|
9397 | 193 |
* Thu Jan 04 2007 - [email protected] |
194 |
- Update to new version 2.0.15 |
|
195 |
* Mon Sep 04 2006 - [email protected] |
|
196 |
- New Manpage tarball |
|
197 |
* Fri Jul 14 2006 - [email protected] |
|
198 |
- update %post/%postun/etc scripts to support diskless client setup, |
|
199 |
part of 6448317 |
|
200 |
* Thu Jun 29 2006 - [email protected] |
|
201 |
- update postrun scripts |
|
202 |
* Wed Jun 28 2006 - [email protected] |
|
203 |
- Remove Build/Requires SUNWgob. |
|
204 |
* Sun Jun 11 2006 - [email protected] |
|
205 |
- change group from other to bin/sys |
|
206 |
* Thu Jan 08 2006 - [email protected] |
|
207 |
- Change dependency from SUNWgob2 to SUNWgob. |
|
208 |
* Tue Jun 06 2006 - [email protected] |
|
209 |
- Add build depend SUNWgob2. |
|
210 |
* Fri Jun 2 2006 - [email protected] |
|
211 |
- use post/preun scripts to install schemas into the merged gconf files |
|
212 |
* Thu Jun 01 2006 - [email protected] |
|
213 |
- Remove SUNWlibmr dependency. It was a typo when fixing 6380655. This removal |
|
214 |
fixes 6432832. |
|
215 |
* Thu May 11 2006 - [email protected] |
|
216 |
- Change %defattr to (-, root, other). |
|
217 |
- Merge -share pkg(s) into the base pkg(s). |
|
218 |
* Mon Mar 20 2006 - [email protected] |
|
219 |
- Install capplet into the correct location. |
|
220 |
* Fri Feb 3 2006 - [email protected] |
|
221 |
- Add multiple Build/Requires to fix 6380655. |
|
222 |
* Tue Jan 10 2006 - [email protected] |
|
223 |
- Inherited from SUNWgnome-pilot-link(tag=cinnabar-solaris) |
|
224 |
to replace SUNWgnome-pilot-link.spec. |
|
225 |
* Sat Dec 3 2005 - [email protected] |
|
226 |
- add %post script that runs update-desktop-database |
|
227 |
* Tue Nov 29 2005 - [email protected] |
|
228 |
- remove javahelp stuff |
|
229 |
* Mon Sep 12 2005 - [email protected] |
|
230 |
- Add missing dir to %files |
|
231 |
* Tue Jul 12 2005 - [email protected] |
|
232 |
- Disable inclusion of some l10n files as they are not yet available. |
|
233 |
* Sat Oct 02 2004 - [email protected] |
|
234 |
- added %pkgbuild_postprocess |
|
235 |
* Thu Sep 09 2004 [email protected] |
|
236 |
- Added gpilot-install-file.1, gpilotd-control-applet.1 manpages |
|
237 |
* Thu Aug 26 2004 [email protected] |
|
238 |
- Minor mod to how omf files specified in l10n package so C locale version is |
|
239 |
not included as it is already in the -share package. |
|
240 |
* Wed Aug 25 2004 [email protected] |
|
241 |
- Added l10n help entry in l10 pkg |
|
242 |
* Sat Jun 26 2004 [email protected] |
|
243 |
- Changed install location to /usr/... |
|
244 |
* Wed Jun 2 2004 - [email protected] |
|
245 |
- Added %{_datadir}/locale to install l10n messages |
|
246 |
* Tue Mar 16 2004 - <[email protected]> |
|
247 |
- initial version created |
|
15650 | 248 |