author | dermotm |
Mon, 24 Jul 2006 12:30:39 +0000 | |
branch | gnome-2-10 |
changeset 19949 | 94f49bf19351 |
parent 19838 | 42a3a4365a3b |
permissions | -rw-r--r-- |
19693 | 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 |
# |
|
769 | 8 |
Name: gnome-pilot |
9 |
License: GPL/LGPL |
|
10 |
Group: Applications/Communications |
|
19303 | 11 |
Version: 2.0.13 |
12 |
Release: 1 |
|
19693 | 13 |
Distribution: Java Desktop System |
769 | 14 |
Vendor: Sun Microsystems, Inc. |
15 |
Summary: PalmOS link utilities |
|
19693 | 16 |
Source: http://ftp.gnome.org/pub/GNOME/sources/%{name}/2.0/%{name}-%{version}.tar.bz2 |
19719 | 17 |
Source1: gpilot-install-file.1.gz |
18 |
Source2: gpilotd-control-applet.1.gz |
|
19303 | 19 |
Patch1: gnome-pilot-01-menu-entry.diff |
20 |
Patch2: gnome-pilot-02-g11n-i18n-ui.diff |
|
21 |
Patch3: gnome-pilot-03-automake-fix.diff |
|
823 | 22 |
URL: http://ftp.gnome.org/pub/GNOME/sources/gnome-pilot |
769 | 23 |
BuildRoot: %{_tmppath}/%{name}-%{version}-root |
24 |
Docdir: %{_defaultdocdir}/gnome-pilot |
|
25 |
Autoreqprov: on |
|
19693 | 26 |
Prereq: GConf |
769 | 27 |
|
3628 | 28 |
%define pilot_link_version 0.11.8 |
29 |
%define scrollkeeper_version 0.3.14 |
|
30 |
%define gnome_panel_version 2.6.1 |
|
823 | 31 |
|
32 |
Requires: gnome-panel >= %{gnome_panel_version} |
|
808 | 33 |
Requires: pilot-link >= %{pilot_link_version} |
823 | 34 |
BuildRequires: scrollkeeper >= %{scrollkeeper_version} |
808 | 35 |
BuildRequires: pilot-link-devel >= %{pilot_link_version} |
823 | 36 |
|
769 | 37 |
%description |
38 |
GNOME Pilot is a collection of programs and daemons for using |
|
39 |
Palm OS-based systems with GNOME, the complete user-friendly desktop |
|
40 |
based entirely on free software. |
|
41 |
||
42 |
%package -n gnome-pilot-devel |
|
43 |
Summary: Pilot development header files. |
|
44 |
Group: Development/Libraries |
|
45 |
Requires: gnome-pilot = %{version}-%{release} |
|
808 | 46 |
Requires: pilot-link-devel >= %{pilot_link_version} |
769 | 47 |
|
48 |
%description -n gnome-pilot-devel |
|
49 |
GNOME Pilot is a collection of programs and daemons for using |
|
50 |
Palm OS-based systems with GNOME, the complete user-friendly desktop |
|
51 |
based entirely on free software. |
|
52 |
||
53 |
%prep |
|
54 |
%setup -q |
|
921 | 55 |
%patch1 -p1 |
56 |
%patch2 -p1 |
|
19303 | 57 |
%patch3 -p1 |
4455 | 58 |
|
769 | 59 |
%build |
3263 | 60 |
%ifos linux |
61 |
if [ -x /usr/bin/getconf ]; then |
|
62 |
CPUS=`getconf _NPROCESSORS_ONLN` |
|
63 |
fi |
|
64 |
%else |
|
3846 | 65 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '` |
3263 | 66 |
%endif |
67 |
if test "x$CPUS" = "x" -o $CPUS = 0; then |
|
68 |
CPUS=1 |
|
69 |
fi |
|
70 |
||
2156 | 71 |
LC_ALL= |
72 |
LANG= |
|
73 |
export LC_ALL LANG |
|
1787 | 74 |
libtoolize --force |
19243 | 75 |
aclocal $ACLOCAL_FLAGS |
1787 | 76 |
automake -a -c -f |
77 |
autoconf |
|
78 |
||
823 | 79 |
CFLAGS="$RPM_OPT_FLAGS" \ |
80 |
./configure --prefix=%{_prefix} \ |
|
81 |
--sysconfdir=%{_sysconfdir} \ |
|
82 |
--mandir=%{_mandir} \ |
|
2226 | 83 |
--libexecdir=%{_libexecdir} \ |
823 | 84 |
--localstatedir=/var |
3263 | 85 |
make -j $CPUS |
769 | 86 |
|
87 |
%install |
|
88 |
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 |
|
89 |
make install DESTDIR=$RPM_BUILD_ROOT |
|
90 |
unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL |
|
4594 | 91 |
rm -rf $RPM_BUILD_ROOT%{_mandir}/man1 |
4357 | 92 |
install -d $RPM_BUILD_ROOT%{_mandir}/man1 |
19719 | 93 |
install --mode=0644 %SOURCE1 $RPM_BUILD_ROOT%{_mandir}/man1 |
94 |
install --mode=0644 %SOURCE2 $RPM_BUILD_ROOT%{_mandir}/man1 |
|
769 | 95 |
|
3628 | 96 |
rm $RPM_BUILD_ROOT%{_libdir}/gnome-pilot/conduits/*.a |
97 |
rm $RPM_BUILD_ROOT%{_libdir}/gnome-pilot/conduits/*.la |
|
98 |
rm $RPM_BUILD_ROOT%{_libdir}/*.a |
|
99 |
rm $RPM_BUILD_ROOT%{_libdir}/*.la |
|
100 |
||
101 |
||
769 | 102 |
%clean |
103 |
rm -rf $RPM_BUILD_ROOT |
|
104 |
||
823 | 105 |
%post |
106 |
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` |
|
107 |
SCHEMAS="pilot.schemas" |
|
108 |
for S in $SCHEMAS; do |
|
109 |
gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/$S >/dev/null |
|
110 |
done |
|
111 |
||
112 |
%files |
|
113 |
%defattr(-, root, root) |
|
114 |
%{_datadir}/locale/*/LC_MESSAGES/* |
|
19303 | 115 |
%{_datadir}/applications |
823 | 116 |
%{_datadir}/idl/* |
117 |
%{_datadir}/mime-info/* |
|
118 |
%{_datadir}/pixmaps/* |
|
119 |
%{_bindir}/* |
|
120 |
%{_libexecdir}/* |
|
121 |
%{_libdir}/bonobo/servers/* |
|
1060 | 122 |
%{_libdir}/gnome-pilot/conduits/*.so |
823 | 123 |
%dir %{_datadir}/gnome-pilot |
124 |
%dir %{_datadir}/gnome-pilot/glade |
|
19303 | 125 |
%{_datadir}/gnome-pilot/devices.xml |
1060 | 126 |
%{_datadir}/gnome-pilot/conduits |
823 | 127 |
%{_datadir}/gnome-pilot/glade/*.png |
128 |
%{_datadir}/gnome-pilot/glade/*.glade |
|
129 |
%{_datadir}/gnome/help/* |
|
130 |
%{_datadir}/omf/* |
|
131 |
%{_sysconfdir}/gconf/schemas/pilot.schemas |
|
132 |
%{_libdir}/*.so.* |
|
2156 | 133 |
%{_datadir}/gnome-2.0/ui/* |
3628 | 134 |
%{_mandir}/man1/* |
823 | 135 |
|
136 |
%files -n gnome-pilot-devel |
|
137 |
%defattr(-, root, root) |
|
138 |
%{_includedir}/* |
|
139 |
%{_libdir}/pkgconfig/* |
|
140 |
%{_libdir}/*.so |
|
141 |
||
769 | 142 |
%changelog |
19303 | 143 |
* Tue May 17 2005 - [email protected] |
144 |
- Port to 2.0.13 |
|
145 |
||
5068 | 146 |
* Fri Feb 11 2005 - [email protected] |
147 |
- Added patch to make help button in gnome-pilot settings point to |
|
148 |
correct location.Fixes bug 6225082 |
|
149 |
||
4985 | 150 |
* Mon Jan 31 2005 - [email protected] |
151 |
- Increased the Release number by 200. The problem is that the release |
|
152 |
counter has been reset during the JDS 3 release cycle but the version |
|
153 |
number has not changed. This causes an update problem because the version |
|
154 |
in JDS 2 appears to be newer than this version. Fixes 6222834. |
|
155 |
||
4939
8b97afb096ab
* gnome-pilot.spec: Update docs with Linux specific tarball from
dc144907
parents:
4867
diff
changeset
|
156 |
* Wed Jan 26 2005 - [email protected] |
8b97afb096ab
* gnome-pilot.spec: Update docs with Linux specific tarball from
dc144907
parents:
4867
diff
changeset
|
157 |
- Update docs with Linux specific tarball from [email protected]. |
8b97afb096ab
* gnome-pilot.spec: Update docs with Linux specific tarball from
dc144907
parents:
4867
diff
changeset
|
158 |
|
4844 | 159 |
* Fri Jan 14 2005 - [email protected] |
160 |
- Updated l10n help tarball for cinnabar-linux |
|
161 |
||
4594 | 162 |
* Wed Nov 17 2004 - [email protected] |
163 |
- #6195855, install correct man page |
|
164 |
||
4357 | 165 |
* Thu Oct 28 2004 - [email protected] |
166 |
- Add gpilot-install-file.1, gpilotd-control-applet.1 man pages |
|
167 |
||
3734 | 168 |
* Wed Aug 25 2004 - [email protected] |
169 |
- Added l10n help files with patch |
|
170 |
||
3627
0d38058536e2
* gnome-pilot.spec, gdm.spec: Integrated updated docs tarball from
dc144907
parents:
3580
diff
changeset
|
171 |
* Thu Aug 19 2004 - [email protected] |
0d38058536e2
* gnome-pilot.spec, gdm.spec: Integrated updated docs tarball from
dc144907
parents:
3580
diff
changeset
|
172 |
- Integrated updated docs tarball from [email protected]. |
0d38058536e2
* gnome-pilot.spec, gdm.spec: Integrated updated docs tarball from
dc144907
parents:
3580
diff
changeset
|
173 |
|
3575 | 174 |
* Mon Aug 16 2004 - [email protected] |
175 |
- Help invocation for the applet is implemented. |
|
176 |
||
3279
5d64ee516a02
Bumped l10n tarball revision from 1.1 to 1.2 in all spec-files.
damiend
parents:
3263
diff
changeset
|
177 |
* Thu Jul 08 2004 - [email protected] |
5d64ee516a02
Bumped l10n tarball revision from 1.1 to 1.2 in all spec-files.
damiend
parents:
3263
diff
changeset
|
178 |
- Updated l10n content to gnome-pilot-l10n-po-1.2.tar.bz2 |
5d64ee516a02
Bumped l10n tarball revision from 1.1 to 1.2 in all spec-files.
damiend
parents:
3263
diff
changeset
|
179 |
|
3628 | 180 |
* Wed Jul 07 2004 - [email protected] |
181 |
- ported to rpm4 |
|
182 |
||
3263 | 183 |
* Wed Jul 07 2004 - [email protected] |
184 |
- added "-j $CPUS" to make to speed up builds |
|
185 |
||
3063
17d9fd16c959
Integrated docs and associated patch from [email protected].
dc144907
parents:
2958
diff
changeset
|
186 |
* Wed Jun 09 2004 - [email protected] |
17d9fd16c959
Integrated docs and associated patch from [email protected].
dc144907
parents:
2958
diff
changeset
|
187 |
- Integrated docs and associated patch from [email protected] |
17d9fd16c959
Integrated docs and associated patch from [email protected].
dc144907
parents:
2958
diff
changeset
|
188 |
|
2736
bd6e69980863
Updated all spec files to reflect 1.1 version l10n tarballs delivered into
damiend
parents:
2619
diff
changeset
|
189 |
* Wed May 12 2004 - [email protected] |
bd6e69980863
Updated all spec files to reflect 1.1 version l10n tarballs delivered into
damiend
parents:
2619
diff
changeset
|
190 |
- Updated l10n content to gnome-pilot-l10n-po-1.1.tar.bz2 |
bd6e69980863
Updated all spec files to reflect 1.1 version l10n tarballs delivered into
damiend
parents:
2619
diff
changeset
|
191 |
|
2485 | 192 |
* Sun Apr 18 2004 - [email protected] |
193 |
- enable javahelp conversion on Solaris |
|
194 |
||
2362
ef2590f64b05
Javahelp conversion : surrounded by %ifos calls, until solaris specifics are resolved
mattk
parents:
2350
diff
changeset
|
195 |
* Thu Apr 01 2004 - [email protected] |
ef2590f64b05
Javahelp conversion : surrounded by %ifos calls, until solaris specifics are resolved
mattk
parents:
2350
diff
changeset
|
196 |
- Javahelp conversion |
ef2590f64b05
Javahelp conversion : surrounded by %ifos calls, until solaris specifics are resolved
mattk
parents:
2350
diff
changeset
|
197 |
|
2350 | 198 |
* Mon Mar 29 2004 - [email protected] |
199 |
- Updated l10n content to gnome-pilot-l10n-po-1.0.tar.bz2 |
|
200 |
||
2226 | 201 |
* Tue Mar 16 2004 - [email protected] |
202 |
- add patch5 to fix build with newer versions of automake |
|
2233 | 203 |
- add --libexecdir |
2226 | 204 |
|
2156 | 205 |
* Fri Mar 05 2004 - [email protected] |
206 |
- Modified %files section in spec file to fix 4932068 |
|
207 |
- Changed gnome-pilot-04-trans-pilot-menu.diff to gnome-pilot-04-g11n-i18n-ui.diff |
|
208 |
||
1787 | 209 |
* Wed Feb 18 2004 - [email protected] |
210 |
- Updated distro to Cinnabar, added l10n stuff |
|
211 |
- Port patchs 03/04, and libtoolize it |
|
212 |
||
1363 | 213 |
* Fri Oct 31 2003 - [email protected] |
214 |
- Remove the Sun Settings keyword from the |
|
215 |
menu entry patch. |
|
216 |
||
1234 | 217 |
* Fri Oct 10 2003 - [email protected] |
218 |
- upgrade deps versions |
|
1363 | 219 |
|
1182 | 220 |
* Fri Oct 03 2003 - <[email protected]> |
221 |
- remove man pages |
|
222 |
||
1058 | 223 |
* Thu Aug 14 2003 - <[email protected]> |
224 |
- remove *.a, *.la |
|
225 |
||
921 | 226 |
* Mon Aug 01 2003 - [email protected] |
227 |
- Add some menu categorization |
|
228 |
||
229 |
* Mon Jul 28 2003 - [email protected] |
|
833 | 230 |
- Updated POTFILES.in |
231 |
||
823 | 232 |
* Fri Jul 28 2003 - [email protected] |
233 |
- Install the applet as part of the main |
|
234 |
package. There is no reason to have an |
|
235 |
extra package for this one. |
|
236 |
||
808 | 237 |
* Fri Jul 25 2003 - [email protected] |
238 |
- Base package requires pilot-link |
|
239 |
||
769 | 240 |
* Thu Jul 24 2003 - <[email protected]> |
241 |
- Initial version |