5 Release: 2 |
5 Release: 2 |
6 Distribution: Mercury |
6 Distribution: Mercury |
7 Vendor: Sun Microsystems, Inc. |
7 Vendor: Sun Microsystems, Inc. |
8 Summary: PalmOS link utilities |
8 Summary: PalmOS link utilities |
9 Source: %{name}-%{version}.tar.bz2 |
9 Source: %{name}-%{version}.tar.bz2 |
10 URL: http://www.gnome.org/gnome-pilot/ |
10 URL: http://ftp.gnome.org/pub/GNOME/sources/gnome-pilot |
11 BuildRoot: %{_tmppath}/%{name}-%{version}-root |
11 BuildRoot: %{_tmppath}/%{name}-%{version}-root |
12 Docdir: %{_defaultdocdir}/gnome-pilot |
12 Docdir: %{_defaultdocdir}/gnome-pilot |
13 Autoreqprov: on |
13 Autoreqprov: on |
14 Epoch: 1 |
|
15 |
14 |
16 %define pilot_link_version 0.11.7 |
15 %define pilot_link_version 0.11.7 |
|
16 %define scrollkeeper_version 0.3.11 |
|
17 %define gnome_panel_version 2.2.1 |
|
18 |
|
19 Requires: scrollkeeper >= %{scrollkeeper_version} |
|
20 Requires: gnome-panel >= %{gnome_panel_version} |
17 Requires: pilot-link >= %{pilot_link_version} |
21 Requires: pilot-link >= %{pilot_link_version} |
18 BuildRequires: gettext |
22 BuildRequires: scrollkeeper >= %{scrollkeeper_version} |
19 BuildRequires: bonobo-activation-devel |
|
20 BuildRequires: libgnomeui-devel |
|
21 BuildRequires: ORBit2-devel |
|
22 BuildRequires: libbonobo-devel |
|
23 BuildRequires: libgnome-devel |
|
24 BuildRequires: libglade-devel |
|
25 BuildRequires: gnome-vfs-devel |
|
26 BuildRequires: gtk2-devel |
|
27 BuildRequires: glib2-devel |
|
28 BuildRequires: libbonoboui-devel |
|
29 BuildRequires: libIDL-devel |
|
30 BuildRequires: linc-devel |
|
31 BuildRequires: libxml2-devel |
|
32 BuildRequires: pango-devel |
|
33 BuildRequires: libgnomecanvas-devel |
|
34 BuildRequires: libart_lgpl-devel |
|
35 BuildRequires: gnome-panel |
|
36 BuildRequires: gnome-desktop-devel |
|
37 BuildRequires: libwnck |
|
38 BuildRequires: GConf-devel |
|
39 BuildRequires: pilot-link-devel >= %{pilot_link_version} |
23 BuildRequires: pilot-link-devel >= %{pilot_link_version} |
|
24 |
40 Prereq: scrollkeeper |
25 Prereq: scrollkeeper |
41 |
26 |
42 %description |
27 %description |
43 GNOME Pilot is a collection of programs and daemons for using |
28 GNOME Pilot is a collection of programs and daemons for using |
44 Palm OS-based systems with GNOME, the complete user-friendly desktop |
29 Palm OS-based systems with GNOME, the complete user-friendly desktop |
45 based entirely on free software. |
30 based entirely on free software. |
46 |
|
47 %files |
|
48 %defattr(-, root, root) |
|
49 %{_datadir}/control-center-2.0/capplets/* |
|
50 %{_datadir}/idl/* |
|
51 %{_datadir}/mime-info/* |
|
52 %{_datadir}/pixmaps/* |
|
53 %{_bindir}/* |
|
54 %{_libexecdir}/gpilotd |
|
55 %{_libdir}/bonobo/servers/GNOME_Pilot_Daemon.server |
|
56 %{_libdir}/gnome-pilot |
|
57 %dir %{_datadir}/gnome-pilot |
|
58 %dir %{_datadir}/gnome-pilot/glade |
|
59 %{_datadir}/gnome-pilot/conduits |
|
60 %{_datadir}/gnome-pilot/glade/*.png |
|
61 %{_datadir}/gnome-pilot/glade/gpilotd-capplet.glade |
|
62 %{_datadir}/gnome/help/* |
|
63 %{_datadir}/omf/* |
|
64 %{_datadir}/man/man1/* |
|
65 %{_libdir}/*.so.* |
|
66 |
|
67 |
|
68 %post |
|
69 /sbin/ldconfig |
|
70 /usr/bin/scrollkeeper-update -q |
|
71 |
31 |
72 %package -n gnome-pilot-devel |
32 %package -n gnome-pilot-devel |
73 Summary: Pilot development header files. |
33 Summary: Pilot development header files. |
74 Group: Development/Libraries |
34 Group: Development/Libraries |
75 Requires: gnome-pilot = %{version}-%{release} |
35 Requires: gnome-pilot = %{version}-%{release} |
78 %description -n gnome-pilot-devel |
38 %description -n gnome-pilot-devel |
79 GNOME Pilot is a collection of programs and daemons for using |
39 GNOME Pilot is a collection of programs and daemons for using |
80 Palm OS-based systems with GNOME, the complete user-friendly desktop |
40 Palm OS-based systems with GNOME, the complete user-friendly desktop |
81 based entirely on free software. |
41 based entirely on free software. |
82 |
42 |
83 %files -n gnome-pilot-devel |
|
84 %defattr(-, root, root) |
|
85 %{_includedir}/* |
|
86 %{_libdir}/*.a |
|
87 %{_libdir}/pkgconfig/* |
|
88 %{_libdir}/*.so |
|
89 %{_libdir}/*.la |
|
90 |
|
91 %package -n gnome-pilot-applet |
|
92 Summary: GNOME Pilot Panel Applet |
|
93 Group: Applications/Communications |
|
94 Requires: gnome-pilot = %{version}-%{release} |
|
95 Prereq: GConf |
|
96 |
|
97 %description -n gnome-pilot-applet |
|
98 GNOME Pilot provides this panel applet for control and status on your GNOME 1.4 based desktop. This package will not work with GNOME 2.x |
|
99 |
|
100 %files -n gnome-pilot-applet |
|
101 %defattr(-, root, root) |
|
102 %{_libdir}/bonobo/servers/GNOME_PilotApplet.server |
|
103 %{_libexecdir}/gpilot-applet |
|
104 %{_datadir}/gnome-pilot/glade/pilot-applet.glade |
|
105 %{_datadir}/locale/*/LC_MESSAGES/* |
|
106 %{_sysconfdir}/gconf/schemas/pilot.schemas |
|
107 |
|
108 %post -n gnome-pilot-applet |
|
109 /usr/bin/scrollkeeper-update -q |
|
110 export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` |
|
111 SCHEMAS="pilot.schemas" |
|
112 for S in $SCHEMAS; do |
|
113 gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/$S >/dev/null |
|
114 done |
|
115 GCONF_CONFIG_SOURCE=`/usr/bin/gconftool-2 --get-default-source` /usr/bin/gconftool-2 --makefile-install-rule /etc/gconf/schemas/pilot.schemas |
|
116 |
|
117 %prep |
43 %prep |
118 %setup -q |
44 %setup -q |
119 |
45 |
120 %build |
46 %build |
121 CFLAGS="$RPM_OPT_FLAGS" \ |
47 CFLAGS="$RPM_OPT_FLAGS" \ |
122 ./configure --prefix=%{_prefix} \ |
48 ./configure --prefix=%{_prefix} \ |
123 --datadir=%{_datadir} \ |
49 --sysconfdir=%{_sysconfdir} \ |
124 --sysconfdir=%{_sysconfdir} \ |
50 --mandir=%{_mandir} \ |
125 --libdir=%{_libdir} \ |
51 --localstatedir=/var |
126 --libexecdir=%{_libexecdir} \ |
|
127 --localstatedir=/var \ |
|
128 --includedir=%{_includedir} \ |
|
129 --mandir=%{_mandir} \ |
|
130 --infodir=%{_datadir}/info \ |
|
131 --exec-prefix=%{_prefix} |
|
132 make |
52 make |
133 |
53 |
134 %install |
54 %install |
135 rm -rf $RPM_BUILD_ROOT |
55 rm -rf $RPM_BUILD_ROOT |
136 export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 |
56 export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 |
138 unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL |
58 unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL |
139 |
59 |
140 %clean |
60 %clean |
141 rm -rf $RPM_BUILD_ROOT |
61 rm -rf $RPM_BUILD_ROOT |
142 |
62 |
|
63 %post |
|
64 scrollkeeper-update -q |
|
65 export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` |
|
66 SCHEMAS="pilot.schemas" |
|
67 for S in $SCHEMAS; do |
|
68 gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/$S >/dev/null |
|
69 done |
|
70 |
|
71 %postun |
|
72 scrollkeeper-update -q |
|
73 |
|
74 %files |
|
75 %defattr(-, root, root) |
|
76 %{_datadir}/locale/*/LC_MESSAGES/* |
|
77 %{_datadir}/control-center-2.0/capplets/* |
|
78 %{_datadir}/idl/* |
|
79 %{_datadir}/mime-info/* |
|
80 %{_datadir}/pixmaps/* |
|
81 %{_bindir}/* |
|
82 %{_libexecdir}/* |
|
83 %{_libdir}/bonobo/servers/* |
|
84 %{_libdir}/gnome-pilot |
|
85 %dir %{_datadir}/gnome-pilot |
|
86 %dir %{_datadir}/gnome-pilot/glade |
|
87 %{_datadir}/gnome-pilot/conduits |
|
88 %{_datadir}/gnome-pilot/glade/*.png |
|
89 %{_datadir}/gnome-pilot/glade/*.glade |
|
90 %{_datadir}/gnome/help/* |
|
91 %{_datadir}/omf/* |
|
92 %{_datadir}/man/man1/* |
|
93 %{_sysconfdir}/gconf/schemas/pilot.schemas |
|
94 %{_libdir}/*.so.* |
|
95 |
|
96 %files -n gnome-pilot-devel |
|
97 %defattr(-, root, root) |
|
98 %{_includedir}/* |
|
99 %{_libdir}/*.a |
|
100 %{_libdir}/pkgconfig/* |
|
101 %{_libdir}/*.so |
|
102 %{_libdir}/*.la |
|
103 |
143 %changelog |
104 %changelog |
|
105 * Fri Jul 28 2003 - [email protected] |
|
106 - Install the applet as part of the main |
|
107 package. There is no reason to have an |
|
108 extra package for this one. |
|
109 |
144 * Fri Jul 25 2003 - [email protected] |
110 * Fri Jul 25 2003 - [email protected] |
145 - Base package requires pilot-link |
111 - Base package requires pilot-link |
146 |
112 |
147 * Thu Jul 24 2003 - <[email protected]> |
113 * Thu Jul 24 2003 - <[email protected]> |
148 - Initial version |
114 - Initial version |