1 | Summary: PIM Storage Service |
---|
2 | Summary(ja): PIM ストレージサービス |
---|
3 | Name: akonadi |
---|
4 | Version: 1.3.1 |
---|
5 | Release: 2%{?_dist_release} |
---|
6 | |
---|
7 | Group: System Environment/Libraries |
---|
8 | License: LGPLv2+ |
---|
9 | URL: http://download.akonadi-project.org/ |
---|
10 | Source0: http://download.akonadi-project.org/akonadi-%{version}.tar.bz2 |
---|
11 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
12 | |
---|
13 | # shrink default initial db size a bit (approx 140mb->28mb) |
---|
14 | %define mysql_conf_timestamp 20090220 |
---|
15 | Patch1: akonadi-1.1.1-mysql_conf.patch |
---|
16 | |
---|
17 | ## upstream patches |
---|
18 | |
---|
19 | BuildRequires: cmake >= 2.6.0 |
---|
20 | BuildRequires: qt4-devel >= 4.5.0 |
---|
21 | BuildRequires: automoc4 |
---|
22 | BuildRequires: MySQL-devel |
---|
23 | # for xsltproc |
---|
24 | BuildRequires: libxslt |
---|
25 | BuildRequires: shared-mime-info |
---|
26 | BuildRequires: libboost-devel libboost-program-options |
---|
27 | BuildRequires: soprano-devel >= 2.3.0 |
---|
28 | BuildRequires: libICE-devel libXext-devel |
---|
29 | |
---|
30 | # when/if akonadi grows support for other backends, consider splitting |
---|
31 | # these similar to how phonon is done currently. |
---|
32 | Requires: qt4-MySQL |
---|
33 | # not *strictly* required, but we need a functional default configuration |
---|
34 | #Requires: mysql-server |
---|
35 | Requires(post): /sbin/ldconfig |
---|
36 | Requires(postun): /sbin/ldconfig |
---|
37 | |
---|
38 | %description |
---|
39 | %{summary}. |
---|
40 | Requires an available instance of mysql server at runtime. |
---|
41 | Akonadi can spawn a per-user one automatically if the mysql-server |
---|
42 | package is installed on the machine. |
---|
43 | See also: %{_sysconfdir}/akonadi/mysql-global.conf |
---|
44 | |
---|
45 | %package devel |
---|
46 | Summary: Developer files for %{name} |
---|
47 | Group: Development/Libraries |
---|
48 | Requires: %{name} = %{version}-%{release} |
---|
49 | Requires: qt4-devel >= 4.5.0 |
---|
50 | Requires: pkgconfig |
---|
51 | |
---|
52 | %description devel |
---|
53 | %{summary}. |
---|
54 | |
---|
55 | |
---|
56 | %prep |
---|
57 | %setup -q |
---|
58 | %patch1 -p1 -b .mysql_conf |
---|
59 | touch -d %{mysql_conf_timestamp} server/src/storage/mysql-global.conf |
---|
60 | |
---|
61 | %build |
---|
62 | %ifarch x86_64 |
---|
63 | PATH="$PATH:`/usr/bin/pkg-config --variable=bindir Qt`" |
---|
64 | %endif |
---|
65 | |
---|
66 | mkdir -p %{_target_platform} |
---|
67 | pushd %{_target_platform} |
---|
68 | %cmake \ |
---|
69 | -DCONFIG_INSTALL_DIR=%{_sysconfdir} \ |
---|
70 | .. |
---|
71 | popd |
---|
72 | |
---|
73 | make %{?_smp_mflags} -C %{_target_platform} |
---|
74 | |
---|
75 | |
---|
76 | %install |
---|
77 | rm -rf $RPM_BUILD_ROOT |
---|
78 | make install DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform} |
---|
79 | |
---|
80 | mkdir -p $RPM_BUILD_ROOT%{_datadir}/akonadi/agents |
---|
81 | |
---|
82 | touch -d %{mysql_conf_timestamp} $RPM_BUILD_ROOT%{_sysconfdir}/akonadi/mysql-local.conf |
---|
83 | |
---|
84 | %clean |
---|
85 | rm -rf $RPM_BUILD_ROOT |
---|
86 | |
---|
87 | %post -p /sbin/ldconfig |
---|
88 | |
---|
89 | %posttrans |
---|
90 | update-mime-database %{_datadir}/mime &> /dev/null || : |
---|
91 | |
---|
92 | %postun |
---|
93 | /sbin/ldconfig ||: |
---|
94 | if [ $1 -eq 0 ] ; then |
---|
95 | update-mime-database %{_datadir}/mime &> /dev/null ||: |
---|
96 | fi |
---|
97 | |
---|
98 | |
---|
99 | %files |
---|
100 | %defattr(-,root,root,-) |
---|
101 | %doc AUTHORS lgpl-license |
---|
102 | %dir %{_sysconfdir}/akonadi |
---|
103 | %config(noreplace) %{_sysconfdir}/akonadi/mysql-global.conf |
---|
104 | %config(noreplace) %{_sysconfdir}/akonadi/mysql-local.conf |
---|
105 | %{_bindir}/akonadi_control |
---|
106 | %{_bindir}/akonadictl |
---|
107 | %{_bindir}/akonadiserver |
---|
108 | %{_libdir}/libakonadi*.so.1* |
---|
109 | %{_datadir}/dbus-1/interfaces/org.freedesktop.Akonadi.*.xml |
---|
110 | %{_datadir}/dbus-1/services/org.freedesktop.Akonadi.*.service |
---|
111 | %{_datadir}/mime/packages/akonadi-mime.xml |
---|
112 | %{_datadir}/akonadi |
---|
113 | |
---|
114 | %files devel |
---|
115 | %defattr(-,root,root,-) |
---|
116 | %{_includedir}/akonadi |
---|
117 | %{_libdir}/pkgconfig/akonadi.pc |
---|
118 | %{_libdir}/libakonadi*.so |
---|
119 | %{_libdir}/cmake/Akonadi |
---|
120 | |
---|
121 | |
---|
122 | %changelog |
---|
123 | * Sun Feb 14 2010 Shu KONNO <owa@bg.wakwak.com> - 1.3.1-2 |
---|
124 | - added qmake path to PATH (if x86_64) |
---|
125 | |
---|
126 | * Sat Feb 13 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.3.1-1 |
---|
127 | - new upstream release |
---|
128 | - built with new toolchain |
---|
129 | |
---|
130 | * Thu Sep 10 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.2.1-1 |
---|
131 | - new upstream release |
---|
132 | |
---|
133 | * Wed Sep 02 2009 NAKAMURA Kenta <kenta@vinelinux.org> - 1.2.0-4 |
---|
134 | - use %%cmake macro |
---|
135 | - removed MySQL-server from BuildRequires: |
---|
136 | |
---|
137 | * Sat Aug 29 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.2.0-3 |
---|
138 | - fixed Requires |
---|
139 | |
---|
140 | * Sat Aug 15 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.2.0-2 |
---|
141 | - Initial build for Vine |
---|
142 | |
---|
143 | * Thu Jul 30 2009 Lukáš Tinkl <ltinkl@redhat.com> - 1.2.0-1 |
---|
144 | - Akonadi 1.2.0 |
---|
145 | |
---|
146 | * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.95-2 |
---|
147 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
148 | |
---|
149 | * Thu Jun 25 2009 Than Ngo <than@redhat.com> - 1.1.95-1 |
---|
150 | - 1.1.95 |
---|
151 | |
---|
152 | * Wed Jun 03 2009 Rex Dieter <rdieter@fedoraproject.org> 1.1.90-1 |
---|
153 | - akonadi-1.1.90 |
---|
154 | |
---|
155 | * Tue May 26 2009 Rex Dieter <rdieter@fedoraproject.org> 1.1.85-3 |
---|
156 | - akonadi.pc.cmake: s/AKONADI_LIB_VERSION_STRING/AKONADI_VERSION_STRING/ |
---|
157 | |
---|
158 | * Tue May 12 2009 Than Ngo <than@redhat.com> 1.1.85-2 |
---|
159 | - fix rpm file list |
---|
160 | |
---|
161 | * Wed May 06 2009 Rex Dieter <rdieter@fedoraproject.org> - 1.1.85-1 |
---|
162 | - akonadi-1.1.85 |
---|
163 | |
---|
164 | * Thu Apr 30 2009 Rex Dieter <rdieter@fedoraproject.org> - 1.1.2-1 |
---|
165 | - akonadi-1.1.2 |
---|
166 | - optimize scriptlets a bit |
---|
167 | |
---|
168 | * Wed Feb 25 2009 Rex Dieter <rdieter@fedoraproject.org> - 1.1.1-6 |
---|
169 | - rev startup patch |
---|
170 | - BR: cmake >= 2.6.0 |
---|
171 | - preserve timestamp's on mysql*.conf's |
---|
172 | |
---|
173 | * Tue Feb 24 2009 Rex Dieter <rdieter@fedoraproject.org> - 1.1.1-5 |
---|
174 | - own %%_sysconfig/akonadi/mysql-local.conf |
---|
175 | - startup patch: reset conf only when needed, and clear mysql log file on update |
---|
176 | |
---|
177 | * Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.1-4 |
---|
178 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
179 | |
---|
180 | * Fri Feb 20 2009 Rex Dieter <rdieter@fedoraproject.org> - 1.1.1-3 |
---|
181 | - shrink default db initial size a bit (approx 140mb->28mb) |
---|
182 | - drop extraneous RPATH-cmake baggage |
---|
183 | |
---|
184 | * Wed Jan 21 2009 Rex Dieter <rdieter@fedoraproject.org> - 1.1.1-1 |
---|
185 | - 1.1.1 |
---|
186 | |
---|
187 | * Sun Jan 04 2009 Rex Dieter <rdieter@fedoraproject.org> - 1.1.0-1 |
---|
188 | - 1.1.0 |
---|
189 | |
---|
190 | * Tue Dec 16 2008 Rex Dieter <rdieter@fedoraproject.org> - 1.0.81-1 |
---|
191 | - 1.0.81 |
---|
192 | |
---|
193 | * Mon Dec 08 2008 Rex Dieter <rdieter@fedoraproject.org> - 1.0.80-3 |
---|
194 | - restore Requires: mysql-server |
---|
195 | |
---|
196 | * Mon Dec 01 2008 Kevin Kofler <Kevin@tigcc.ticalc.org> - 1.0.80-2 |
---|
197 | - own /usr/share/akonadi and /usr/share/akonadi/agents (#473595) |
---|
198 | |
---|
199 | * Wed Nov 26 2008 Than Ngo <than@redhat.com> - 1.0.80-1 |
---|
200 | - 1.0.80 |
---|
201 | |
---|
202 | * Wed Oct 22 2008 Rex Dieter <rdieter@fedoraproject.org> 1.0.0-4 |
---|
203 | - drop Requires: mysql-server (for now), mention in %%description |
---|
204 | |
---|
205 | * Wed Jul 30 2008 Rex Dieter <rdieter@fedoraproject.org> 1.0.0-3 |
---|
206 | - Requires: mysql-server |
---|
207 | |
---|
208 | * Wed Jul 30 2008 Rex Dieter <rdieter@fedoraproject.org> 1.0.0-2 |
---|
209 | - BR: mysql-server |
---|
210 | - Requires: qt4-mysql |
---|
211 | - cleanup spec |
---|
212 | |
---|
213 | * Wed Jul 23 2008 Than Ngo <than@redhat.com> - 1.0.0-1 |
---|
214 | - 1.0.0 |
---|
215 | |
---|
216 | * Wed Jun 18 2008 Rex Dieter <rdieter@fedoraproject.org> 0.82.0-1 |
---|
217 | - akonadi-0.82.0 |
---|
218 | |
---|
219 | * Tue Jun 3 2008 Kevin Kofler <Kevin@tigcc.ticalc.org> 0.81.0-0.2.20080526svn812787 |
---|
220 | - BR automoc, drop automoc hack |
---|
221 | |
---|
222 | * Mon May 26 2008 Kevin Kofler <Kevin@tigcc.ticalc.org> 0.81.0-0.1.20080526svn812787 |
---|
223 | - update to revision 812787 from KDE SVN (to match KDE 4.1 Beta 1) |
---|
224 | - restore builtin automoc4 for now |
---|
225 | - update file list, require pkgconfig in -devel (.pc file now included) |
---|
226 | |
---|
227 | * Mon May 5 2008 Kevin Kofler <Kevin@tigcc.ticalc.org> 0.80.0-2 |
---|
228 | - -devel: remove bogus Requires: pkgconfig |
---|
229 | |
---|
230 | * Sat May 3 2008 Kevin Kofler <Kevin@tigcc.ticalc.org> 0.80.0-1 |
---|
231 | - first Fedora package |
---|