# # todo: # - system libical # %define mver 1.0 %define snap 20031227 Summary: Evolution data server Summary(pl): Serwer danych Evolution Name: evolution-data-server Version: 0.0.90 Release: 2 License: GPL Group: Libraries Source0: http://ftp.gnome.org/pub/gnome/sources/%{name}/0.0/%{name}-%{version}.tar.gz # Source0-md5: 41aadf145765943a16279bac4e67beb3 #Source0: %{name}-%{version}-%{snap}.tar.bz2 Patch0: %{name}-system_db.patch Patch1: %{name}-locale-names.patch URL: http://www.ximian.com/products/ximian_evolution/ BuildRequires: ORBit2-devel >= 2.9.0 BuildRequires: autoconf >= 2.52 BuildRequires: automake BuildRequires: db-devel BuildRequires: intltool BuildRequires: libgnome-devel >= 2.5.0 BuildRequires: libsoup-devel >= 2.1.8 BuildRequires: libtool BuildRequires: openldap-devel BuildRequires: pkgconfig Requires(post,postun): /sbin/ldconfig Requires(post,postun): /usr/bin/scrollkeeper-update Requires(post): GConf2 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description The Evolution data server for the calendar and addressbook. %description -l pl Serwer danych Evolution dla kalendarza i książki adresowej. %package devel Summary: Evolution data server development files Summary(pl): Pliki programistyczne serwera danych evolution Group: Development/Libraries Requires: %{name} = %{version}-%{release} Requires: GConf2-devel >= 2.5.0 Requires: ORBit2-devel >= 2.9.0 Requires: glib2-devel >= 2.3.0 Requires: libbonobo-devel >= 2.5.0 Requires: libxml2-devel %description devel This package contains the files necessary to develop applications using Evolution's data server libraries. %description devel -l pl Ten pakiet zawiera pliki potrzebne do tworzenia aplikacji korzystających z bibliotek serwera danych Evolution. %package static Summary: Evolution data server static libraries Summary(pl): Statyczne biblioteki serwera danych Evolution Group: Development/Libraries Requires: %{name}-devel = %{version}-%{release} %description static Evolution data server static libraries. %description static -l pl Statyczne biblioteki serwera danych Evolution. %prep %setup -q %patch0 -p1 %patch1 -p1 mv po/{no,nb}.po rm -rf libdb %build glib-gettextize --copy --force intltoolize --copy --force %{__libtoolize} %{__aclocal} -I %{_aclocaldir}/gnome2-macros %{__autoheader} %{__autoconf} %{__automake} cd calendar/libical %{__libtoolize} %{__aclocal} %{__autoheader} %{__autoconf} %{__automake} cd ../.. %configure \ --enable-gtk-doc \ --enable-static \ --with-openldap=yes %{__make} \ HTML_DIR=%{_gtkdocdir} \ GTKHTML_DATADIR=%{_datadir}/idl %install rm -rf $RPM_BUILD_ROOT %{__make} install \ DESTDIR=$RPM_BUILD_ROOT \ GTKHTML_DATADIR=%{_datadir}/idl \ HTML_DIR=%{_gtkdocdir} \ pkgconfigdir=%{_pkgconfigdir} %find_lang %{name} --all-name %clean rm -rf $RPM_BUILD_ROOT %post /sbin/ldconfig /usr/bin/scrollkeeper-update %gconf_schema_install %postun /sbin/ldconfig /usr/bin/scrollkeeper-update %files -f %{name}.lang %defattr(644,root,root,755) %doc AUTHORS ChangeLog NEWS* README %attr(755,root,root) %{_libdir}/%{name}-1.0 %attr(755,root,root) %{_libdir}/*.so.*.* %{_libdir}/bonobo/servers/* %{_datadir}/idl/* %dir %{_datadir}/%{name}-%{mver} %{_datadir}/%{name}-%{mver}/zoneinfo %{_datadir}/%{name}-%{mver}/*.schema %files devel %defattr(644,root,root,755) %attr(755,root,root) %{_libdir}/*.so %{_libdir}/*.la %{_includedir}/* %{_pkgconfigdir}/* %{_gtkdocdir}/* %files static %defattr(644,root,root,755) %{_libdir}/*.a