1 # 2 # spec file for package gnome-pilot 3 # 4 # Copyright (c) 2005 Sun Microsystems, Inc. 5 # This file and all modifications and additions to the pristine 6 # package are under the same license as the package itself. 7 # 8 # Owner: jyu_mit 9 # 10 Name: gnome-pilot 11 License: GPL/LGPL 12 Group: Applications/Communications 13 Version: 2.0.15 14 Release: 1 15 Distribution: Java Desktop System 16 Vendor: Sun Microsystems, Inc. 17 Summary: PalmOS link utilities 18 Source: http://ftp.gnome.org/pub/GNOME/sources/%{name}/2.0/%{name}-%{version}.tar.bz2 19 Source1: gpilot-install-file.1.gz 20 Source2: gpilotd-control-applet.1.gz 21 #date:2006-12-13 owner:jyu_mit bugzilla:385444 type:bug 22 Patch1: gnome-pilot-01-visor.diff 23 #date:2006-12-13 owner:jyu_mit bugzilla:385426 type:bug 24 Patch2: gnome-pilot-02-pilot_connect.diff 25 #date:2006-03-20 owner:gman bugzilla:313203 type:bug 26 Patch3: gnome-pilot-03-capplet-install.diff 27 #date:2006-12-13 owner:jyu_mit bugzilla:385434 type:bug 28 Patch4: gnome-pilot-04-usb-warning.diff 29 #date:2006-12-13 owner:jyu_mit bugzilla:385439 type:bug 30 Patch5: gnome-pilot-05-a11y.diff 31 #date:2006-12-13 owner:jyu_mit bugzilla:385443 type:bug 32 Patch6: gnome-pilot-06-charset.diff 33 #date:2006-11-15 owner:calumb bugster:6489289 bugzilla:375639 type:bug 34 Patch7: gnome-pilot-07-launch-menu-item.diff 35 #date:2006-12-13 owner:jyu_mit type:branding 36 Patch8: gnome-pilot-08-disable-gob-check.diff 37 #date:2006-12-18 owner:jyu_mit type:branding 38 Patch9: gnome-pilot-09-usb-default.diff 39 URL: http://ftp.gnome.org/pub/GNOME/sources/gnome-pilot 40 BuildRoot: %{_tmppath}/%{name}-%{version}-root 41 Docdir: %{_defaultdocdir}/gnome-pilot 42 Autoreqprov: on 43 Prereq: GConf 44 45 %define pilot_link_version 0.11.8 46 %define scrollkeeper_version 0.3.14 47 %define gnome_panel_version 2.6.1 48 49 Requires: gnome-panel >= %{gnome_panel_version} 50 Requires: pilot-link >= %{pilot_link_version} 51 BuildRequires: scrollkeeper >= %{scrollkeeper_version} 52 BuildRequires: pilot-link-devel >= %{pilot_link_version} 53 54 %description 55 GNOME Pilot is a collection of programs and daemons for using 56 Palm OS-based systems with GNOME, the complete user-friendly desktop 57 based entirely on free software. 58 59 %package -n gnome-pilot-devel 60 Summary: Pilot development header files. 61 Group: Development/Libraries 62 Requires: gnome-pilot = %{version}-%{release} 63 Requires: pilot-link-devel >= %{pilot_link_version} 64 65 %description -n gnome-pilot-devel 66 GNOME Pilot is a collection of programs and daemons for using 67 Palm OS-based systems with GNOME, the complete user-friendly desktop 68 based entirely on free software. 69 70 %prep 71 %setup -q 72 %patch1 -p1 73 %patch2 -p1 74 %patch3 -p1 75 %patch4 -p1 76 %patch5 -p1 77 %patch6 -p1 78 %patch7 -p1 79 %patch8 -p1 80 %patch9 -p1 81 82 %build 83 %ifos linux 84 if [ -x /usr/bin/getconf ]; then 85 CPUS=`getconf _NPROCESSORS_ONLN` 86 fi 87 %else 88 CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '` 89 %endif 90 if test "x$CPUS" = "x" -o $CPUS = 0; then 91 CPUS=1 92 fi 93 94 LC_ALL= 95 LANG= 96 export LC_ALL LANG 97 libtoolize --force 98 aclocal $ACLOCAL_FLAGS 99 automake -a -c -f 100 autoconf 101 102 CFLAGS="$RPM_OPT_FLAGS" \ 103 ./configure --prefix=%{_prefix} \ 104 --sysconfdir=%{_sysconfdir} \ 105 --mandir=%{_mandir} \ 106 --libexecdir=%{_libexecdir} \ 107 --localstatedir=/var \ 108 --disable-pilotlinktest \ 109 --with-pisock=yes \ 110 --with-hal=no 111 112 make -j $CPUS 113 114 %install 115 export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 116 make install DESTDIR=$RPM_BUILD_ROOT 117 unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL 118 rm -rf $RPM_BUILD_ROOT%{_mandir}/man1 119 install -d $RPM_BUILD_ROOT%{_mandir}/man1 120 install --mode=0644 %SOURCE1 $RPM_BUILD_ROOT%{_mandir}/man1 121 install --mode=0644 %SOURCE2 $RPM_BUILD_ROOT%{_mandir}/man1 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 168 * Fri Jan 05 2007 - jijun.yu@sun.com 169 - Bump to new version 2.0.15 170 171 * Wed Nov 15 2006 - calum.benson@sun.com 172 - Patch menu item to match latest UI spec. 173 174 * Wed Oct 24 2006 - glynn.foster@sun.com 175 - Add patch to fix #6437924, and fix up some of the window icons so they look 176 a little more consistent. This is bugzilla #364589. 177 178 * Wed Jun 28 2006 - halton.huo@sun.com. 179 - Add patch gnome-pilot-04-remove-nouse-libs.diff to fix #6434263. 180 - Add patch gnome-pilot-05-disable-gob-check.diff to remove gob build dependency. 181 182 * Tue Jun 06 2006 - halton.huo@sun.com 183 - Remove patch gnome-pilot-01-configure-in.diff and reorder, 184 build require gob2. 185 186 * Mon Mar 20 2006 - glynn.foster@sun.com 187 - Install capplet in the right directory - #313203 188 189 * Tue Jan 10 2006 - halton.huo@sun.com 190 - Replace patches by pdasync.prc team: 191 deleted: gnome-pilot-01-menu-entry.diff 192 gnome-pilot-02-g11n-i18n-ui.diff 193 gnome-pilot-03-automake-fix.diff 194 added : gnome-pilot-01-configure-in.diff 195 gnome-pilot-02-all-in-one.diff 196 197 * Tue Nov 29 2005 - laca.com 198 - remove javahelp stuff 199 200 * Tue May 17 2005 - glynn.foster@sun.com 201 - Port to 2.0.13 202 203 * Fri Feb 11 2005 - dinoop.thomas@wipro.com 204 - Added patch to make help button in gnome-pilot settings point to 205 correct location.Fixes bug 6225082 206 207 * Mon Jan 31 2005 - ghee.teo@sun.com 208 - Increased the Release number by 200. The problem is that the release 209 counter has been reset during the JDS 3 release cycle but the version 210 number has not changed. This causes an update problem because the version 211 in JDS 2 appears to be newer than this version. Fixes 6222834. 212 213 * Wed Jan 26 2005 - damien.carbery@sun.com 214 - Update docs with Linux specific tarball from eugene.oconnor@sun.com. 215 216 * Fri Jan 14 2005 - kazuhiko.maekawa@sun.com 217 - Updated l10n help tarball for cinnabar-linux 218 219 * Wed Nov 17 2004 - matt.keenan@sun.com 220 - #6195855, install correct man page 221 222 * Thu Oct 28 2004 - matt.keenan@sun.com 223 - Add gpilot-install-file.1, gpilotd-control-applet.1 man pages 224 225 * Wed Aug 25 2004 - Kazuhiko.Maekawa@sun.com 226 - Added l10n help files with patch 227 228 * Thu Aug 19 2004 - damien.carbery@sun.com 229 - Integrated updated docs tarball from eugene.oconnor@sun.com. 230 231 * Mon Aug 16 2004 - vinay.mandyakoppal@wipro.com 232 - Help invocation for the applet is implemented. 233 234 * Thu Jul 08 2004 - damien.donlon@sun.com 235 - Updated l10n content to gnome-pilot-l10n-po-1.2.tar.bz2 236 237 * Wed Jul 07 2004 - niall.power@sun.com 238 - ported to rpm4 239 240 * Wed Jul 07 2004 - dermot.mccluskey@sun.com 241 - added "-j $CPUS" to make to speed up builds 242 243 * Wed Jun 09 2004 - damien.carbery@sun.com 244 - Integrated docs and associated patch from eugene.oconnor@sun.com 245 246 * Wed May 12 2004 - damien.donlon@sun.com 247 - Updated l10n content to gnome-pilot-l10n-po-1.1.tar.bz2 248 249 * Sun Apr 18 2004 - laca@sun.com 250 - enable javahelp conversion on Solaris 251 252 * Thu Apr 01 2004 - matt.keenan@sun.com 253 - Javahelp conversion 254 255 * Mon Mar 29 2004 - damien.donlon@sun.com 256 - Updated l10n content to gnome-pilot-l10n-po-1.0.tar.bz2 257 258 * Tue Mar 16 2004 - laca@sun.com 259 - add patch5 to fix build with newer versions of automake 260 - add --libexecdir 261 262 * Fri Mar 05 2004 - takao.fujiwara@sun.com 263 - Modified %files section in spec file to fix 4932068 264 - Changed gnome-pilot-04-trans-pilot-menu.diff to gnome-pilot-04-g11n-i18n-ui.diff 265 266 * Wed Feb 18 2004 - matt.keenan@sun.com 267 - Updated distro to Cinnabar, added l10n stuff 268 - Port patchs 03/04, and libtoolize it 269 270 * Fri Oct 31 2003 - glynn.foster@sun.com 271 - Remove the Sun Settings keyword from the 272 menu entry patch. 273 274 * Fri Oct 10 2003 - laszlo.kovacs@sun.com 275 - upgrade deps versions 276 277 * Fri Oct 03 2003 - <matt.keenan@sun.com> 278 - remove man pages 279 280 * Thu Aug 14 2003 - <laca@sun.com> 281 - remove *.a, *.la 282 283 * Mon Aug 01 2003 - glynn.foster@sun.com 284 - Add some menu categorization 285 286 * Mon Jul 28 2003 - michael.twomey@sun.com 287 - Updated POTFILES.in 288 289 * Fri Jul 28 2003 - glynn.foster@sun.com 290 - Install the applet as part of the main 291 package. There is no reason to have an 292 extra package for this one. 293 294 * Fri Jul 25 2003 - niall.power@sun.com 295 - Base package requires pilot-link 296 297 * Thu Jul 24 2003 - <matt.keenan@sun.com> 298 - Initial version 299