source: projects/specs/trunk/p/planner/planner-vl.spec @ 4178

Revision 4178, 8.4 KB checked in by kazutaka, 13 years ago (diff)

Vine Linux 6 向けに更新

Line 
1Summary:        A graphical project management tool.
2Summary(ja):    グラフィカルなプロジェクト管理ツール
3Name:           planner
4Version:        0.14.4
5Release:        2%{?_dist_release}
6URL:            http://live.gnome.org/Planner
7Source0:        %{name}-%{version}.tar.bz2
8# Patch0: refer https://bugzilla.gnome.org/show_bug.cgi?id=589045
9Patch0:         planner-0.14.4-build-fix.patch
10Patch1:         planner-0.14.4-edsapi.patch
11License:        GPL
12Group:          Applications/Productivity
13BuildRoot:      %{_tmppath}/%{name}-%{version}-root
14
15Obsoletes:      mrproject <= 0.11
16Obsoletes:      libmrproject <= 0.11
17Provides:       libplanner
18
19Requires:       popt
20Requires(post,postun): scrollkeeper >= 0.3.10
21Requires(post,postun): shared-mime-info
22Requires(post,postun): GConf2
23
24BuildRequires:  gtk2-devel >= 2.6
25BuildRequires:  libgnomecanvas-devel >= 2.10.0
26BuildRequires:  libgnomeui-devel >= 2.10.0
27BuildRequires:  libgnomeprintui-devel >= 2.10.0
28BuildRequires:  gnome-vfs2-devel >= 2.10.0
29BuildRequires:  libxml2-devel >= 2.6.0
30BuildRequires:  libxslt-devel >= 1.1.23
31BuildRequires:  GConf2-devel >= 2.10.0
32BuildRequires:  libglade2-devel >= 2.4.0
33BuildRequires:  pygtk2-devel >= 2.6.0
34BuildRequires:  evolution-devel, evolution-data-server-devel
35BuildRequires:  libgsf-devel >= 1.6
36BuildRequires:  gtk-doc
37BuildRequires:  libSM-devel
38BuildRequires:  libICE-devel
39BuildRequires:  python-devel
40#BuildRequires:  libgda-devel
41
42Packager:       inagaki
43
44%description
45Planner is a visual project management application which allows users to
46manage several aspects of a project, including schedule tracking using
47Gantt charts.
48
49You should install Planner if you wish to manage schedules, allocate
50resources, and track the progress of your projects.
51
52%description -l ja
53Planner はプロジェクトをさまざまな視点から管理することができる
54グラフィカルなプロジェクト管理ツールで,ガントチャートを使った
55スケジュール追跡などを行うことができます.
56
57
58%package devel
59Summary:     Header files, libraries for planner.
60Summary(ja): Planner の開発用ファイル
61Group:       Development/Libraries
62Requires:    %{name} = %{version}
63Obsoletes:   libmrproject-devel <= 0.11
64Provides:    libplanner-devel = %{version}
65
66%description devel
67This package contains the header files, static libraries for %{name}.
68If 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
89Summary:    Planner integration with evolution
90Summary(ja): Planner の evolution 用プラグイン
91Group:      Applications/Productivity
92Requires:  %{name} = %{version}-%{release}
93
94%description eds
95This 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
114make
115
116%install
117rm -rf $RPM_BUILD_ROOT
118
119export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
120make DESTDIR=$RPM_BUILD_ROOT install
121unset 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
139pushd $RPM_BUILD_ROOT/%{_libdir}/evolution-data-server-1.2/extensions
140rm -f libecalbackendplanner.so
141rm -f libecalbackendplanner.so.0
142mv -f libecalbackendplanner.so.0.0.0 libecalbackendplanner.so
143popd
144
145%find_lang %{name}
146
147%post
148scrollkeeper-update > /dev/null 2>&1 || :
149export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
150gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/planner.schemas > /dev/null
151%{_bindir}/update-mime-database %{_datadir}/mime &> /dev/null
152
153%postun
154scrollkeeper-update > /dev/null 2>&1 || :
155%{_bindir}/update-mime-database %{_datadir}/mime &> /dev/null
156
157%clean
158rm -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
Note: See TracBrowser for help on using the repository browser.