author | dermotm |
Mon, 06 Sep 2004 10:13:24 +0000 | |
changeset 3858 | a0a00bd9bb27 |
parent 3846 | 9ab79af72b15 |
child 4007 | 3cf8b6afa295 |
permissions | -rw-r--r-- |
1952 | 1 |
# |
2 |
# Copyright (c) Sun Microsystems, Inc. |
|
3 |
# |
|
4 |
||
5 |
Name: planner |
|
6 |
License: GPL |
|
7 |
Group: Applications/Office |
|
8 |
Version: 0.11 |
|
3858 | 9 |
Release: 23 |
3751 | 10 |
Distribution: Cinnabar |
1952 | 11 |
Vendor: Sun Microsystems, Inc. |
12 |
Summary: Planner, a project planning tool. |
|
13 |
Source: http://ftp.gnome.org/pub/GNOME/sources/planner/%{version}/planner-%{version}.tar.bz2 |
|
3751 | 14 |
Source1: planner-l10n-po-1.3.tar.bz2 |
15 |
Patch1: planner-01-menu-entry.diff |
|
16 |
Patch2: planner-02-g11n-potfiles.diff |
|
1952 | 17 |
URL: http://planner.imendio.org/ |
18 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
|
19 |
Docdir: %{_defaultdocdir}/doc |
|
20 |
Autoreqprov: on |
|
21 |
Prereq: scrollkeeper |
|
22 |
||
3751 | 23 |
%define mrproject_version 0.10 |
1952 | 24 |
%define glib2_version 2.0.4 |
25 |
%define gtk2_version 2.0.4 |
|
26 |
%define libgnomecanvas_version 2.0.1 |
|
27 |
%define libgnomeui_version 2.0.1 |
|
28 |
%define libglade_version 2.0.0 |
|
29 |
%define libbonoboui_version 2.0.0 |
|
30 |
%define libgnomeprintui_version 2.1.9 |
|
31 |
%define gnome_vfs_version 2.0.2 |
|
32 |
%define scrollkeeper_version 0.3.11 |
|
3751 | 33 |
%define libxml2_version 2.4.7 |
1952 | 34 |
|
35 |
Requires: libxml2 >= %{libxml2_version} |
|
36 |
Requires: glib2 >= %{glib2_version} |
|
37 |
Requires: gtk2 >= %{gtk2_version} |
|
38 |
Requires: libgnomecanvas >= %{libgnomecanvas_version} |
|
39 |
Requires: libgnomeui >= %{libgnomeui_version} |
|
40 |
Requires: libglade >= %{libglade_version} |
|
41 |
Requires: libbonoboui >= %{libbonoboui_version} |
|
42 |
Requires: libgnomeprintui >= %{libgnomeprintui_version} |
|
43 |
Requires: gnome-vfs >= %{gnome_vfs_version} |
|
44 |
Requires: scrollkeeper >= %{scrollkeeper_version} |
|
45 |
BuildRequires: libxml2-devel >= %{libxml2_version} |
|
46 |
BuildRequires: glib2-devel >= %{glib2_version} |
|
47 |
BuildRequires: gtk2-devel >= %{gtk2_version} |
|
48 |
BuildRequires: libgnomecanvas-devel >= %{libgnomecanvas_version} |
|
49 |
BuildRequires: libgnomeui-devel >= %{libgnomeui_version} |
|
50 |
BuildRequires: libglade-devel >= %{libglade_version} |
|
51 |
BuildRequires: libbonoboui-devel >= %{libbonoboui_version} |
|
52 |
BuildRequires: libgnomeprintui-devel >= %{libgnomeprintui_version} |
|
53 |
BuildRequires: gnome-vfs-devel >= %{gnome_vfs_version} |
|
54 |
BuildRequires: scrollkeeper >= %{scrollkeeper_version} |
|
2456 | 55 |
BuildRequires: javahelp-convert |
1952 | 56 |
|
3751 | 57 |
Obsoletes: mrproject < %{mrproject_version} |
58 |
Obsoletes: libmrproject < %{mrproject_version} |
|
59 |
Provides: mrproject = %{mrproject_version} |
|
60 |
Provides: libmrproject = %{mrproject_version} |
|
1952 | 61 |
|
62 |
%description |
|
63 |
Planner is a tool for planning, scheduling and tracking projects. Planner is |
|
64 |
an open source project targetting the GNOME Desktop. |
|
65 |
||
66 |
%package devel |
|
3751 | 67 |
Summary: Development headers and files for the planner libraries |
68 |
Group: Development/Libraries/X11 |
|
69 |
Autoreqprov: on |
|
70 |
Requires: %{name} = %{version} |
|
1952 | 71 |
Requires: libxml2-devel >= %{libxml2_version} |
72 |
Requires: glib2-devel >= %{glib2_version} |
|
73 |
Requires: gtk2-devel >= %{gtk2_version} |
|
74 |
Requires: libgnomecanvas-devel >= %{libgnomecanvas_version} |
|
75 |
Requires: libgnomeui-devel >= %{libgnomeui_version} |
|
76 |
Requires: libglade-devel >= %{libglade_version} |
|
77 |
Requires: libbonoboui-devel >= %{libbonoboui_version} |
|
78 |
Requires: libgnomeprintui-devel >= %{libgnomeprintui_version} |
|
79 |
Requires: gnome-vfs-devel >= %{gnome_vfs_version} |
|
80 |
||
3751 | 81 |
Obsoletes: libmrproject-devel < %{mrproject_version} |
82 |
Provides: libmrproject-devel = %{mrproject_version} |
|
1952 | 83 |
|
84 |
||
85 |
%description devel |
|
86 |
Planner is a tool for planning, scheduling and tracking projects. Planner is |
|
87 |
an open source project targetting the GNOME Desktop. These files allow |
|
88 |
developers to develop using Planner's features. |
|
89 |
||
90 |
%prep |
|
91 |
%setup -q |
|
2355 | 92 |
/usr/bin/bzcat -dc %SOURCE1|tar xf - |
1952 | 93 |
%patch1 -p0 |
2191 | 94 |
%patch2 -p1 |
1952 | 95 |
|
96 |
%build |
|
3628 | 97 |
%ifos linux |
98 |
if [ -x /usr/bin/getconf ]; then |
|
99 |
CPUS=`getconf _NPROCESSORS_ONLN` |
|
100 |
fi |
|
101 |
%else |
|
3846 | 102 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '` |
3628 | 103 |
%endif |
104 |
if test "x$CPUS" = "x" -o $CPUS = 0; then |
|
105 |
CPUS=1 |
|
106 |
fi |
|
107 |
||
108 |
libtoolize --force |
|
109 |
aclocal $ACLOCAL_FLAGS -I %{_datadir}/aclocal/gnome2-macros -I . |
|
110 |
gtkdocize |
|
111 |
autoheader |
|
112 |
automake -a -c -f |
|
113 |
autoconf |
|
1952 | 114 |
CFLAGS="$RPM_OPT_FLAGS" \ |
3751 | 115 |
./configure --prefix=%{_prefix} \ |
116 |
--enable-gtk-doc \ |
|
1952 | 117 |
--sysconfdir=%{_sysconfdir} |
3274 | 118 |
make |
1952 | 119 |
|
120 |
%install |
|
121 |
make install DESTDIR=$RPM_BUILD_ROOT |
|
3628 | 122 |
#clean up unpackaged files |
123 |
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la |
|
124 |
rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/file-modules/*.la |
|
125 |
rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/plugins/*.la |
|
126 |
rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/storage-modules/*.la |
|
127 |
rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/views/*.la |
|
1952 | 128 |
|
2362
ef2590f64b05
Javahelp conversion : surrounded by %ifos calls, until solaris specifics are resolved
mattk
parents:
2355
diff
changeset
|
129 |
javahelp-convert-install $RPM_BUILD_ROOT %{name} %{name}.xml |
ef2590f64b05
Javahelp conversion : surrounded by %ifos calls, until solaris specifics are resolved
mattk
parents:
2355
diff
changeset
|
130 |
|
1952 | 131 |
%clean |
132 |
rm -rf $RPM_BUILD_ROOT |
|
133 |
||
134 |
%post |
|
135 |
scrollkeeper-update -q |
|
136 |
||
137 |
%postun |
|
138 |
scrollkeeper-update -q |
|
139 |
||
140 |
%files |
|
141 |
%defattr(-,root,root) |
|
142 |
%{_bindir}/planner |
|
143 |
%{_datadir}/application-registry/* |
|
144 |
%{_datadir}/applications/* |
|
145 |
%{_datadir}/gnome/help/planner/* |
|
2362
ef2590f64b05
Javahelp conversion : surrounded by %ifos calls, until solaris specifics are resolved
mattk
parents:
2355
diff
changeset
|
146 |
%{_datadir}/gnome/javahelp/planner/* |
1952 | 147 |
%{_datadir}/locale/* |
148 |
%{_datadir}/mime-info/* |
|
149 |
%{_datadir}/omf/planner/* |
|
150 |
%{_datadir}/pixmaps/* |
|
151 |
%{_datadir}/planner/* |
|
152 |
%{_libdir}/planner/*/*.so |
|
153 |
%{_libdir}/libplanner*.so |
|
154 |
||
155 |
%files devel |
|
156 |
%{_datadir}/gtk-doc/html/* |
|
157 |
%{_includedir}/planner*/libplanner/*.h |
|
158 |
%{_libdir}/pkgconfig/libplanner*.pc |
|
159 |
||
160 |
%changelog |
|
3751 | 161 |
* Thu Aug 24 2004 - [email protected] |
162 |
- added gtk-docs. |
|
163 |
||
3628 | 164 |
* Wed Jul 14 2004 - [email protected] |
165 |
- fixed packaging for rpm4 and commented out |
|
166 |
"-j $CPUS" which is breaking the build. |
|
167 |
||
168 |
* Thu Jul 08 2004 - [email protected] |
|
169 |
- Updated l10n content to planner-l10n-po-1.2.tar.bz2 |
|
170 |
||
171 |
* Thu Jul 08 2004 - [email protected] |
|
172 |
- undid -j $CPUS for this module |
|
173 |
||
3279
5d64ee516a02
Bumped l10n tarball revision from 1.1 to 1.2 in all spec-files.
damiend
parents:
3274
diff
changeset
|
174 |
* 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
|
175 |
- 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
|
176 |
|
3274 | 177 |
* Thu Jul 08 2004 - [email protected] |
178 |
- undid -j $CPUS for this module |
|
179 |
||
3263 | 180 |
* Wed Jul 07 2004 - [email protected] |
181 |
- added "-j $CPUS" to make to speed up builds |
|
182 |
||
2736
bd6e69980863
Updated all spec files to reflect 1.1 version l10n tarballs delivered into
damiend
parents:
2619
diff
changeset
|
183 |
* 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
|
184 |
- 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
|
185 |
|
2485 | 186 |
* Sun Apr 18 2004 - [email protected] |
187 |
- enable javahelp conversion on Solaris |
|
188 |
||
2362
ef2590f64b05
Javahelp conversion : surrounded by %ifos calls, until solaris specifics are resolved
mattk
parents:
2355
diff
changeset
|
189 |
* Thu Apr 01 2004 - [email protected] |
ef2590f64b05
Javahelp conversion : surrounded by %ifos calls, until solaris specifics are resolved
mattk
parents:
2355
diff
changeset
|
190 |
- Javahelp conversion |
ef2590f64b05
Javahelp conversion : surrounded by %ifos calls, until solaris specifics are resolved
mattk
parents:
2355
diff
changeset
|
191 |
|
2355 | 192 |
* Wed Mar 31 2004 - [email protected] |
193 |
- replace tar jxf with the more solaris friendly |
|
194 |
bzcat piped through tar |
|
195 |
||
2350 | 196 |
* Mon Mar 29 2004 - [email protected] |
197 |
- Adding planner-l10n-po-1.0.tar.bz2 l10n content |
|
198 |
||
2191 | 199 |
* Thu Mar 11 2004 - [email protected] |
200 |
- added planner-02-g11n-potfiles.diff |
|
201 |
||
1952 | 202 |
* Tue Feb 24 2004 - [email protected] |
203 |
- Initial package. Based on mrproject 0.9.1. |
|
204 |
- Ported menu entry change, based on the mrproject patch. |