author | dermotm |
Mon, 24 Jul 2006 12:30:39 +0000 | |
branch | gnome-2-10 |
changeset 19949 | 94f49bf19351 |
parent 19922 | 88864946d14e |
permissions | -rw-r--r-- |
1952 | 1 |
# |
19693 | 2 |
# spec file for package planner |
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. |
|
1952 | 7 |
# |
8 |
||
9 |
Name: planner |
|
10 |
License: GPL |
|
11 |
Group: Applications/Office |
|
19375 | 12 |
Version: 0.13 |
13 |
Release: 1 |
|
19693 | 14 |
Distribution: Java Desktop System |
1952 | 15 |
Vendor: Sun Microsystems, Inc. |
16 |
Summary: Planner, a project planning tool. |
|
17 |
Source: http://ftp.gnome.org/pub/GNOME/sources/planner/%{version}/planner-%{version}.tar.bz2 |
|
3751 | 18 |
Patch1: planner-01-menu-entry.diff |
19922
88864946d14e
* planner.spec: Add patch to remove compiler options that forte doesn't support.
dc144907
parents:
19858
diff
changeset
|
19 |
Patch2: planner-02-forte-switches.diff |
1952 | 20 |
URL: http://planner.imendio.org/ |
21 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
|
22 |
Docdir: %{_defaultdocdir}/doc |
|
23 |
Autoreqprov: on |
|
24 |
||
19375 | 25 |
%define mrproject_version 0.9.1 |
26 |
%define glib2_version 2.4.0 |
|
1952 | 27 |
%define gtk2_version 2.0.4 |
19375 | 28 |
%define libgnomecanvas_version 2.6.0 |
29 |
%define libgnomeui_version 2.6.0 |
|
30 |
%define libglade_version 2.4.0 |
|
31 |
%define libgnomeprintui_version 2.6.0 |
|
32 |
%define gnome_vfs_version 2.6.0 |
|
33 |
%define scrollkeeper_version 0.3.11 |
|
34 |
%define libxml2_version 2.4.7 |
|
19376 | 35 |
%define pygtk2_version 2.6.0 |
1952 | 36 |
|
19375 | 37 |
Requires: libxml2 >= %{libxml2_version} |
1952 | 38 |
Requires: glib2 >= %{glib2_version} |
39 |
Requires: gtk2 >= %{gtk2_version} |
|
40 |
Requires: libgnomecanvas >= %{libgnomecanvas_version} |
|
41 |
Requires: libgnomeui >= %{libgnomeui_version} |
|
42 |
Requires: libglade >= %{libglade_version} |
|
43 |
Requires: libgnomeprintui >= %{libgnomeprintui_version} |
|
44 |
Requires: gnome-vfs >= %{gnome_vfs_version} |
|
19376 | 45 |
Requires: pygtk2 >= %{pygtk2_version} |
19375 | 46 |
BuildRequires: libxml2-devel >= %{libxml2_version} |
1952 | 47 |
BuildRequires: glib2-devel >= %{glib2_version} |
48 |
BuildRequires: gtk2-devel >= %{gtk2_version} |
|
49 |
BuildRequires: libgnomecanvas-devel >= %{libgnomecanvas_version} |
|
50 |
BuildRequires: libgnomeui-devel >= %{libgnomeui_version} |
|
51 |
BuildRequires: libglade-devel >= %{libglade_version} |
|
52 |
BuildRequires: libgnomeprintui-devel >= %{libgnomeprintui_version} |
|
53 |
BuildRequires: gnome-vfs-devel >= %{gnome_vfs_version} |
|
19376 | 54 |
BuildRequires: pygtk2-devel >= %{pygtk2_version} |
1952 | 55 |
BuildRequires: scrollkeeper >= %{scrollkeeper_version} |
19375 | 56 |
BuildRequires: shared-mime-info |
1952 | 57 |
|
19375 | 58 |
Obsoletes: mrproject <= %{mrproject_version} |
59 |
Obsoletes: libmrproject <= %{mrproject_version} |
|
60 |
Provides: mrproject = %{mrproject_version} |
|
61 |
Provides: libmrproject = %{mrproject_version} |
|
1952 | 62 |
|
63 |
%description |
|
64 |
Planner is a tool for planning, scheduling and tracking projects. Planner is |
|
65 |
an open source project targetting the GNOME Desktop. |
|
66 |
||
67 |
%package devel |
|
3751 | 68 |
Summary: Development headers and files for the planner libraries |
69 |
Group: Development/Libraries/X11 |
|
70 |
Autoreqprov: on |
|
71 |
Requires: %{name} = %{version} |
|
19375 | 72 |
Requires: libxml2-devel >= %{libxml2_version} |
1952 | 73 |
Requires: glib2-devel >= %{glib2_version} |
74 |
Requires: gtk2-devel >= %{gtk2_version} |
|
75 |
Requires: libgnomecanvas-devel >= %{libgnomecanvas_version} |
|
76 |
Requires: libgnomeui-devel >= %{libgnomeui_version} |
|
77 |
Requires: libglade-devel >= %{libglade_version} |
|
78 |
Requires: libbonoboui-devel >= %{libbonoboui_version} |
|
79 |
Requires: libgnomeprintui-devel >= %{libgnomeprintui_version} |
|
80 |
Requires: gnome-vfs-devel >= %{gnome_vfs_version} |
|
81 |
||
19375 | 82 |
Obsoletes: libmrproject-devel <= %{mrproject_version} |
83 |
Provides: libmrproject-devel = %{mrproject_version} |
|
1952 | 84 |
|
85 |
||
86 |
%description devel |
|
87 |
Planner is a tool for planning, scheduling and tracking projects. Planner is |
|
88 |
an open source project targetting the GNOME Desktop. These files allow |
|
89 |
developers to develop using Planner's features. |
|
90 |
||
91 |
%prep |
|
92 |
%setup -q |
|
19375 | 93 |
%patch1 -p1 |
19922
88864946d14e
* planner.spec: Add patch to remove compiler options that forte doesn't support.
dc144907
parents:
19858
diff
changeset
|
94 |
%ifos solaris |
88864946d14e
* planner.spec: Add patch to remove compiler options that forte doesn't support.
dc144907
parents:
19858
diff
changeset
|
95 |
%patch2 -p1 |
88864946d14e
* planner.spec: Add patch to remove compiler options that forte doesn't support.
dc144907
parents:
19858
diff
changeset
|
96 |
%endif |
1952 | 97 |
|
4455 | 98 |
|
1952 | 99 |
%build |
3628 | 100 |
%ifos linux |
101 |
if [ -x /usr/bin/getconf ]; then |
|
102 |
CPUS=`getconf _NPROCESSORS_ONLN` |
|
103 |
fi |
|
104 |
%else |
|
3846 | 105 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '` |
3628 | 106 |
%endif |
107 |
if test "x$CPUS" = "x" -o $CPUS = 0; then |
|
108 |
CPUS=1 |
|
109 |
fi |
|
110 |
||
111 |
libtoolize --force |
|
19243 | 112 |
aclocal $ACLOCAL_FLAGS -I . |
3628 | 113 |
gtkdocize |
114 |
autoheader |
|
115 |
automake -a -c -f |
|
116 |
autoconf |
|
1952 | 117 |
CFLAGS="$RPM_OPT_FLAGS" \ |
3751 | 118 |
./configure --prefix=%{_prefix} \ |
4536 | 119 |
--bindir=%{_bindir} \ |
120 |
--libdir=%{_libdir} \ |
|
121 |
--includedir=%{_includedir} \ |
|
3751 | 122 |
--enable-gtk-doc \ |
19858 | 123 |
--disable-update-mimedb \ |
1952 | 124 |
--sysconfdir=%{_sysconfdir} |
3274 | 125 |
make |
1952 | 126 |
|
127 |
%install |
|
128 |
make install DESTDIR=$RPM_BUILD_ROOT |
|
3628 | 129 |
#clean up unpackaged files |
130 |
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la |
|
131 |
rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/file-modules/*.la |
|
132 |
rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/plugins/*.la |
|
133 |
rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/storage-modules/*.la |
|
134 |
rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/views/*.la |
|
19486 | 135 |
rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/*.la |
19492
d54afefdb941
* planner.spec: Remove '%{_datadir}/mime directory.
dc144907
parents:
19489
diff
changeset
|
136 |
rm -rf $RPM_BUILD_ROOT%{_datadir}/mime |
1952 | 137 |
|
4966
5be0d828467e
#6222302 / #6222336 : Remove items from main help TOC
mattk
parents:
4882
diff
changeset
|
138 |
# Remove from yelp |
5be0d828467e
#6222302 / #6222336 : Remove items from main help TOC
mattk
parents:
4882
diff
changeset
|
139 |
rm -rf $RPM_BUILD_ROOT%{_datadir}/omf/planner |
5be0d828467e
#6222302 / #6222336 : Remove items from main help TOC
mattk
parents:
4882
diff
changeset
|
140 |
|
1952 | 141 |
%clean |
142 |
rm -rf $RPM_BUILD_ROOT |
|
143 |
||
144 |
%files |
|
145 |
%defattr(-,root,root) |
|
146 |
%{_bindir}/planner |
|
147 |
%{_datadir}/application-registry/* |
|
148 |
%{_datadir}/applications/* |
|
149 |
%{_datadir}/gnome/help/planner/* |
|
150 |
%{_datadir}/locale/* |
|
151 |
%{_datadir}/mime-info/* |
|
19485
a01d552ba00b
* planner.spec: Remove omf/planner dir from %files as the dir was removed
dc144907
parents:
19472
diff
changeset
|
152 |
# Files removed from yelp. |
a01d552ba00b
* planner.spec: Remove omf/planner dir from %files as the dir was removed
dc144907
parents:
19472
diff
changeset
|
153 |
# %{_datadir}/omf/planner/* |
1952 | 154 |
%{_datadir}/pixmaps/* |
155 |
%{_datadir}/planner/* |
|
156 |
%{_libdir}/planner/*/*.so |
|
157 |
%{_libdir}/libplanner*.so |
|
19486 | 158 |
%{_libdir}/planner/*.so |
159 |
%{_datadir}/doc/planner/* |
|
160 |
%{_datadir}/icons |
|
161 |
%{_sysconfdir}/gconf/schemas/planner.schemas |
|
1952 | 162 |
|
163 |
%files devel |
|
164 |
%{_datadir}/gtk-doc/html/* |
|
165 |
%{_includedir}/planner*/libplanner/*.h |
|
166 |
%{_libdir}/pkgconfig/libplanner*.pc |
|
19486 | 167 |
%{_libdir}/libplanner*.so.* |
168 |
%{_libdir}/python2.3 |
|
1952 | 169 |
|
170 |
%changelog |
|
19922
88864946d14e
* planner.spec: Add patch to remove compiler options that forte doesn't support.
dc144907
parents:
19858
diff
changeset
|
171 |
* Thu Sep 29 2005 - [email protected] |
88864946d14e
* planner.spec: Add patch to remove compiler options that forte doesn't support.
dc144907
parents:
19858
diff
changeset
|
172 |
- Add patch to remove compiler options that forte doesn't support. |
88864946d14e
* planner.spec: Add patch to remove compiler options that forte doesn't support.
dc144907
parents:
19858
diff
changeset
|
173 |
|
19515 | 174 |
* Fri Jul 01 2005 - [email protected] |
175 |
- Add pkgconfig patch |
|
176 |
||
19492
d54afefdb941
* planner.spec: Remove '%{_datadir}/mime directory.
dc144907
parents:
19489
diff
changeset
|
177 |
* Wed Jun 29 2005 - [email protected] |
d54afefdb941
* planner.spec: Remove '%{_datadir}/mime directory.
dc144907
parents:
19489
diff
changeset
|
178 |
- Remove '%{_datadir}/mime directory. |
d54afefdb941
* planner.spec: Remove '%{_datadir}/mime directory.
dc144907
parents:
19489
diff
changeset
|
179 |
|
19485
a01d552ba00b
* planner.spec: Remove omf/planner dir from %files as the dir was removed
dc144907
parents:
19472
diff
changeset
|
180 |
* Sat Jun 25 2005 - [email protected] |
a01d552ba00b
* planner.spec: Remove omf/planner dir from %files as the dir was removed
dc144907
parents:
19472
diff
changeset
|
181 |
- Remove omf/planner dir from %files as the dir was removed during %install. |
a01d552ba00b
* planner.spec: Remove omf/planner dir from %files as the dir was removed
dc144907
parents:
19472
diff
changeset
|
182 |
|
19472 | 183 |
* Wed Jun 22 2005 - [email protected] |
184 |
- Update l10n |
|
185 |
||
19375 | 186 |
* Wed Jun 08 2005 - [email protected] |
187 |
- Bump to 0.13 |
|
188 |
||
19355 | 189 |
* Tue May 25 2005 - [email protected] |
190 |
- Fix build. |
|
191 |
||
5072 | 192 |
* Fri Feb 11 2005 - [email protected] |
193 |
- Updated planner.spec to obsolete/provide the proper version of mrproject |
|
194 |
and libmrproject[-devel]. Fixes 6228278. |
|
195 |
||
4966
5be0d828467e
#6222302 / #6222336 : Remove items from main help TOC
mattk
parents:
4882
diff
changeset
|
196 |
* Fri Jan 28 2005 - [email protected] |
5be0d828467e
#6222302 / #6222336 : Remove items from main help TOC
mattk
parents:
4882
diff
changeset
|
197 |
- #6222336 : Remove from yelp |
5be0d828467e
#6222302 / #6222336 : Remove items from main help TOC
mattk
parents:
4882
diff
changeset
|
198 |
|
4882 | 199 |
* Thu Jan 20 2005 - [email protected] |
200 |
- Added patch planner-06-save_as_crash.diff to fix bug #6219432 |
|
201 |
||
4536 | 202 |
* Fri Nov 12 2004 - [email protected] |
203 |
- Added --bindir and --libdir to configure opts so they can be redirected |
|
204 |
on Solaris |
|
205 |
||
4185
590dfb2c6dff
Updating spec-files to include All Linguas patches
cm152228
parents:
4149
diff
changeset
|
206 |
* Thu Oct 07 2004 - [email protected] |
590dfb2c6dff
Updating spec-files to include All Linguas patches
cm152228
parents:
4149
diff
changeset
|
207 |
- Added planner-05-g11n-alllinguas.diff to add zh_TW locale |
590dfb2c6dff
Updating spec-files to include All Linguas patches
cm152228
parents:
4149
diff
changeset
|
208 |
|
4149 | 209 |
* Tue Oct 05 2004 - [email protected] |
210 |
- Added planner-04-g11n-i18n-ui.diff to localize gnome-file-types-properties. |
|
211 |
Fixed 6173638 |
|
212 |
||
4094 | 213 |
* Wed Sep 29 2004 - [email protected] |
214 |
- Added patch planner-03-fix-putenv-crash.diff. |
|
215 |
Fixes bug #5103739. |
|
216 |
||
3751 | 217 |
* Thu Aug 24 2004 - [email protected] |
218 |
- added gtk-docs. |
|
219 |
||
3628 | 220 |
* Wed Jul 14 2004 - [email protected] |
221 |
- fixed packaging for rpm4 and commented out |
|
222 |
"-j $CPUS" which is breaking the build. |
|
223 |
||
224 |
* Thu Jul 08 2004 - [email protected] |
|
225 |
- Updated l10n content to planner-l10n-po-1.2.tar.bz2 |
|
226 |
||
227 |
* Thu Jul 08 2004 - [email protected] |
|
228 |
- undid -j $CPUS for this module |
|
229 |
||
3279
5d64ee516a02
Bumped l10n tarball revision from 1.1 to 1.2 in all spec-files.
damiend
parents:
3274
diff
changeset
|
230 |
* Thu Jul 08 2004 - [email protected] |
5d64ee516a02
Bumped l10n tarball revision from 1.1 to 1.2 in all spec-files.
damiend
parents:
3274
diff
changeset
|
231 |
- Updated l10n content to planner-l10n-po-1.2.tar.bz2 |
5d64ee516a02
Bumped l10n tarball revision from 1.1 to 1.2 in all spec-files.
damiend
parents:
3274
diff
changeset
|
232 |
|
3274 | 233 |
* Thu Jul 08 2004 - [email protected] |
234 |
- undid -j $CPUS for this module |
|
235 |
||
3263 | 236 |
* Wed Jul 07 2004 - [email protected] |
237 |
- added "-j $CPUS" to make to speed up builds |
|
238 |
||
2736
bd6e69980863
Updated all spec files to reflect 1.1 version l10n tarballs delivered into
damiend
parents:
2619
diff
changeset
|
239 |
* 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
|
240 |
- Updated l10n content to planner-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
|
241 |
|
2485 | 242 |
* Sun Apr 18 2004 - [email protected] |
243 |
- enable javahelp conversion on Solaris |
|
244 |
||
2362
ef2590f64b05
Javahelp conversion : surrounded by %ifos calls, until solaris specifics are resolved
mattk
parents:
2355
diff
changeset
|
245 |
* Thu Apr 01 2004 - [email protected] |
ef2590f64b05
Javahelp conversion : surrounded by %ifos calls, until solaris specifics are resolved
mattk
parents:
2355
diff
changeset
|
246 |
- Javahelp conversion |
ef2590f64b05
Javahelp conversion : surrounded by %ifos calls, until solaris specifics are resolved
mattk
parents:
2355
diff
changeset
|
247 |
|
2355 | 248 |
* Wed Mar 31 2004 - [email protected] |
249 |
- replace tar jxf with the more solaris friendly |
|
250 |
bzcat piped through tar |
|
251 |
||
2350 | 252 |
* Mon Mar 29 2004 - [email protected] |
253 |
- Adding planner-l10n-po-1.0.tar.bz2 l10n content |
|
254 |
||
2191 | 255 |
* Thu Mar 11 2004 - [email protected] |
256 |
- added planner-02-g11n-potfiles.diff |
|
257 |
||
1952 | 258 |
* Tue Feb 24 2004 - [email protected] |
259 |
- Initial package. Based on mrproject 0.9.1. |
|
260 |
- Ported menu entry change, based on the mrproject patch. |