diff --git a/.cvsignore b/.cvsignore index e69de29..e8a6964 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +evolution-data-server-0.0.5.tar.bz2 diff --git a/evolution-data-server.spec b/evolution-data-server.spec new file mode 100644 index 0000000..b7ea63c --- /dev/null +++ b/evolution-data-server.spec @@ -0,0 +1,80 @@ +%define eds_major 1.0 + +Summary: Backend data server for evolution +Name: evolution-data-server +Version: 0.0.5 +Release: 2 +License: GPL +Group: System Environment/Libraries +Source0: ftp://ftp.gnome.org/pub/gnome/sources/evolution-data-server/0.0/%{name}-%{version}.tar.bz2 +BuildRoot: %{_tmppath}/%{name}-root +BuildRequires: glib2-devel, gnome-vfs2-devel, GConf2-devel, openldap-devel + +%description +This is the backend data server used by Evolution + +%package devel +Summary: Development files for building against evolution-data-server +Group: Development/Libraries +Requires: %{name} = %{version} + +%description devel +Development files needed for building things which link against +evolution-data-server. + +%prep +%setup -q + +%build +export tagname=CC +CFLAGS="$RPM_OPT_FLAGS -fPIC"; export CFLAGS +%configure --with-openldap=yes +make LIBTOOL=/usr/bin/libtool + +%install +rm -rf $RPM_BUILD_ROOT +export tagname=CC +make DESTDIR=$RPM_BUILD_ROOT LIBTOOL=/usr/bin/libtool install + +# remove libtool archives for importers and the like +find $RPM_BUILD_ROOT/%{_libdir} -name '*.la' -exec rm {} \; +rm -f $RPM_BUILD_ROOT/%{_libdir}/*.a + +%find_lang %{name}-1.5 + +%clean +rm -rf $RPM_BUILD_ROOT + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + +%files -f %{name}-1.5.lang +%defattr(-,root,root,-) +%doc README COPYING ChangeLog NEWS AUTHORS +%{_libdir}/bonobo/servers/* +%{_libdir}/*.so.* +%{_libexecdir}/evolution-data-server-%{eds_major} +%{_datadir}/evolution-data-server-%{eds_major} +%{_datadir}/idl/evolution-data-server-%{eds_major} + +%files devel +%defattr(-,root,root,-) +%{_includedir}/evolution-data-server-%{eds_major} +%{_datadir}/gtk-doc/html/* +%{_libdir}/*.so +%{_libdir}/pkgconfig/*.pc + + +%changelog +* Wed Jan 21 2004 Jeremy Katz - 0.0.5-2 +- better fix by using system libtool + +* Mon Jan 19 2004 Jeremy Katz 0.0.5-1 +- add some libdb linkage to make the build on x86_64 happy + +* Wed Jan 14 2004 Jeremy Katz 0.0.5-0 +- update to 0.0.5 + +* Sat Jan 3 2004 Jeremy Katz 0.0.4-0 +- Initial build. diff --git a/sources b/sources index e69de29..a82fd04 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +134ffb2cbc6e1bb9d7a02fd36ea06bb1 evolution-data-server-0.0.5.tar.bz2