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