]>
Commit | Line | Data |
---|---|---|
46c4d742 | 1 | |
2 | %define mver 1.0 | |
3 | ||
11b4e6b5 | 4 | Summary: Evolution data server |
5 | Name: evolution-data-server | |
6 | Version: 0.0.3 | |
46c4d742 | 7 | Release: 0.9 |
11b4e6b5 | 8 | License: GPL |
9 | Group: Libraries | |
46c4d742 | 10 | Source0: http://ftp.gnome.org/pub/gnome/sources/%{name}/0.0/%{name}-%{version}.tar.gz |
11b4e6b5 | 11 | # Source0-md5: bcacfd623db973a100deb67f0b7d8a38 |
46c4d742 | 12 | URL: http://www.ximian.com/products/ximian_evolution/ |
11b4e6b5 | 13 | BuildRequires: libsoup-devel >= 2.1.2 |
11b4e6b5 | 14 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
46c4d742 | 15 | Requires(post,postun): /sbin/ldconfig |
16 | Requires(post,postun): /usr/bin/scrollkeeper-update | |
17 | Requires(post): GConf2 | |
11b4e6b5 | 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 | |
46c4d742 | 27 | This package contains the files necessary to develop applications |
28 | using Evolution's data server libraries. | |
11b4e6b5 | 29 | |
30 | %prep | |
46c4d742 | 31 | %setup -q |
11b4e6b5 | 32 | |
33 | %build | |
46c4d742 | 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 | |
11b4e6b5 | 47 | |
48 | %install | |
49 | rm -rf $RPM_BUILD_ROOT | |
50 | ||
51 | %{__make} install \ | |
46c4d742 | 52 | DESTDIR=$RPM_BUILD_ROOT \ |
53 | GTKHTML_DATADIR=%{_datadir}/idl \ | |
54 | pkgconfigdir=%{_pkgconfigdir} | |
55 | ||
56 | %find_lang %{name} --all-name | |
11b4e6b5 | 57 | |
58 | %clean | |
59 | rm -rf $RPM_BUILD_ROOT | |
60 | ||
46c4d742 | 61 | %post |
62 | /sbin/ldconfig | |
63 | /usr/bin/scrollkeeper-update | |
64 | %gconf_schema_install | |
11b4e6b5 | 65 | |
46c4d742 | 66 | %postun |
67 | /sbin/ldconfig | |
68 | /usr/bin/scrollkeeper-update | |
11b4e6b5 | 69 | |
46c4d742 | 70 | |
71 | %files -f %{name}.lang | |
11b4e6b5 | 72 | %defattr(644,root,root,755) |
46c4d742 | 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 | ||
11b4e6b5 | 81 | |
46c4d742 | 82 | %files devel |
11b4e6b5 | 83 | %defattr(644,root,root,755) |
46c4d742 | 84 | %attr(755,root,root) %{_libdir}/*.so |
85 | %{_libdir}/*.la | |
86 | %{_includedir}/* | |
87 | %{_pkgconfigdir}/* |