author | Jon Tibble <meths@btinternet.com> |
Thu, 15 Mar 2012 09:58:35 +0000 | |
branch | s11express-2010-11 |
changeset 22104 | cde243cbe3f6 |
parent 17864 | 337913e88a9d |
child 20109 | 234786f0a6c7 |
child 21815 | e407ac1ee44b |
permissions | -rw-r--r-- |
9397 | 1 |
# |
2 |
# spec file for package gnome-pilot |
|
3 |
# |
|
15154 | 4 |
# Copyright 2009 Sun Microsystems, Inc. |
9397 | 5 |
# This file and all modifications and additions to the pristine |
6 |
# package are under the same license as the package itself. |
|
7 |
# |
|
16504 | 8 |
%define owner wangke |
9397 | 9 |
# |
16429 | 10 |
|
17852 | 11 |
%define OSR LFI#105446 (gnome Exec. summary):n/a |
16429 | 12 |
|
9397 | 13 |
%include l10n.inc |
14 |
Name: gnome-pilot |
|
14543 | 15 |
License: GPL v2 |
9397 | 16 |
Group: Applications/Communications |
14872 | 17 |
Version: 2.0.17 |
9397 | 18 |
Release: 1 |
19 |
Distribution: Java Desktop System |
|
17864 | 20 |
Vendor: Gnome Community |
9397 | 21 |
Summary: PalmOS link utilities |
15154 | 22 |
Source: http://download.gnome.org/sources/%{name}/2.0/%{name}-%{version}.tar.bz2 |
9400 | 23 |
Source1: %{name}-po-sun-%{po_sun_version}.tar.bz2 |
12031 | 24 |
%if %build_l10n |
25 |
Source2: l10n-configure.sh |
|
26 |
%endif |
|
9397 | 27 |
#date:2006-03-20 owner:gman bugzilla:313203 type:bug |
11776
75067aab1ce3
* base-specs/gnome-pilot.spec: Renamed the patches.
jyu_mit
parents:
11735
diff
changeset
|
28 |
Patch1: gnome-pilot-01-capplet-install.diff |
9397 | 29 |
#date:2006-11-15 owner:calumb bugster:6489289 bugzilla:375639 type:bug |
11776
75067aab1ce3
* base-specs/gnome-pilot.spec: Renamed the patches.
jyu_mit
parents:
11735
diff
changeset
|
30 |
Patch2: gnome-pilot-02-launch-menu-item.diff |
15886 | 31 |
#date:2006-12-13 owner:halton type:bug bugzilla:584904 |
11776
75067aab1ce3
* base-specs/gnome-pilot.spec: Renamed the patches.
jyu_mit
parents:
11735
diff
changeset
|
32 |
Patch3: gnome-pilot-03-disable-gob-check.diff |
15155 | 33 |
#date:2006-12-18 owner:halton type:branding |
11776
75067aab1ce3
* base-specs/gnome-pilot.spec: Renamed the patches.
jyu_mit
parents:
11735
diff
changeset
|
34 |
Patch4: gnome-pilot-04-usb-default.diff |
17814 | 35 |
#date:2009-06-09 owner:halton type:bug bugzilla:584894 state:upstream |
15886 | 36 |
Patch5: gnome-pilot-05-fix-missing-icons.diff |
9397 | 37 |
URL: http://ftp.gnome.org/pub/GNOME/sources/gnome-pilot |
38 |
BuildRoot: %{_tmppath}/%{name}-%{version}-root |
|
39 |
Docdir: %{_defaultdocdir}/gnome-pilot |
|
40 |
Autoreqprov: on |
|
41 |
Prereq: GConf |
|
42 |
||
43 |
%define pilot_link_version 0.11.8 |
|
44 |
%define scrollkeeper_version 0.3.14 |
|
45 |
%define gnome_panel_version 2.6.1 |
|
46 |
||
47 |
Requires: gnome-panel >= %{gnome_panel_version} |
|
48 |
Requires: pilot-link >= %{pilot_link_version} |
|
49 |
BuildRequires: scrollkeeper >= %{scrollkeeper_version} |
|
50 |
BuildRequires: pilot-link-devel >= %{pilot_link_version} |
|
51 |
||
52 |
%description |
|
53 |
GNOME Pilot is a collection of programs and daemons for using |
|
54 |
Palm OS-based systems with GNOME, the complete user-friendly desktop |
|
55 |
based entirely on free software. |
|
56 |
||
57 |
%package -n gnome-pilot-devel |
|
58 |
Summary: Pilot development header files. |
|
59 |
Group: Development/Libraries |
|
60 |
Requires: gnome-pilot = %{version}-%{release} |
|
61 |
Requires: pilot-link-devel >= %{pilot_link_version} |
|
62 |
||
63 |
%description -n gnome-pilot-devel |
|
64 |
GNOME Pilot is a collection of programs and daemons for using |
|
65 |
Palm OS-based systems with GNOME, the complete user-friendly desktop |
|
66 |
based entirely on free software. |
|
67 |
||
68 |
%prep |
|
69 |
%setup -q |
|
70 |
%if %build_l10n |
|
9400 | 71 |
bzcat %SOURCE1 | tar xf - |
9397 | 72 |
cd po-sun; make; cd .. |
73 |
%endif |
|
11776
75067aab1ce3
* base-specs/gnome-pilot.spec: Renamed the patches.
jyu_mit
parents:
11735
diff
changeset
|
74 |
%patch1 -p1 |
75067aab1ce3
* base-specs/gnome-pilot.spec: Renamed the patches.
jyu_mit
parents:
11735
diff
changeset
|
75 |
%patch2 -p1 |
9397 | 76 |
%patch3 -p1 |
11776
75067aab1ce3
* base-specs/gnome-pilot.spec: Renamed the patches.
jyu_mit
parents:
11735
diff
changeset
|
77 |
%patch4 -p1 |
15886 | 78 |
%patch5 -p1 |
9397 | 79 |
|
80 |
%build |
|
81 |
%ifos linux |
|
82 |
if [ -x /usr/bin/getconf ]; then |
|
83 |
CPUS=`getconf _NPROCESSORS_ONLN` |
|
84 |
fi |
|
85 |
%else |
|
86 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '` |
|
87 |
%endif |
|
88 |
if test "x$CPUS" = "x" -o $CPUS = 0; then |
|
89 |
CPUS=1 |
|
90 |
fi |
|
91 |
||
92 |
LC_ALL= |
|
93 |
LANG= |
|
94 |
export LC_ALL LANG |
|
95 |
libtoolize --force |
|
10398 | 96 |
intltoolize --force --copy --automake |
12031 | 97 |
|
98 |
%if %build_l10n |
|
99 |
bash -x %SOURCE2 --enable-copyright |
|
100 |
%endif |
|
101 |
||
15886 | 102 |
aclocal $ACLOCAL_FLAGS -I macros |
9397 | 103 |
automake -a -c -f |
104 |
autoconf |
|
105 |
||
106 |
CFLAGS="$RPM_OPT_FLAGS" \ |
|
107 |
./configure --prefix=%{_prefix} \ |
|
108 |
--sysconfdir=%{_sysconfdir} \ |
|
109 |
--mandir=%{_mandir} \ |
|
110 |
--libexecdir=%{_libexecdir} \ |
|
111 |
--localstatedir=/var \ |
|
112 |
--disable-pilotlinktest \ |
|
113 |
--with-pisock=yes \ |
|
114 |
--with-hal=no |
|
115 |
||
116 |
make -j $CPUS |
|
117 |
||
118 |
%install |
|
119 |
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 |
|
120 |
make install DESTDIR=$RPM_BUILD_ROOT |
|
121 |
unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL |
|
122 |
||
123 |
rm $RPM_BUILD_ROOT%{_libdir}/gnome-pilot/conduits/*.a |
|
124 |
rm $RPM_BUILD_ROOT%{_libdir}/gnome-pilot/conduits/*.la |
|
125 |
rm $RPM_BUILD_ROOT%{_libdir}/*.a |
|
126 |
rm $RPM_BUILD_ROOT%{_libdir}/*.la |
|
127 |
||
128 |
%clean |
|
129 |
rm -rf $RPM_BUILD_ROOT |
|
130 |
||
131 |
%post |
|
132 |
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` |
|
133 |
SCHEMAS="pilot.schemas" |
|
134 |
for S in $SCHEMAS; do |
|
135 |
gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/$S >/dev/null |
|
136 |
done |
|
137 |
||
138 |
%files |
|
139 |
%defattr(-, root, root) |
|
140 |
%{_datadir}/locale/*/LC_MESSAGES/* |
|
141 |
%{_datadir}/applications/* |
|
142 |
%{_datadir}/idl/* |
|
143 |
%{_datadir}/mime-info/* |
|
144 |
%{_datadir}/pixmaps/* |
|
145 |
%{_bindir}/* |
|
146 |
%{_libexecdir}/* |
|
147 |
%{_libdir}/bonobo/servers/* |
|
148 |
%{_libdir}/gnome-pilot/conduits/*.so |
|
149 |
%dir %{_datadir}/gnome-pilot |
|
150 |
%dir %{_datadir}/gnome-pilot/glade |
|
151 |
%{_datadir}/gnome-pilot/conduits |
|
152 |
%{_datadir}/gnome-pilot/glade/*.png |
|
153 |
%{_datadir}/gnome-pilot/glade/*.glade |
|
154 |
%{_datadir}/gnome-pilot/*.xml |
|
155 |
%{_datadir}/gnome/help/* |
|
156 |
%{_datadir}/omf/* |
|
157 |
%{_sysconfdir}/gconf/schemas/pilot.schemas |
|
158 |
%{_libdir}/*.so.* |
|
159 |
%{_mandir}/man1/* |
|
160 |
||
161 |
%files -n gnome-pilot-devel |
|
162 |
%defattr(-, root, root) |
|
163 |
%{_includedir}/* |
|
164 |
%{_libdir}/pkgconfig/* |
|
165 |
%{_libdir}/*.so |
|
166 |
||
167 |
%changelog |
|
15886 | 168 |
* Tue Jun 09 2009 - [email protected] |
169 |
- Add patch fix-missing-icons.diff to fix bugzilla 584894. |
|
170 |
||
14872 | 171 |
* Thu Jan 8 2008 - [email protected] |
172 |
- Bump to 2.0.17. |
|
173 |
- Remove upstream patch. |
|
174 |
||
12156 | 175 |
* Fri Apr 18 2008 - [email protected] |
176 |
- Add a patch to fix bug 6690026 and 6668371. |
|
177 |
||
11776
75067aab1ce3
* base-specs/gnome-pilot.spec: Renamed the patches.
jyu_mit
parents:
11735
diff
changeset
|
178 |
* Mon Mar 03 2008 - [email protected] |
75067aab1ce3
* base-specs/gnome-pilot.spec: Renamed the patches.
jyu_mit
parents:
11735
diff
changeset
|
179 |
- Rename the patches. |
75067aab1ce3
* base-specs/gnome-pilot.spec: Renamed the patches.
jyu_mit
parents:
11735
diff
changeset
|
180 |
|
11735
8fb430f4f378
* base-specs/gnome-pilot.spec:Bump to 2.0.16 and remove 4 upstream patches.
jyu_mit
parents:
10398
diff
changeset
|
181 |
* Wed Feb 27 2008 - [email protected] |
8fb430f4f378
* base-specs/gnome-pilot.spec:Bump to 2.0.16 and remove 4 upstream patches.
jyu_mit
parents:
10398
diff
changeset
|
182 |
- Bump to 2.0.16 |
8fb430f4f378
* base-specs/gnome-pilot.spec:Bump to 2.0.16 and remove 4 upstream patches.
jyu_mit
parents:
10398
diff
changeset
|
183 |
- Remove 4 upstream patches |
8fb430f4f378
* base-specs/gnome-pilot.spec:Bump to 2.0.16 and remove 4 upstream patches.
jyu_mit
parents:
10398
diff
changeset
|
184 |
- Rework 2 patches |
8fb430f4f378
* base-specs/gnome-pilot.spec:Bump to 2.0.16 and remove 4 upstream patches.
jyu_mit
parents:
10398
diff
changeset
|
185 |
|
10398 | 186 |
* Wed Aug 29 2007 - [email protected] |
187 |
- Add intltoolize call to update intltool scripts. |
|
188 |
||
9397 | 189 |
* Wed Feb 28 2007 - [email protected] |
190 |
- Remove upstream patch gnome-pilot-02-pilot_connect.diff |
|
191 |
||
192 |
* Tue Feb 13 2007 - [email protected] |
|
193 |
- Add l10n tarball. |
|
194 |
||
195 |
* Thu Jan 04 2007 - [email protected] |
|
196 |
- Update to new version 2.0.15 |
|
197 |
||
198 |
* Wed Dec 06 2006 - [email protected] |
|
199 |
- Add gnome-pilot-08-g11n-i18n-ui.diff. bugzilla #138628 |
|
200 |
||
201 |
* Wed Nov 15 2006 - [email protected] |
|
202 |
- Patch menu item to match latest UI spec. |
|
203 |
||
204 |
* Wed Oct 24 2006 - [email protected] |
|
205 |
- Add patch to fix #6437924, and fix up some of the window icons so they look |
|
206 |
a little more consistent. This is bugzilla #364589. |
|
207 |
||
208 |
* Wed Jun 28 2006 - [email protected]. |
|
209 |
- Add patch gnome-pilot-04-remove-nouse-libs.diff to fix #6434263. |
|
210 |
- Add patch gnome-pilot-05-disable-gob-check.diff to remove gob build dependency. |
|
211 |
||
212 |
* Tue Jun 06 2006 - [email protected] |
|
213 |
- Remove patch gnome-pilot-01-configure-in.diff and reorder, |
|
214 |
build require gob2. |
|
215 |
||
216 |
* Mon Mar 20 2006 - [email protected] |
|
217 |
- Install capplet in the right directory - #313203 |
|
218 |
||
219 |
* Tue Jan 10 2006 - [email protected] |
|
220 |
- Replace patches by pdasync.prc team: |
|
221 |
deleted: gnome-pilot-01-menu-entry.diff |
|
222 |
gnome-pilot-02-g11n-i18n-ui.diff |
|
223 |
gnome-pilot-03-automake-fix.diff |
|
224 |
added : gnome-pilot-01-configure-in.diff |
|
225 |
gnome-pilot-02-all-in-one.diff |
|
226 |
||
227 |
* Tue Nov 29 2005 - laca.com |
|
228 |
- remove javahelp stuff |
|
229 |
||
230 |
* Tue May 17 2005 - [email protected] |
|
231 |
- Port to 2.0.13 |
|
232 |
||
233 |
* Fri Feb 11 2005 - [email protected] |
|
234 |
- Added patch to make help button in gnome-pilot settings point to |
|
235 |
correct location.Fixes bug 6225082 |
|
236 |
||
237 |
* Mon Jan 31 2005 - [email protected] |
|
238 |
- Increased the Release number by 200. The problem is that the release |
|
239 |
counter has been reset during the JDS 3 release cycle but the version |
|
240 |
number has not changed. This causes an update problem because the version |
|
241 |
in JDS 2 appears to be newer than this version. Fixes 6222834. |
|
242 |
||
243 |
* Wed Jan 26 2005 - [email protected] |
|
244 |
- Update docs with Linux specific tarball from [email protected]. |
|
245 |
||
246 |
* Fri Jan 14 2005 - [email protected] |
|
247 |
- Updated l10n help tarball for cinnabar-linux |
|
248 |
||
249 |
* Wed Nov 17 2004 - [email protected] |
|
250 |
- #6195855, install correct man page |
|
251 |
||
252 |
* Thu Oct 28 2004 - [email protected] |
|
253 |
- Add gpilot-install-file.1, gpilotd-control-applet.1 man pages |
|
254 |
||
255 |
* Wed Aug 25 2004 - [email protected] |
|
256 |
- Added l10n help files with patch |
|
257 |
||
258 |
* Thu Aug 19 2004 - [email protected] |
|
259 |
- Integrated updated docs tarball from [email protected]. |
|
260 |
||
261 |
* Mon Aug 16 2004 - [email protected] |
|
262 |
- Help invocation for the applet is implemented. |
|
263 |
||
264 |
* Thu Jul 08 2004 - [email protected] |
|
265 |
- Updated l10n content to gnome-pilot-l10n-po-1.2.tar.bz2 |
|
266 |
||
267 |
* Wed Jul 07 2004 - [email protected] |
|
268 |
- ported to rpm4 |
|
269 |
||
270 |
* Wed Jul 07 2004 - [email protected] |
|
271 |
- added "-j $CPUS" to make to speed up builds |
|
272 |
||
273 |
* Wed Jun 09 2004 - [email protected] |
|
274 |
- Integrated docs and associated patch from [email protected] |
|
275 |
||
276 |
* Wed May 12 2004 - [email protected] |
|
277 |
- Updated l10n content to gnome-pilot-l10n-po-1.1.tar.bz2 |
|
278 |
||
279 |
* Sun Apr 18 2004 - [email protected] |
|
280 |
- enable javahelp conversion on Solaris |
|
281 |
||
282 |
* Thu Apr 01 2004 - [email protected] |
|
283 |
- Javahelp conversion |
|
284 |
||
285 |
* Mon Mar 29 2004 - [email protected] |
|
286 |
- Updated l10n content to gnome-pilot-l10n-po-1.0.tar.bz2 |
|
287 |
||
288 |
* Tue Mar 16 2004 - [email protected] |
|
289 |
- add patch5 to fix build with newer versions of automake |
|
290 |
- add --libexecdir |
|
291 |
||
292 |
* Fri Mar 05 2004 - [email protected] |
|
293 |
- Modified %files section in spec file to fix 4932068 |
|
294 |
- Changed gnome-pilot-04-trans-pilot-menu.diff to gnome-pilot-04-g11n-i18n-ui.diff |
|
295 |
||
296 |
* Wed Feb 18 2004 - [email protected] |
|
297 |
- Updated distro to Cinnabar, added l10n stuff |
|
298 |
- Port patchs 03/04, and libtoolize it |
|
299 |
||
300 |
* Fri Oct 31 2003 - [email protected] |
|
301 |
- Remove the Sun Settings keyword from the |
|
302 |
menu entry patch. |
|
303 |
||
304 |
* Fri Oct 10 2003 - [email protected] |
|
305 |
- upgrade deps versions |
|
306 |
||
307 |
* Fri Oct 03 2003 - <[email protected]> |
|
308 |
- remove man pages |
|
309 |
||
310 |
* Thu Aug 14 2003 - <[email protected]> |
|
311 |
- remove *.a, *.la |
|
312 |
||
313 |
* Mon Aug 01 2003 - [email protected] |
|
314 |
- Add some menu categorization |
|
315 |
||
316 |
* Mon Jul 28 2003 - [email protected] |
|
317 |
- Updated POTFILES.in |
|
318 |
||
319 |
* Fri Jul 28 2003 - [email protected] |
|
320 |
- Install the applet as part of the main |
|
321 |
package. There is no reason to have an |
|
322 |
extra package for this one. |
|
323 |
||
324 |
* Fri Jul 25 2003 - [email protected] |
|
325 |
- Base package requires pilot-link |
|
326 |
||
327 |
* Thu Jul 24 2003 - <[email protected]> |
|
328 |
- Initial version |