1 | Name: planner |
---|
2 | Summary: A graphical project management tool. |
---|
3 | Summary(ja): グラフィカルなプロジェクト管理ツール |
---|
4 | Version: 0.14.6 |
---|
5 | Release: 1%{?_dist_release} |
---|
6 | |
---|
7 | Group: Applications/Productivity |
---|
8 | License: GPLv2+ |
---|
9 | URL:http://live.gnome.org/Planner |
---|
10 | |
---|
11 | Source0: %{name}-%{version}.tar.xz |
---|
12 | Patch1: planner-gnome596173-xdg.patch |
---|
13 | Patch2: planner-gnome596966-editoninsert.patch |
---|
14 | Patch3: planner-gnome550559-fitzoom.patch |
---|
15 | Patch4: planner-gnome603693-planner-calendar-for-edittask.patch |
---|
16 | Patch5: planner-gnome604169-comboboxentry.patch |
---|
17 | Patch6: planner-gnome604510.calcolors.patch |
---|
18 | Patch7: planner-gnome604531-tooltips.patch |
---|
19 | Patch8: planner-gnome581282-printpreview.patch |
---|
20 | Patch9: planner-gnome606824-notecolumn.patch |
---|
21 | Patch10: planner-gnome341504-paste.tasks.patch |
---|
22 | Patch11: planner-gnome615641-multiselect.patch |
---|
23 | Patch12: planner-gnome655803-bad-LC_TIME.patch |
---|
24 | Patch13: planner-desktop-warnings.patch |
---|
25 | Patch14: planner-aarch64.patch |
---|
26 | Patch15: planner-rhbz1141479-paste.tasks.patch |
---|
27 | |
---|
28 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
29 | BuildRequires: autoconf |
---|
30 | BuildRequires: automake |
---|
31 | BuildRequires: glib2-devel |
---|
32 | BuildRequires: gnome-vfs2-devel >= 2.10.0 |
---|
33 | BuildRequires: gtk-doc |
---|
34 | BuildRequires: gtk2-devel >= 2.6.0 |
---|
35 | BuildRequires: libICE-devel |
---|
36 | BuildRequires: libSM-devel |
---|
37 | BuildRequires: libglade2-devel >= 2.4.0 |
---|
38 | BuildRequires: libgnomecanvas-devel >= 2.10.0 |
---|
39 | BuildRequires: libgnomeui-devel >= 2.10.0 |
---|
40 | BuildRequires: libgsf-devel >= 1.6 |
---|
41 | BuildRequires: libtool >= 0.35.5 |
---|
42 | BuildRequires: libxml2-devel >= 2.6.0 |
---|
43 | BuildRequires: libxslt-devel >= 1.1.23 |
---|
44 | BuildRequires: popt-devel |
---|
45 | BuildRequires: pygtk2-devel >= 2.6.0 |
---|
46 | BuildRequires: python-devel |
---|
47 | BuildRequires: scrollkeeper |
---|
48 | BuildRequires: valgrind-devel |
---|
49 | |
---|
50 | Obsoletes: planner-eds < 0.14.6 |
---|
51 | Obsoletes: mrproject <= 0.11 |
---|
52 | Obsoletes: libmrproject <= 0.11 |
---|
53 | Provides: libplanner = %{version}-%{release} |
---|
54 | |
---|
55 | Requires(post,postun): scrollkeeper >= 0.3.10 |
---|
56 | Requires(post,postun): shared-mime-info |
---|
57 | Requires(post,postun): GConf2 |
---|
58 | |
---|
59 | Vendor: Project Vine |
---|
60 | Distribution: Vine Linux |
---|
61 | Packager: inagaki |
---|
62 | |
---|
63 | %description |
---|
64 | Planner is a visual project management application which allows users to |
---|
65 | manage several aspects of a project, including schedule tracking using |
---|
66 | Gantt charts. |
---|
67 | |
---|
68 | You should install Planner if you wish to manage schedules, allocate |
---|
69 | resources, and track the progress of your projects. |
---|
70 | |
---|
71 | %description -l ja |
---|
72 | Planner はプロジェクトをさまざまな視点から管理することができる |
---|
73 | グラフィカルなプロジェクト管理ツールで,ガントチャートを使った |
---|
74 | スケジュール追跡などを行うことができます. |
---|
75 | |
---|
76 | |
---|
77 | %package devel |
---|
78 | Summary: Libraries and include files for developing with planner |
---|
79 | Summary(ja): Planner の開発用ファイル |
---|
80 | Group: Development/Libraries |
---|
81 | Requires: %{name} = %{version} |
---|
82 | Requires: glib2-devel |
---|
83 | Requires: libgsf-devel |
---|
84 | Requires: libxml2-devel |
---|
85 | Obsoletes: libmrproject-devel <= 0.11 |
---|
86 | Provides: libplanner-devel = %{version} |
---|
87 | |
---|
88 | %description devel |
---|
89 | This package provides the necessary development libraries and include |
---|
90 | files to allow you to develop with planner. |
---|
91 | |
---|
92 | |
---|
93 | #%package database |
---|
94 | #Summary: Planner database support |
---|
95 | #Summary(ja): Planner データベースサポート |
---|
96 | #Group: Applications/Productivity |
---|
97 | #Requires: %{name} = %{version} |
---|
98 | #Requires: libgda |
---|
99 | # |
---|
100 | #%description database |
---|
101 | #Database support for Planner, this plugin can be used to store |
---|
102 | #projects in a PostgreSQL database. |
---|
103 | # |
---|
104 | #%description -l ja database |
---|
105 | #Planner のデータベースサポートです.このプラグインを使うことで |
---|
106 | #プロジェクトを PostgreSQL データベースに保存することができます. |
---|
107 | |
---|
108 | #%package eds |
---|
109 | #Summary: Planner integration with evolution |
---|
110 | #Summary(ja): Planner の evolution 用プラグイン |
---|
111 | #Group: Applications/Productivity |
---|
112 | #Requires: %{name} = %{version}-%{release} |
---|
113 | # |
---|
114 | #%description eds |
---|
115 | #This package provides a plugin to integration planner and evolution. |
---|
116 | # |
---|
117 | #%description eds -l ja |
---|
118 | #このパッケージは planner と evolution を連携できるようにする |
---|
119 | #プラグインを提供します。 |
---|
120 | |
---|
121 | %prep |
---|
122 | %setup -q |
---|
123 | %patch1 -p1 -b .xdg |
---|
124 | %patch2 -p1 -b .editoninsert |
---|
125 | %patch3 -p1 -b .fitzoom |
---|
126 | %patch4 -p1 -b .edittask |
---|
127 | %patch5 -p1 -b .combobox |
---|
128 | %patch6 -p1 -b .calcolors |
---|
129 | %patch7 -p1 -b .tooltips |
---|
130 | %patch8 -p1 -b .printpreview |
---|
131 | %patch9 -p1 -b .notecolumn |
---|
132 | %patch10 -p1 -b .copypaste |
---|
133 | %patch11 -p1 -b .multiselect |
---|
134 | %patch12 -p1 -b .gnome655803 |
---|
135 | %patch13 -p1 -b .desktop-warnings |
---|
136 | %patch14 -p1 -b .aarch64 |
---|
137 | %patch15 -p1 -b .systemvalgrind |
---|
138 | |
---|
139 | %build |
---|
140 | rm -rf libegg |
---|
141 | autoreconf -f -i |
---|
142 | |
---|
143 | %configure \ |
---|
144 | --enable-python \ |
---|
145 | --disable-gtk-doc \ |
---|
146 | --disable-update-mimedb \ |
---|
147 | --disable-eds \ |
---|
148 | --disable-eds-backend \ |
---|
149 | --disable-static |
---|
150 | |
---|
151 | make |
---|
152 | |
---|
153 | %install |
---|
154 | rm -rf $RPM_BUILD_ROOT |
---|
155 | |
---|
156 | export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 |
---|
157 | make DESTDIR=$RPM_BUILD_ROOT install |
---|
158 | unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL |
---|
159 | |
---|
160 | #desktop-file-install --vendor imendio --delete-original \ |
---|
161 | # --dir %{buildroot}%{_datadir}/applications \ |
---|
162 | # --add-category X-Red-Hat-Base \ |
---|
163 | # %{buildroot}%{_datadir}/applications/planner.desktop |
---|
164 | |
---|
165 | rm -rf $RPM_BUILD_ROOT/var/scrollkeeper |
---|
166 | rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la |
---|
167 | rm -f $RPM_BUILD_ROOT/%{_libdir}/%{name}/file-modules/*.la |
---|
168 | rm -f $RPM_BUILD_ROOT/%{_libdir}/%{name}/storage-modules/*.la |
---|
169 | rm -f $RPM_BUILD_ROOT/%{_libdir}/%{name}/plugins/*.la |
---|
170 | rm -f $RPM_BUILD_ROOT/%{_libdir}/%{name}/views/*.la |
---|
171 | rm -f $RPM_BUILD_ROOT/%{_libdir}/%{name}/*.la |
---|
172 | rm -f $RPM_BUILD_ROOT/%{_libdir}/python*/site-packages/gtk-2.0/*.la |
---|
173 | rm -f $RPM_BUILD_ROOT/%{_libdir}/python*/site-packages/*.la |
---|
174 | rm -f $RPM_BUILD_ROOT/%{_libdir}/%{name}/storage-modules/libstorage-sql* |
---|
175 | rm -f $RPM_BUILD_ROOT/%{_libdir}/%{name}/plugins/libsql-plugin* |
---|
176 | |
---|
177 | rm -f $RPM_BUILD_ROOT/%{_datadir}/mime/XMLnamespaces |
---|
178 | rm -f $RPM_BUILD_ROOT/%{_datadir}/mime/globs |
---|
179 | rm -f $RPM_BUILD_ROOT/%{_datadir}/mime/magic |
---|
180 | rm -f $RPM_BUILD_ROOT/%{_datadir}/mime/application/* |
---|
181 | rm -f $RPM_BUILD_ROOT/%{_datadir}/doc/%{name}/*.sql |
---|
182 | rm -f $RPM_BUILD_ROOT/%{_datadir}/doc/%{name}/*.planner |
---|
183 | |
---|
184 | #rhbz#1053553 wrong glibc locale name for sr-Latn |
---|
185 | mv $RPM_BUILD_ROOT/%{_datadir}/locale/sr@Latn $RPM_BUILD_ROOT/%{_datadir}/locale/sr@latin |
---|
186 | |
---|
187 | %find_lang %{name} |
---|
188 | |
---|
189 | %post |
---|
190 | /sbin/ldconfig |
---|
191 | touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : |
---|
192 | touch --no-create %{_datadir}/mime/packages &>/dev/null || : |
---|
193 | scrollkeeper-update > /dev/null 2>&1 || : |
---|
194 | export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` |
---|
195 | gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/planner.schemas > /dev/null |
---|
196 | |
---|
197 | %postun |
---|
198 | /sbin/ldconfig |
---|
199 | scrollkeeper-update > /dev/null 2>&1 || : |
---|
200 | if [ $1 -eq 0 ] ; then |
---|
201 | touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : |
---|
202 | gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : |
---|
203 | /usr/bin/update-mime-database %{_datadir}/mime &> /dev/null || : |
---|
204 | fi |
---|
205 | |
---|
206 | %posttrans |
---|
207 | gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : |
---|
208 | update-mime-database %{_datadir}/mime &> /dev/null || : |
---|
209 | |
---|
210 | %clean |
---|
211 | rm -rf $RPM_BUILD_ROOT |
---|
212 | |
---|
213 | %files -f %{name}.lang |
---|
214 | %defattr(-,root,root) |
---|
215 | %doc ChangeLog NEWS README COPYING examples/*.planner |
---|
216 | %{_sysconfdir}/gconf/schemas/*.schemas |
---|
217 | %{_bindir}/planner |
---|
218 | %{_libdir}/planner |
---|
219 | %{_libdir}/libplanner*.so.* |
---|
220 | %{_libdir}/python*/site-packages/*.so |
---|
221 | %{_datadir}/applications/* |
---|
222 | %{_datadir}/mime/packages/* |
---|
223 | %{_datadir}/pixmaps/* |
---|
224 | %{_datadir}/icons/* |
---|
225 | %{_datadir}/planner |
---|
226 | %{_datadir}/gnome/help/planner |
---|
227 | %{_datadir}/omf/planner |
---|
228 | %{_mandir}/man1/planner* |
---|
229 | %exclude %{_datadir}/planner/glade/sql.glade |
---|
230 | %exclude %{_datadir}/planner/ui/sql-plugin.ui |
---|
231 | %exclude %{_datadir}/planner/sql |
---|
232 | |
---|
233 | %files devel |
---|
234 | %defattr(-, root, root, 0755) |
---|
235 | %{_includedir}/* |
---|
236 | %{_libdir}/libplanner*.so |
---|
237 | %{_libdir}/pkgconfig/*.pc |
---|
238 | %{_datadir}/gtk-doc/html/libplanner |
---|
239 | |
---|
240 | #%files database |
---|
241 | #%defattr(-,root,root) |
---|
242 | #%doc docs/sql/README.sql |
---|
243 | #%{_libdir}/planner/storage-modules/libstorage-sql* |
---|
244 | #%{_libdir}/planner/plugins/libsql-plugin* |
---|
245 | #%{_datadir}/planner/glade/sql.glade |
---|
246 | #%{_datadir}/planner/ui/sql-plugin.ui |
---|
247 | #%{_datadir}/planner/sql |
---|
248 | |
---|
249 | #files eds |
---|
250 | #defattr(-,root,root,-) |
---|
251 | #dir %{_libdir}/%{name}/plugins |
---|
252 | #dir %{_libdir}/evolution-data-server-1.2 |
---|
253 | #dir %{_libdir}/evolution-data-server-1.2/extensions |
---|
254 | #{_libdir}/evolution-data-server-1.2/extensions/libecalbackendplanner.so |
---|
255 | #{_libdir}/evolution/*/plugins/liborg-gnome-planner-source.so |
---|
256 | #{_libdir}/evolution/*/plugins/org-gnome-planner-source.eplug |
---|
257 | |
---|
258 | %changelog |
---|
259 | * Sun Oct 5 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.14.6-1 |
---|
260 | - updated to 0.14.6 |
---|
261 | - removed eds subpackages |
---|
262 | - added Patches from FC |
---|
263 | |
---|
264 | * Sat Jun 18 2011 Kazutaka HARADA <kazutaka@vinelinux.org> 0.14.4-2 |
---|
265 | - rebuild for Vine Linux 6 |
---|
266 | - add BuildRequires: libSM-devel, libICE-devel, python-devel |
---|
267 | - add Patch0 to fix build error |
---|
268 | - import Patch1 from fedora development (to follow eds api change) |
---|
269 | |
---|
270 | * Mon May 25 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.14.4-1 |
---|
271 | - new upstream release |
---|
272 | - update URL |
---|
273 | - update configure option |
---|
274 | change --enable-eds to --enable-eds-backend (upstream change) |
---|
275 | change --enable-database to --with-database (upstream change) |
---|
276 | set --with-database=no (drop database support) |
---|
277 | add --disable-static |
---|
278 | - add BuildRequies: evolution-devel |
---|
279 | |
---|
280 | * Mon Jul 21 2008 Shu KONNO <owa@bg.wakwak.com> 0.14.3-2 |
---|
281 | - rebuilt with python-2.5.2 |
---|
282 | |
---|
283 | * Mon Jun 23 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.14.3-1 |
---|
284 | - new upstream release |
---|
285 | - using --enable-eds |
---|
286 | - spec in UTF-8 |
---|
287 | |
---|
288 | * Wed Sep 27 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.14.1-0vl1 |
---|
289 | - new upstream release |
---|
290 | - using --enable-database |
---|
291 | |
---|
292 | * Sat Apr 16 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.14-0vl1 |
---|
293 | - new upstream release |
---|
294 | - using --disable-database |
---|
295 | - run update-mime-database on %post and %postun |
---|
296 | |
---|
297 | * Sat Apr 16 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.13-0vl1 |
---|
298 | - new upstream release |
---|
299 | - added examples |
---|
300 | - split devel package |
---|
301 | |
---|
302 | * Sat Feb 12 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.12.1-0vl2 |
---|
303 | - rebuild with new libgdb |
---|
304 | |
---|
305 | * Wed Oct 6 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.12.1-0vl1 |
---|
306 | - new upstream release |
---|
307 | - add Japanese summary and description |
---|
308 | - update URL |
---|
309 | |
---|
310 | * Sat Jul 10 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.12-0vl1 |
---|
311 | - new upstream release |
---|
312 | - new planner-database subpackage |
---|
313 | - fixed typo at changelog |
---|
314 | |
---|
315 | * Tue Apr 27 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.11-1vl1 |
---|
316 | - rebuild for Vine |
---|
317 | - disable postgres option |
---|
318 | |
---|
319 | * Thu Apr 8 2004 Dan Williams <dcbw@redhat.com> 0.11-1 |
---|
320 | - Initial Release of 0.11 RPMs |
---|