- now build ok
[packages/evolution-data-server.git] / evolution-data-server.spec
CommitLineData
46c4d742 1
2%define mver 1.0
3
11b4e6b5 4Summary: Evolution data server
5Name: evolution-data-server
6Version: 0.0.3
46c4d742 7Release: 0.9
11b4e6b5 8License: GPL
9Group: Libraries
46c4d742 10Source0: http://ftp.gnome.org/pub/gnome/sources/%{name}/0.0/%{name}-%{version}.tar.gz
11b4e6b5 11# Source0-md5: bcacfd623db973a100deb67f0b7d8a38
46c4d742 12URL: http://www.ximian.com/products/ximian_evolution/
11b4e6b5 13BuildRequires: libsoup-devel >= 2.1.2
11b4e6b5 14BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
46c4d742 15Requires(post,postun): /sbin/ldconfig
16Requires(post,postun): /usr/bin/scrollkeeper-update
17Requires(post): GConf2
11b4e6b5 18
19%description
20Evolution data server.
21
22%package devel
23Summary: Evolution data server development files
24Group: Development/Libraries
25
26%description devel
46c4d742 27This package contains the files necessary to develop applications
28using Evolution's data server libraries.
11b4e6b5 29
30%prep
46c4d742 31%setup -q
11b4e6b5 32
33%build
46c4d742 34glib-gettextize --copy --force
35intltoolize --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
49rm -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
59rm -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}/*
This page took 0.048102 seconds and 4 git commands to generate.