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

Revision 9002, 10.0 KB checked in by inagaki, 8 years ago (diff)

2014-10-09 Ryoichi INAGAKI <ryo1@…>


Line 
1Name: planner
2Summary: A graphical project management tool.
3Summary(ja): グラフィカルなプロジェクト管理ツール
4Version: 0.14.6
5Release: 1%{?_dist_release}
6
7Group: Applications/Productivity
8License: GPLv2+
9URL:http://live.gnome.org/Planner
10
11Source0: %{name}-%{version}.tar.xz
12Patch1:  planner-gnome596173-xdg.patch
13Patch2:  planner-gnome596966-editoninsert.patch
14Patch3:  planner-gnome550559-fitzoom.patch
15Patch4:  planner-gnome603693-planner-calendar-for-edittask.patch
16Patch5:  planner-gnome604169-comboboxentry.patch
17Patch6:  planner-gnome604510.calcolors.patch
18Patch7:  planner-gnome604531-tooltips.patch
19Patch8:  planner-gnome581282-printpreview.patch
20Patch9:  planner-gnome606824-notecolumn.patch
21Patch10: planner-gnome341504-paste.tasks.patch
22Patch11: planner-gnome615641-multiselect.patch
23Patch12: planner-gnome655803-bad-LC_TIME.patch
24Patch13: planner-desktop-warnings.patch
25Patch14: planner-aarch64.patch
26Patch15: planner-rhbz1141479-paste.tasks.patch
27
28BuildRoot: %{_tmppath}/%{name}-%{version}-root
29BuildRequires:  autoconf
30BuildRequires:  automake
31BuildRequires:  glib2-devel
32BuildRequires:  gnome-vfs2-devel >= 2.10.0
33BuildRequires:  gtk-doc
34BuildRequires:  gtk2-devel >= 2.6.0
35BuildRequires:  libICE-devel
36BuildRequires:  libSM-devel
37BuildRequires:  libglade2-devel >= 2.4.0
38BuildRequires:  libgnomecanvas-devel >= 2.10.0
39BuildRequires:  libgnomeui-devel >= 2.10.0
40BuildRequires:  libgsf-devel >= 1.6
41BuildRequires:  libtool >= 0.35.5
42BuildRequires:  libxml2-devel >= 2.6.0
43BuildRequires:  libxslt-devel >= 1.1.23
44BuildRequires:  popt-devel
45BuildRequires:  pygtk2-devel >= 2.6.0
46BuildRequires:  python-devel
47BuildRequires:  scrollkeeper
48BuildRequires:  valgrind-devel
49
50Obsoletes: planner-eds < 0.14.6
51Obsoletes: mrproject <= 0.11
52Obsoletes: libmrproject <= 0.11
53Provides: libplanner = %{version}-%{release}
54
55Requires(post,postun): scrollkeeper >= 0.3.10
56Requires(post,postun): shared-mime-info
57Requires(post,postun): GConf2
58
59Vendor: Project Vine
60Distribution: Vine Linux
61Packager: inagaki
62
63%description
64Planner is a visual project management application which allows users to
65manage several aspects of a project, including schedule tracking using
66Gantt charts.
67
68You should install Planner if you wish to manage schedules, allocate
69resources, and track the progress of your projects.
70
71%description -l ja
72Planner はプロジェクトをさまざまな視点から管理することができる
73グラフィカルなプロジェクト管理ツールで,ガントチャートを使った
74スケジュール追跡などを行うことができます.
75
76
77%package devel
78Summary: Libraries and include files for developing with planner
79Summary(ja): Planner の開発用ファイル
80Group: Development/Libraries
81Requires: %{name} = %{version}
82Requires: glib2-devel
83Requires: libgsf-devel
84Requires: libxml2-devel
85Obsoletes: libmrproject-devel <= 0.11
86Provides: libplanner-devel = %{version}
87
88%description devel
89This package provides the necessary development libraries and include
90files 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
140rm -rf libegg
141autoreconf -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
151make
152
153%install
154rm -rf $RPM_BUILD_ROOT
155
156export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
157make DESTDIR=$RPM_BUILD_ROOT install
158unset 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
165rm -rf $RPM_BUILD_ROOT/var/scrollkeeper
166rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la
167rm -f $RPM_BUILD_ROOT/%{_libdir}/%{name}/file-modules/*.la
168rm -f $RPM_BUILD_ROOT/%{_libdir}/%{name}/storage-modules/*.la
169rm -f $RPM_BUILD_ROOT/%{_libdir}/%{name}/plugins/*.la
170rm -f $RPM_BUILD_ROOT/%{_libdir}/%{name}/views/*.la
171rm -f $RPM_BUILD_ROOT/%{_libdir}/%{name}/*.la
172rm -f $RPM_BUILD_ROOT/%{_libdir}/python*/site-packages/gtk-2.0/*.la
173rm -f $RPM_BUILD_ROOT/%{_libdir}/python*/site-packages/*.la
174rm -f $RPM_BUILD_ROOT/%{_libdir}/%{name}/storage-modules/libstorage-sql*
175rm -f $RPM_BUILD_ROOT/%{_libdir}/%{name}/plugins/libsql-plugin*
176
177rm -f $RPM_BUILD_ROOT/%{_datadir}/mime/XMLnamespaces
178rm -f $RPM_BUILD_ROOT/%{_datadir}/mime/globs
179rm -f $RPM_BUILD_ROOT/%{_datadir}/mime/magic
180rm -f $RPM_BUILD_ROOT/%{_datadir}/mime/application/*
181rm -f $RPM_BUILD_ROOT/%{_datadir}/doc/%{name}/*.sql
182rm -f $RPM_BUILD_ROOT/%{_datadir}/doc/%{name}/*.planner
183
184#rhbz#1053553 wrong glibc locale name for sr-Latn
185mv $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
191touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
192touch --no-create %{_datadir}/mime/packages &>/dev/null || :
193scrollkeeper-update > /dev/null 2>&1 || :
194export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
195gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/planner.schemas > /dev/null
196
197%postun
198/sbin/ldconfig
199scrollkeeper-update > /dev/null 2>&1 || :
200if [ $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 || :
204fi
205
206%posttrans
207gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
208update-mime-database %{_datadir}/mime &> /dev/null || :
209
210%clean
211rm -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
Note: See TracBrowser for help on using the repository browser.