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