planner-vl.spec 7.8 KB

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