author | laca |
Tue, 29 Nov 2005 16:13:59 +0000 | |
changeset 6299 | 4b3aea37c890 |
parent 5518 | 235b0b4aa324 |
child 6553 | 2c0b3872dea3 |
permissions | -rw-r--r-- |
5518 | 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 |
|
5518 | 11 |
Version: 2.0.13 |
12 |
Release: 1 |
|
13 |
Distribution: Java Desktop System |
|
769 | 14 |
Vendor: Sun Microsystems, Inc. |
15 |
Summary: PalmOS link utilities |
|
5518 | 16 |
Source: http://ftp.gnome.org/pub/GNOME/sources/%{name}/2.0/%{name}-%{version}.tar.bz2 |
17 |
Source1: gpilot-install-file.1.gz |
|
18 |
Source2: gpilotd-control-applet.1.gz |
|
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 |
|
5518 | 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 |
|
1787 | 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 |
5518 | 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 |
5518 | 93 |
install --mode=0644 %SOURCE1 $RPM_BUILD_ROOT%{_mandir}/man1 |
94 |
install --mode=0644 %SOURCE2 $RPM_BUILD_ROOT%{_mandir}/man1 |
|
769 | 95 |
|
2362
ef2590f64b05
Javahelp conversion : surrounded by %ifos calls, until solaris specifics are resolved
mattk
parents:
2350
diff
changeset
|
96 |
|
3628 | 97 |
rm $RPM_BUILD_ROOT%{_libdir}/gnome-pilot/conduits/*.a |
98 |
rm $RPM_BUILD_ROOT%{_libdir}/gnome-pilot/conduits/*.la |
|
99 |
rm $RPM_BUILD_ROOT%{_libdir}/*.a |
|
100 |
rm $RPM_BUILD_ROOT%{_libdir}/*.la |
|
101 |
||
102 |
||
769 | 103 |
%clean |
104 |
rm -rf $RPM_BUILD_ROOT |
|
105 |
||
823 | 106 |
%post |
107 |
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` |
|
108 |
SCHEMAS="pilot.schemas" |
|
109 |
for S in $SCHEMAS; do |
|
110 |
gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/$S >/dev/null |
|
111 |
done |
|
112 |
||
113 |
%files |
|
114 |
%defattr(-, root, root) |
|
115 |
%{_datadir}/locale/*/LC_MESSAGES/* |
|
5518 | 116 |
%{_datadir}/applications |
823 | 117 |
%{_datadir}/idl/* |
118 |
%{_datadir}/mime-info/* |
|
119 |
%{_datadir}/pixmaps/* |
|
120 |
%{_bindir}/* |
|
121 |
%{_libexecdir}/* |
|
122 |
%{_libdir}/bonobo/servers/* |
|
1060 | 123 |
%{_libdir}/gnome-pilot/conduits/*.so |
823 | 124 |
%dir %{_datadir}/gnome-pilot |
125 |
%dir %{_datadir}/gnome-pilot/glade |
|
5518 | 126 |
%{_datadir}/gnome-pilot/devices.xml |
1060 | 127 |
%{_datadir}/gnome-pilot/conduits |
823 | 128 |
%{_datadir}/gnome-pilot/glade/*.png |
129 |
%{_datadir}/gnome-pilot/glade/*.glade |
|
130 |
%{_datadir}/gnome/help/* |
|
131 |
%{_datadir}/omf/* |
|
132 |
%{_sysconfdir}/gconf/schemas/pilot.schemas |
|
133 |
%{_libdir}/*.so.* |
|
2156 | 134 |
%{_datadir}/gnome-2.0/ui/* |
3628 | 135 |
%{_mandir}/man1/* |
823 | 136 |
|
137 |
%files -n gnome-pilot-devel |
|
138 |
%defattr(-, root, root) |
|
139 |
%{_includedir}/* |
|
140 |
%{_libdir}/pkgconfig/* |
|
141 |
%{_libdir}/*.so |
|
142 |
||
769 | 143 |
%changelog |
6299 | 144 |
* Tue Nov 29 2005 - laca.com |
145 |
- remove javahelp stuff |
|
146 |
||
5518 | 147 |
* Tue May 17 2005 - [email protected] |
148 |
- Port to 2.0.13 |
|
149 |
||
5068 | 150 |
* Fri Feb 11 2005 - [email protected] |
151 |
- Added patch to make help button in gnome-pilot settings point to |
|
152 |
correct location.Fixes bug 6225082 |
|
153 |
||
4985 | 154 |
* Mon Jan 31 2005 - [email protected] |
155 |
- Increased the Release number by 200. The problem is that the release |
|
156 |
counter has been reset during the JDS 3 release cycle but the version |
|
157 |
number has not changed. This causes an update problem because the version |
|
158 |
in JDS 2 appears to be newer than this version. Fixes 6222834. |
|
159 |
||
4939
8b97afb096ab
* gnome-pilot.spec: Update docs with Linux specific tarball from
dc144907
parents:
4867
diff
changeset
|
160 |
* Wed Jan 26 2005 - [email protected] |
8b97afb096ab
* gnome-pilot.spec: Update docs with Linux specific tarball from
dc144907
parents:
4867
diff
changeset
|
161 |
- 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
|
162 |
|
4844 | 163 |
* Fri Jan 14 2005 - [email protected] |
164 |
- Updated l10n help tarball for cinnabar-linux |
|
165 |
||
4594 | 166 |
* Wed Nov 17 2004 - [email protected] |
167 |
- #6195855, install correct man page |
|
168 |
||
4357 | 169 |
* Thu Oct 28 2004 - [email protected] |
170 |
- Add gpilot-install-file.1, gpilotd-control-applet.1 man pages |
|
171 |
||
3734 | 172 |
* Wed Aug 25 2004 - [email protected] |
173 |
- Added l10n help files with patch |
|
174 |
||
3627
0d38058536e2
* gnome-pilot.spec, gdm.spec: Integrated updated docs tarball from
dc144907
parents:
3580
diff
changeset
|
175 |
* Thu Aug 19 2004 - [email protected] |
0d38058536e2
* gnome-pilot.spec, gdm.spec: Integrated updated docs tarball from
dc144907
parents:
3580
diff
changeset
|
176 |
- Integrated updated docs tarball from [email protected]. |
0d38058536e2
* gnome-pilot.spec, gdm.spec: Integrated updated docs tarball from
dc144907
parents:
3580
diff
changeset
|
177 |
|
3575 | 178 |
* Mon Aug 16 2004 - [email protected] |
179 |
- Help invocation for the applet is implemented. |
|
180 |
||
3279
5d64ee516a02
Bumped l10n tarball revision from 1.1 to 1.2 in all spec-files.
damiend
parents:
3263
diff
changeset
|
181 |
* 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
|
182 |
- 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
|
183 |
|
3628 | 184 |
* Wed Jul 07 2004 - [email protected] |
185 |
- ported to rpm4 |
|
186 |
||
3263 | 187 |
* Wed Jul 07 2004 - [email protected] |
188 |
- added "-j $CPUS" to make to speed up builds |
|
189 |
||
3063
17d9fd16c959
Integrated docs and associated patch from [email protected].
dc144907
parents:
2958
diff
changeset
|
190 |
* Wed Jun 09 2004 - [email protected] |
17d9fd16c959
Integrated docs and associated patch from [email protected].
dc144907
parents:
2958
diff
changeset
|
191 |
- Integrated docs and associated patch from [email protected] |
17d9fd16c959
Integrated docs and associated patch from [email protected].
dc144907
parents:
2958
diff
changeset
|
192 |
|
2736
bd6e69980863
Updated all spec files to reflect 1.1 version l10n tarballs delivered into
damiend
parents:
2619
diff
changeset
|
193 |
* 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
|
194 |
- 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
|
195 |
|
2485 | 196 |
* Sun Apr 18 2004 - [email protected] |
197 |
- enable javahelp conversion on Solaris |
|
198 |
||
2362
ef2590f64b05
Javahelp conversion : surrounded by %ifos calls, until solaris specifics are resolved
mattk
parents:
2350
diff
changeset
|
199 |
* Thu Apr 01 2004 - [email protected] |
ef2590f64b05
Javahelp conversion : surrounded by %ifos calls, until solaris specifics are resolved
mattk
parents:
2350
diff
changeset
|
200 |
- Javahelp conversion |
ef2590f64b05
Javahelp conversion : surrounded by %ifos calls, until solaris specifics are resolved
mattk
parents:
2350
diff
changeset
|
201 |
|
2350 | 202 |
* Mon Mar 29 2004 - [email protected] |
203 |
- Updated l10n content to gnome-pilot-l10n-po-1.0.tar.bz2 |
|
204 |
||
2226 | 205 |
* Tue Mar 16 2004 - [email protected] |
206 |
- add patch5 to fix build with newer versions of automake |
|
2233 | 207 |
- add --libexecdir |
2226 | 208 |
|
2156 | 209 |
* Fri Mar 05 2004 - [email protected] |
210 |
- Modified %files section in spec file to fix 4932068 |
|
211 |
- Changed gnome-pilot-04-trans-pilot-menu.diff to gnome-pilot-04-g11n-i18n-ui.diff |
|
212 |
||
1787 | 213 |
* Wed Feb 18 2004 - [email protected] |
214 |
- Updated distro to Cinnabar, added l10n stuff |
|
215 |
- Port patchs 03/04, and libtoolize it |
|
216 |
||
1363 | 217 |
* Fri Oct 31 2003 - [email protected] |
218 |
- Remove the Sun Settings keyword from the |
|
219 |
menu entry patch. |
|
220 |
||
1234 | 221 |
* Fri Oct 10 2003 - [email protected] |
222 |
- upgrade deps versions |
|
1363 | 223 |
|
1182 | 224 |
* Fri Oct 03 2003 - <[email protected]> |
225 |
- remove man pages |
|
226 |
||
1058 | 227 |
* Thu Aug 14 2003 - <[email protected]> |
228 |
- remove *.a, *.la |
|
229 |
||
921 | 230 |
* Mon Aug 01 2003 - [email protected] |
231 |
- Add some menu categorization |
|
232 |
||
233 |
* Mon Jul 28 2003 - [email protected] |
|
833 | 234 |
- Updated POTFILES.in |
235 |
||
823 | 236 |
* Fri Jul 28 2003 - [email protected] |
237 |
- Install the applet as part of the main |
|
238 |
package. There is no reason to have an |
|
239 |
extra package for this one. |
|
240 |
||
808 | 241 |
* Fri Jul 25 2003 - [email protected] |
242 |
- Base package requires pilot-link |
|
243 |
||
769 | 244 |
* Thu Jul 24 2003 - <[email protected]> |
245 |
- Initial version |