]> git.pld-linux.org Git - packages/evolution-data-server.git/blobdiff - evolution-data-server.spec
- updated to 1.0.4
[packages/evolution-data-server.git] / evolution-data-server.spec
index 8a339f68dd7f4b1ea1769040fc9bcb45da0630eb..d145d8f6d5bb8db91310ed7a3b0a3d352d837ee4 100644 (file)
+#
+# 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.1
+Version:       1.0.4
+Release:       1
 License:       GPL
 Group:         Libraries
-Source0:       ftp://ftp.gnome.org/pub/gnome/sources/evolution-data-server/0.0/%{name}-%{version}.tar.gz
-# Source0-md5: bcacfd623db973a100deb67f0b7d8a38
-URL:           http://www.gnome.org
-BuildRequires: libsoup-devel >= 2.1.2
-Requires(post):        /sbin/ldconfig
+Source0:       http://ftp.gnome.org/pub/gnome/sources/evolution-data-server/1.0/%{name}-%{version}.tar.bz2
+# Source0-md5: 5c9c6cac9b65d392e50ea3214022cb5b
+Patch0:                %{name}-system_db.patch
+Patch1:                %{name}-GG-IM.patch
+Patch2:                %{name}-workaround-cal-backend-leak.patch
+URL:           http://www.ximian.com/products/ximian_evolution/
+BuildRequires: ORBit2-devel >= 1:2.10.3
+BuildRequires: autoconf >= 2.52
+BuildRequires: automake
+BuildRequires: db-devel
+BuildRequires: gnome-common >= 2.8.0
+BuildRequires: intltool
+BuildRequires: libgnome-devel >= 2.6.1.1
+BuildRequires: libsoup-devel >= 2.2.2
+BuildRequires: libstdc++-devel
+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.2
 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.2
 
 %description devel
-Evolution data server development files.
+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
+%setup -q 
+%patch0 -p1
+%patch1 -p1
+%patch2 -p1
+
+rm -rf libdb
 
 %build
-%configure
-%{__make}
+glib-gettextize --copy --force
+intltoolize --copy --force
+%{__libtoolize}
+%{__aclocal}
+%{__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
+       DESTDIR=$RPM_BUILD_ROOT \
+       GTKHTML_DATADIR=%{_datadir}/idl \
+       HTML_DIR=%{_gtkdocdir} \
+       pkgconfigdir=%{_pkgconfigdir}
+
+rm -r $RPM_BUILD_ROOT%{_datadir}/locale/no
+
+%find_lang %{name} --all-name
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%post -p /sbin/ldconfig
-%postun -p /sbin/ldconfig
+%post
+/sbin/ldconfig
+/usr/bin/scrollkeeper-update
+%gconf_schema_install
+
+%postun
+/sbin/ldconfig
+/usr/bin/scrollkeeper-update
 
-%files
+%files -f %{name}.lang
 %defattr(644,root,root,755)
-%doc AUTHORS CREDITS ChangeLog NEWS README THANKS TODO
+%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
This page took 0.036392 seconds and 4 git commands to generate.