1 | Summary: A graphical project management tool. |
---|
2 | Summary(ja): グラフィカルなプロジェクト管理ツール |
---|
3 | Name: planner |
---|
4 | Version: 0.14.4 |
---|
5 | Release: 2%{?_dist_release} |
---|
6 | URL: http://live.gnome.org/Planner |
---|
7 | Source0: %{name}-%{version}.tar.bz2 |
---|
8 | # Patch0: refer https://bugzilla.gnome.org/show_bug.cgi?id=589045 |
---|
9 | Patch0: planner-0.14.4-build-fix.patch |
---|
10 | Patch1: planner-0.14.4-edsapi.patch |
---|
11 | License: GPL |
---|
12 | Group: Applications/Productivity |
---|
13 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
14 | |
---|
15 | Obsoletes: mrproject <= 0.11 |
---|
16 | Obsoletes: libmrproject <= 0.11 |
---|
17 | Provides: libplanner |
---|
18 | |
---|
19 | Requires: popt |
---|
20 | Requires(post,postun): scrollkeeper >= 0.3.10 |
---|
21 | Requires(post,postun): shared-mime-info |
---|
22 | Requires(post,postun): GConf2 |
---|
23 | |
---|
24 | BuildRequires: gtk2-devel >= 2.6 |
---|
25 | BuildRequires: libgnomecanvas-devel >= 2.10.0 |
---|
26 | BuildRequires: libgnomeui-devel >= 2.10.0 |
---|
27 | BuildRequires: libgnomeprintui-devel >= 2.10.0 |
---|
28 | BuildRequires: gnome-vfs2-devel >= 2.10.0 |
---|
29 | BuildRequires: libxml2-devel >= 2.6.0 |
---|
30 | BuildRequires: libxslt-devel >= 1.1.23 |
---|
31 | BuildRequires: GConf2-devel >= 2.10.0 |
---|
32 | BuildRequires: libglade2-devel >= 2.4.0 |
---|
33 | BuildRequires: pygtk2-devel >= 2.6.0 |
---|
34 | BuildRequires: evolution-devel, evolution-data-server-devel |
---|
35 | BuildRequires: libgsf-devel >= 1.6 |
---|
36 | BuildRequires: gtk-doc |
---|
37 | BuildRequires: libSM-devel |
---|
38 | BuildRequires: libICE-devel |
---|
39 | BuildRequires: python-devel |
---|
40 | #BuildRequires: libgda-devel |
---|
41 | |
---|
42 | Packager: inagaki |
---|
43 | |
---|
44 | %description |
---|
45 | Planner is a visual project management application which allows users to |
---|
46 | manage several aspects of a project, including schedule tracking using |
---|
47 | Gantt charts. |
---|
48 | |
---|
49 | You should install Planner if you wish to manage schedules, allocate |
---|
50 | resources, and track the progress of your projects. |
---|
51 | |
---|
52 | %description -l ja |
---|
53 | Planner はプロジェクトをさまざまな視点から管理することができる |
---|
54 | グラフィカルなプロジェクト管理ツールで,ガントチャートを使った |
---|
55 | スケジュール追跡などを行うことができます. |
---|
56 | |
---|
57 | |
---|
58 | %package devel |
---|
59 | Summary: Header files, libraries for planner. |
---|
60 | Summary(ja): Planner の開発用ファイル |
---|
61 | Group: Development/Libraries |
---|
62 | Requires: %{name} = %{version} |
---|
63 | Obsoletes: libmrproject-devel <= 0.11 |
---|
64 | Provides: libplanner-devel = %{version} |
---|
65 | |
---|
66 | %description devel |
---|
67 | This package contains the header files, static libraries for %{name}. |
---|
68 | If you like to develop programs using %{name}, you will need to install |
---|
69 | %{name}-devel. |
---|
70 | |
---|
71 | |
---|
72 | #%package database |
---|
73 | #Summary: Planner database support |
---|
74 | #Summary(ja): Planner データベースサポート |
---|
75 | #Group: Applications/Productivity |
---|
76 | #Requires: %{name} = %{version} |
---|
77 | #Requires: libgda |
---|
78 | # |
---|
79 | #%description database |
---|
80 | #Database support for Planner, this plugin can be used to store |
---|
81 | #projects in a PostgreSQL database. |
---|
82 | # |
---|
83 | #%description -l ja database |
---|
84 | #Planner のデータベースサポートです.このプラグインを使うことで |
---|
85 | #プロジェクトを PostgreSQL データベースに保存することができます. |
---|
86 | |
---|
87 | |
---|
88 | %package eds |
---|
89 | Summary: Planner integration with evolution |
---|
90 | Summary(ja): Planner の evolution 用プラグイン |
---|
91 | Group: Applications/Productivity |
---|
92 | Requires: %{name} = %{version}-%{release} |
---|
93 | |
---|
94 | %description eds |
---|
95 | This package provides a plugin to integration planner and evolution. |
---|
96 | |
---|
97 | %description eds -l ja |
---|
98 | このパッケージは planner と evolution を連携できるようにする |
---|
99 | プラグインを提供します。 |
---|
100 | |
---|
101 | %prep |
---|
102 | %setup -q |
---|
103 | %patch0 -p1 -b .build-fix |
---|
104 | %patch1 -p1 -b .edsapi |
---|
105 | |
---|
106 | %build |
---|
107 | %configure --with-database=no \ |
---|
108 | --enable-python \ |
---|
109 | --enable-eds-backend \ |
---|
110 | --disable-update-mimedb \ |
---|
111 | --disable-schemas-install \ |
---|
112 | --disable-static |
---|
113 | |
---|
114 | make |
---|
115 | |
---|
116 | %install |
---|
117 | rm -rf $RPM_BUILD_ROOT |
---|
118 | |
---|
119 | export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 |
---|
120 | make DESTDIR=$RPM_BUILD_ROOT install |
---|
121 | unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL |
---|
122 | |
---|
123 | #desktop-file-install --vendor imendio --delete-original \ |
---|
124 | # --dir %{buildroot}%{_datadir}/applications \ |
---|
125 | # --add-category X-Red-Hat-Base \ |
---|
126 | # %{buildroot}%{_datadir}/applications/planner.desktop |
---|
127 | |
---|
128 | /bin/rm -rf %{buildroot}/var/scrollkeeper |
---|
129 | /bin/rm %{buildroot}/%{_libdir}/*.la |
---|
130 | /bin/rm %{buildroot}/%{_libdir}/planner/file-modules/*.la |
---|
131 | /bin/rm %{buildroot}/%{_libdir}/planner/storage-modules/*.la |
---|
132 | /bin/rm %{buildroot}/%{_libdir}/planner/plugins/*.la |
---|
133 | #/bin/rm %{buildroot}/%{_libdir}/planner/views/*.la |
---|
134 | /bin/rm %{buildroot}/%{_libdir}/python*/site-packages/*.la |
---|
135 | /bin/rm -rf %{buildroot}/%{_datadir}/doc/planner |
---|
136 | /bin/rm -f $RPM_BUILD_ROOT/%{_libdir}/evolution-data-server-1.2/extensions/*.la |
---|
137 | /bin/rm -f $RPM_BUILD_ROOT/%{_libdir}/evolution/*/plugins/*.la |
---|
138 | |
---|
139 | pushd $RPM_BUILD_ROOT/%{_libdir}/evolution-data-server-1.2/extensions |
---|
140 | rm -f libecalbackendplanner.so |
---|
141 | rm -f libecalbackendplanner.so.0 |
---|
142 | mv -f libecalbackendplanner.so.0.0.0 libecalbackendplanner.so |
---|
143 | popd |
---|
144 | |
---|
145 | %find_lang %{name} |
---|
146 | |
---|
147 | %post |
---|
148 | scrollkeeper-update > /dev/null 2>&1 || : |
---|
149 | export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` |
---|
150 | gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/planner.schemas > /dev/null |
---|
151 | %{_bindir}/update-mime-database %{_datadir}/mime &> /dev/null |
---|
152 | |
---|
153 | %postun |
---|
154 | scrollkeeper-update > /dev/null 2>&1 || : |
---|
155 | %{_bindir}/update-mime-database %{_datadir}/mime &> /dev/null |
---|
156 | |
---|
157 | %clean |
---|
158 | rm -rf $RPM_BUILD_ROOT |
---|
159 | |
---|
160 | %files -f %{name}.lang |
---|
161 | %defattr(-,root,root) |
---|
162 | %doc ChangeLog NEWS README COPYING examples/*.planner |
---|
163 | %{_sysconfdir}/gconf/schemas/*.schemas |
---|
164 | %{_bindir}/planner |
---|
165 | %{_libdir}/planner |
---|
166 | %{_libdir}/libplanner*.so.* |
---|
167 | %{_libdir}/python*/site-packages/*.so |
---|
168 | %{_datadir}/applications/* |
---|
169 | #%{_datadir}/application-registry/* |
---|
170 | %{_datadir}/mime/packages/* |
---|
171 | #%{_datadir}/mime-info/* |
---|
172 | %{_datadir}/pixmaps/* |
---|
173 | %{_datadir}/icons/* |
---|
174 | %{_datadir}/planner |
---|
175 | %{_datadir}/gnome/help/planner |
---|
176 | %{_datadir}/omf/planner |
---|
177 | %{_mandir}/man1/planner* |
---|
178 | #%exclude %{_libdir}/planner/storage-modules/libstorage-sql* |
---|
179 | #%exclude %{_libdir}/planner/plugins/libsql-plugin* |
---|
180 | %exclude %{_datadir}/planner/glade/sql.glade |
---|
181 | %exclude %{_datadir}/planner/ui/sql-plugin.ui |
---|
182 | %exclude %{_datadir}/planner/sql |
---|
183 | |
---|
184 | %files devel |
---|
185 | %defattr(-, root, root, 0755) |
---|
186 | %{_includedir}/* |
---|
187 | %{_libdir}/libplanner*.so |
---|
188 | %{_libdir}/pkgconfig/*.pc |
---|
189 | %{_datadir}/gtk-doc/html/libplanner |
---|
190 | |
---|
191 | #%files database |
---|
192 | #%defattr(-,root,root) |
---|
193 | #%doc docs/sql/README.sql |
---|
194 | #%{_libdir}/planner/storage-modules/libstorage-sql* |
---|
195 | #%{_libdir}/planner/plugins/libsql-plugin* |
---|
196 | #%{_datadir}/planner/glade/sql.glade |
---|
197 | #%{_datadir}/planner/ui/sql-plugin.ui |
---|
198 | #%{_datadir}/planner/sql |
---|
199 | |
---|
200 | %files eds |
---|
201 | %defattr(-,root,root,-) |
---|
202 | %dir %{_libdir}/%{name}/plugins |
---|
203 | %dir %{_libdir}/evolution-data-server-1.2 |
---|
204 | %dir %{_libdir}/evolution-data-server-1.2/extensions |
---|
205 | %{_libdir}/evolution-data-server-1.2/extensions/libecalbackendplanner.so |
---|
206 | %{_libdir}/evolution/*/plugins/liborg-gnome-planner-source.so |
---|
207 | %{_libdir}/evolution/*/plugins/org-gnome-planner-source.eplug |
---|
208 | |
---|
209 | %changelog |
---|
210 | * Sat Jun 18 2011 Kazutaka HARADA <kazutaka@vinelinux.org> 0.14.4-2 |
---|
211 | - rebuild for Vine Linux 6 |
---|
212 | - add BuildRequires: libSM-devel, libICE-devel, python-devel |
---|
213 | - add Patch0 to fix build error |
---|
214 | - import Patch1 from fedora development (to follow eds api change) |
---|
215 | |
---|
216 | * Mon May 25 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.14.4-1 |
---|
217 | - new upstream release |
---|
218 | - update URL |
---|
219 | - update configure option |
---|
220 | change --enable-eds to --enable-eds-backend (upstream change) |
---|
221 | change --enable-database to --with-database (upstream change) |
---|
222 | set --with-database=no (drop database support) |
---|
223 | add --disable-static |
---|
224 | - add BuildRequies: evolution-devel |
---|
225 | |
---|
226 | * Mon Jul 21 2008 Shu KONNO <owa@bg.wakwak.com> 0.14.3-2 |
---|
227 | - rebuilt with python-2.5.2 |
---|
228 | |
---|
229 | * Mon Jun 23 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.14.3-1 |
---|
230 | - new upstream release |
---|
231 | - using --enable-eds |
---|
232 | - spec in UTF-8 |
---|
233 | |
---|
234 | * Wed Sep 27 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.14.1-0vl1 |
---|
235 | - new upstream release |
---|
236 | - using --enable-database |
---|
237 | |
---|
238 | * Sat Apr 16 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.14-0vl1 |
---|
239 | - new upstream release |
---|
240 | - using --disable-database |
---|
241 | - run update-mime-database on %post and %postun |
---|
242 | |
---|
243 | * Sat Apr 16 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.13-0vl1 |
---|
244 | - new upstream release |
---|
245 | - added examples |
---|
246 | - split devel package |
---|
247 | |
---|
248 | * Sat Feb 12 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.12.1-0vl2 |
---|
249 | - rebuild with new libgdb |
---|
250 | |
---|
251 | * Wed Oct 6 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.12.1-0vl1 |
---|
252 | - new upstream release |
---|
253 | - add Japanese summary and description |
---|
254 | - update URL |
---|
255 | |
---|
256 | * Sat Jul 10 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.12-0vl1 |
---|
257 | - new upstream release |
---|
258 | - new planner-database subpackage |
---|
259 | - fixed typo at changelog |
---|
260 | |
---|
261 | * Tue Apr 27 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.11-1vl1 |
---|
262 | - rebuild for Vine |
---|
263 | - disable postgres option |
---|
264 | |
---|
265 | * Thu Apr 8 2004 Dan Williams <dcbw@redhat.com> 0.11-1 |
---|
266 | - Initial Release of 0.11 RPMs |
---|