]> git.pld-linux.org Git - packages/evolution-data-server.git/blobdiff - evolution-data-server.spec
- added locale-names patch (changes locale no -> nb)
[packages/evolution-data-server.git] / evolution-data-server.spec
index 71e70fc9c7b2fc9757b6004c621c66b8a8c4b623..5507070eea41bda1a8ead5b966d1f46e12f0f984 100644 (file)
@@ -1,34 +1,84 @@
 
+#
+# 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.3
-Release:       0.9
+Version:       0.0.7
+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-md5: 743893fa1840b22514bc33db05e36d83
+#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: libsoup-devel >= 2.1.2
-BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+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.7
+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
-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}
+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
@@ -38,12 +88,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 +112,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 +129,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 +136,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
This page took 0.032583 seconds and 4 git commands to generate.