]>
Commit | Line | Data |
---|---|---|
1 | ||
2 | %define mver 1.0 | |
3 | ||
4 | Summary: Evolution data server | |
5 | Name: evolution-data-server | |
6 | Version: 0.0.3 | |
7 | Release: 0.9 | |
8 | License: GPL | |
9 | Group: Libraries | |
10 | Source0: http://ftp.gnome.org/pub/gnome/sources/%{name}/0.0/%{name}-%{version}.tar.gz | |
11 | # Source0-md5: bcacfd623db973a100deb67f0b7d8a38 | |
12 | URL: http://www.ximian.com/products/ximian_evolution/ | |
13 | BuildRequires: libsoup-devel >= 2.1.2 | |
14 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
15 | Requires(post,postun): /sbin/ldconfig | |
16 | Requires(post,postun): /usr/bin/scrollkeeper-update | |
17 | Requires(post): GConf2 | |
18 | ||
19 | %description | |
20 | Evolution data server. | |
21 | ||
22 | %package devel | |
23 | Summary: Evolution data server development files | |
24 | Group: Development/Libraries | |
25 | ||
26 | %description devel | |
27 | This package contains the files necessary to develop applications | |
28 | using Evolution's data server libraries. | |
29 | ||
30 | %prep | |
31 | %setup -q | |
32 | ||
33 | %build | |
34 | glib-gettextize --copy --force | |
35 | intltoolize --copy --force | |
36 | %{__libtoolize} | |
37 | %{__aclocal} -I %{_aclocaldir}/gnome2-macros | |
38 | %{__autoheader} | |
39 | %{__autoconf} | |
40 | %{__automake} | |
41 | %configure \ | |
42 | --disable-gtk-doc \ | |
43 | --with-openldap=yes | |
44 | ||
45 | %{__make} \ | |
46 | GTKHTML_DATADIR=%{_datadir}/idl | |
47 | ||
48 | %install | |
49 | rm -rf $RPM_BUILD_ROOT | |
50 | ||
51 | %{__make} install \ | |
52 | DESTDIR=$RPM_BUILD_ROOT \ | |
53 | GTKHTML_DATADIR=%{_datadir}/idl \ | |
54 | pkgconfigdir=%{_pkgconfigdir} | |
55 | ||
56 | %find_lang %{name} --all-name | |
57 | ||
58 | %clean | |
59 | rm -rf $RPM_BUILD_ROOT | |
60 | ||
61 | %post | |
62 | /sbin/ldconfig | |
63 | /usr/bin/scrollkeeper-update | |
64 | %gconf_schema_install | |
65 | ||
66 | %postun | |
67 | /sbin/ldconfig | |
68 | /usr/bin/scrollkeeper-update | |
69 | ||
70 | ||
71 | %files -f %{name}.lang | |
72 | %defattr(644,root,root,755) | |
73 | %doc AUTHORS ChangeLog NEWS* README | |
74 | %attr(755,root,root) %{_libdir}/%{name}-1.0 | |
75 | %attr(755,root,root) %{_libdir}/*.so.*.* | |
76 | %{_libdir}/bonobo/servers/* | |
77 | %{_datadir}/idl/* | |
78 | %{_datadir}/%{name}-%{mver}/zoneinfo | |
79 | %{_datadir}/%{name}-%{mver}/*.schema | |
80 | ||
81 | ||
82 | %files devel | |
83 | %defattr(644,root,root,755) | |
84 | %attr(755,root,root) %{_libdir}/*.so | |
85 | %{_libdir}/*.la | |
86 | %{_includedir}/* | |
87 | %{_pkgconfigdir}/* |