X-Git-Url: https://git.pld-linux.org/?a=blobdiff_plain;f=evolution-data-server.spec;h=313e5904a1d196a257db1bed1bdcf670d32b4f09;hb=c84b0156c88d37b1434bca6485a659fb11fb904d;hp=71e70fc9c7b2fc9757b6004c621c66b8a8c4b623;hpb=46c4d742cc97a2bbb0e725f454d782f72142f7d1;p=packages%2Fevolution-data-server.git diff --git a/evolution-data-server.spec b/evolution-data-server.spec index 71e70fc..313e590 100644 --- a/evolution-data-server.spec +++ b/evolution-data-server.spec @@ -1,34 +1,89 @@ - +# +# todo: +# - system libical +# %define mver 1.0 Summary: Evolution data server +Summary(pl): Serwer danych Evolution Name: evolution-data-server -Version: 0.0.3 -Release: 0.9 +Version: 0.0.98 +Release: 2 License: GPL Group: Libraries -Source0: http://ftp.gnome.org/pub/gnome/sources/%{name}/0.0/%{name}-%{version}.tar.gz -# Source0-md5: bcacfd623db973a100deb67f0b7d8a38 +Source0: http://ftp.gnome.org/pub/gnome/sources/%{name}/0.0/%{name}-%{version}.tar.bz2 +# Source0-md5: acc604979b4b8044f8ac5360b8fa82a4 +Patch0: %{name}-system_db.patch +Patch1: %{name}-locale-names.patch +Patch2: %{name}-GG-IM.patch +Patch3: %{name}-configure.patch URL: http://www.ximian.com/products/ximian_evolution/ -BuildRequires: libsoup-devel >= 2.1.2 -BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) +BuildRequires: ORBit2-devel >= 1:2.10.3 +BuildRequires: autoconf >= 2.52 +BuildRequires: automake +BuildRequires: db-devel +BuildRequires: intltool +BuildRequires: libgnome-devel >= 2.6.1.1 +BuildRequires: libsoup-devel >= 2.2.0 +BuildRequires: libtool +BuildRequires: openldap-devel +BuildRequires: pkgconfig Requires(post,postun): /sbin/ldconfig Requires(post,postun): /usr/bin/scrollkeeper-update Requires(post): GConf2 +Requires: libsoup >= 2.2.0 +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description -Evolution data server. +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} +# for all but libegroupwise +Requires: GConf2-devel >= 2.6.2 +Requires: ORBit2-devel >= 1:2.10.3 +Requires: glib2-devel >= 1:2.4.4 +Requires: libbonobo-devel >= 2.6.2 +Requires: libgnome-devel >= 2.6.1.1 +Requires: libxml2-devel +# for libegroupwise +Requires: libsoup-devel >= 2.2.0 %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 +%patch2 -p1 +%patch3 -p1 + +mv po/{no,nb}.po +rm -rf libdb %build glib-gettextize --copy --force @@ -38,12 +93,23 @@ intltoolize --copy --force %{__autoheader} %{__autoconf} %{__automake} + +cd calendar/libical +%{__libtoolize} +%{__aclocal} +%{__autoheader} +%{__autoconf} +%{__automake} +cd ../.. + %configure \ - --disable-gtk-doc \ + --enable-gtk-doc \ + --enable-static \ --with-openldap=yes %{__make} \ - GTKHTML_DATADIR=%{_datadir}/idl + HTML_DIR=%{_gtkdocdir} \ + GTKHTML_DATADIR=%{_datadir}/idl %install rm -rf $RPM_BUILD_ROOT @@ -51,6 +117,7 @@ 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 @@ -67,7 +134,6 @@ rm -rf $RPM_BUILD_ROOT /sbin/ldconfig /usr/bin/scrollkeeper-update - %files -f %{name}.lang %defattr(644,root,root,755) %doc AUTHORS ChangeLog NEWS* README @@ -75,13 +141,18 @@ rm -rf $RPM_BUILD_ROOT %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