]> git.pld-linux.org Git - packages/evolution-data-server.git/blobdiff - evolution-data-server.spec
- include gtk-doc in package
[packages/evolution-data-server.git] / evolution-data-server.spec
index 8a339f68dd7f4b1ea1769040fc9bcb45da0630eb..72337ecd09bfe1c24061a96ebc2ab4a2415c1f3d 100644 (file)
@@ -1,15 +1,25 @@
+#TODO:
+# - system db
+# - system libical
+# - --enable-gtk-doc
+# - --enable-static
+#
+%define                mver            1.0
+
 Summary:       Evolution data server
 Name:          evolution-data-server
 Version:       0.0.3
-Release:       0.1
+Release:       0.9
 License:       GPL
 Group:         Libraries
-Source0:       ftp://ftp.gnome.org/pub/gnome/sources/evolution-data-server/0.0/%{name}-%{version}.tar.gz
+Source0:       http://ftp.gnome.org/pub/gnome/sources/%{name}/0.0/%{name}-%{version}.tar.gz
 # Source0-md5: bcacfd623db973a100deb67f0b7d8a38
-URL:           http://www.gnome.org
+URL:           http://www.ximian.com/products/ximian_evolution/
 BuildRequires: libsoup-devel >= 2.1.2
-Requires(post):        /sbin/ldconfig
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+Requires(post,postun): /sbin/ldconfig
+Requires(post,postun): /usr/bin/scrollkeeper-update
+Requires(post):                GConf2
 
 %description
 Evolution data server.
@@ -19,42 +29,68 @@ Summary:    Evolution data server development files
 Group:         Development/Libraries
 
 %description devel
-Evolution data server development files.
-
-%description devel -l pl
-
-%package static
-Summary:       Evolution data server static libraries
-Group:         Development/Libraries
-
-%description static
-Evolution data server static libraries.
+This package contains the files necessary to develop applications
+using Evolution's data server libraries.
 
 %prep
-%setup -q
+%setup -q 
 
 %build
-%configure
-%{__make}
+glib-gettextize --copy --force
+intltoolize --copy --force
+%{__libtoolize}
+%{__aclocal} -I %{_aclocaldir}/gnome2-macros
+%{__autoheader}
+%{__autoconf}
+%{__automake}
+%configure \
+       --disable-gtk-doc \
+       --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}
+
+%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
 
-%files
-%defattr(644,root,root,755)
-%doc AUTHORS CREDITS ChangeLog NEWS README THANKS TODO
+%postun
+/sbin/ldconfig
+/usr/bin/scrollkeeper-update
 
-%files devel
+
+%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 static
+%files devel
 %defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/*.so
+%{_libdir}/*.la
+%{_includedir}/*
+%{_pkgconfigdir}/*
+%{_gtkdocdir}/*
This page took 0.029047 seconds and 4 git commands to generate.