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