From 5485a00d418413e1e55c24679cc8ce7f9ebd6fbd Mon Sep 17 00:00:00 2001 From: Rosa Date: Wed, 1 Feb 2012 20:34:13 +0400 Subject: [PATCH] Automatic import for version 0.32.2 --- .abf.yml | 2 + evolution-mapi-0.31.2-fix-linking.patch | 12 ++ evolution-mapi.spec | 276 ++++++++++++++++++++++++ 3 files changed, 290 insertions(+) create mode 100644 .abf.yml create mode 100644 evolution-mapi-0.31.2-fix-linking.patch create mode 100644 evolution-mapi.spec diff --git a/.abf.yml b/.abf.yml new file mode 100644 index 0000000..10f4298 --- /dev/null +++ b/.abf.yml @@ -0,0 +1,2 @@ +sources: + "evolution-mapi-0.32.2.tar.bz2": 0bcee974af1f596f3f027da8ad6969b198dd6fcf diff --git a/evolution-mapi-0.31.2-fix-linking.patch b/evolution-mapi-0.31.2-fix-linking.patch new file mode 100644 index 0000000..527ef3d --- /dev/null +++ b/evolution-mapi-0.31.2-fix-linking.patch @@ -0,0 +1,12 @@ +diff -p -up evolution-mapi-0.31.2/src/libexchangemapi/Makefile.am.2147483647 evolution-mapi-0.31.2/src/libexchangemapi/Makefile.am +--- evolution-mapi-0.31.2/src/libexchangemapi/Makefile.am.2147483647 2010-05-21 06:23:20.000000000 +0200 ++++ evolution-mapi-0.31.2/src/libexchangemapi/Makefile.am 2010-05-24 13:17:31.000000000 +0200 +@@ -39,7 +39,7 @@ libexchangemapi_1_0_la_LIBADD = \ + $(LIBEDATASERVER_LIBS) \ + $(LIBECAL_LIBS) \ + $(LIBMAPI_LIBS) \ +- $(CAMEL_LIBS) ++ $(CAMEL_LIBS) -lsamba-util + + libexchangemapi_1_0_la_LDFLAGS = $(NO_UNDEFINED) + diff --git a/evolution-mapi.spec b/evolution-mapi.spec new file mode 100644 index 0000000..fc2272f --- /dev/null +++ b/evolution-mapi.spec @@ -0,0 +1,276 @@ +%define version 0.32.2 +%define evo_version 2.31.5 +%define eds_version 2.31.1 +%define libmapi_version 0.9 +%define intltool_version 0.35.5 + +%define evo_major 2.32 +%define eds_major 1.2 + +%define strict_build_settings 1 + +%define api 1.0 +%define major 0 +%define libname %mklibname exchangemapi %api %major +%define develname %mklibname -d exchangemapi + +Name: evolution-mapi +Version: %version +Release: %mkrel 1 +Group: Networking/Mail +Summary: Evolution extension for MS Exchange 2007 servers +License: LGPLv2+ +URL: http://www.gnome.org/projects/evolution-mapi/ +Source: http://ftp.gnome.org/pub/GNOME/sources/%name/%name-%{version}.tar.bz2 +Patch0: evolution-mapi-0.31.2-fix-linking.patch +Requires: evolution >= %{evo_version} +Requires: evolution-data-server >= %{eds_version} +Requires: %libname >= %version-%release +BuildRoot: {_tmppath}/%{name}-%{version}-root + +BuildRequires: evolution-data-server-devel >= %{eds_version} +BuildRequires: evolution-devel >= %{evo_version} +BuildRequires: gettext +BuildRequires: intltool >= %{intltool_version} +BuildRequires: gtk-doc +BuildRequires: libmapi-devel >= %{libmapi_version} +#gw another .la dep +BuildRequires: gnome-desktop-devel +BuildRequires: tdb-devel +BuildRequires: samba4-devel + +%description +This package allows Evolution to interact with MS Exchange 2007 servers. + +%package -n %libname +Summary: Shared library of %name +Group: System/Libraries + +%description -n %libname +This package allows Evolution to interact with MS Exchange 2007 servers. + + +%package -n %develname +Summary: Development files for building against %{name} +Group: Development/C +Requires: %{libname} = %{version}-%{release} +Requires: evolution-data-server-devel >= %{eds_version} +Requires: evolution-devel >= %{evo_version} +Provides: %name-devel = %version-%release +Obsoletes: %name-devel +Provides: lib%name-devel = %version-%release + +%description -n %develname +Development files needed for building things which link against %{name}. + +%prep +%setup -q +%apply_patches +autoreconf -fi + +%build + +# Add stricter build settings here as the source code gets cleaned up. +# We want to make sure things like compiler warnings and avoiding deprecated +# functions in the GNOME/GTK+ libraries stay fixed. +# +# Please file a bug report at bugzilla.gnome.org if these settings break +# compilation, and encourage the upstream developers to use them. + +%if %{strict_build_settings} +CFLAGS="$CFLAGS \ + -DG_DISABLE_DEPRECATED=1 \ + -DPANGO_DISABLE_DEPRECATED=1 \ + -DGDK_PIXBUF_DISABLE_DEPRECATED=1 \ + -DGDK_DISABLE_DEPRECATED=1 \ + -DGTK_DISABLE_DEPRECATED=1 \ + -DEDS_DISABLE_DEPRECATED=1 \ + -Wdeclaration-after-statement \ + -Werror-implicit-function-declaration" +%endif + +%configure2_5x +%make + +%install +rm -rf $RPM_BUILD_ROOT +%makeinstall_std + +find $RPM_BUILD_ROOT/%{_libdir}/evo* -name '*.la' -exec rm {} \; + +%find_lang %{name} + +%clean +rm -rf $RPM_BUILD_ROOT + +%files -f %{name}.lang +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog COPYING INSTALL README +%{_libdir}/evolution/%{evo_major}/plugins/* +%{_libdir}/evolution-data-server-%{eds_major}/camel-providers/libcamelmapi.so +%{_libdir}/evolution-data-server-%{eds_major}/camel-providers/libcamelmapi.urls +%{_libdir}/evolution-data-server-%{eds_major}/extensions/libebookbackendmapi.so +%{_libdir}/evolution-data-server-%{eds_major}/extensions/libecalbackendmapi.so +%{_datadir}/evolution-data-server-%{evo_major}/mapi + +%files -n %libname +%defattr(-,root,root,-) +%{_libdir}/libexchangemapi-%api.so.%{major}* + +%files -n %develname +%defattr(-,root,root,-) +%{_includedir}/evolution-data-server-%{evo_major}/mapi +%{_libdir}/libexchangemapi-1.0.so +%{_libdir}/libexchangemapi-1.0.la +%{_libdir}/pkgconfig/libexchangemapi-1.0.pc + + +%changelog +* Mon Feb 07 2011 Götz Waschk 0.32.2-1mdv2011.0 ++ Revision: 636534 +- update to new version 0.32.2 + +* Mon Nov 15 2010 Götz Waschk 0.32.1-1mdv2011.0 ++ Revision: 597761 +- update to new version 0.32.1 + +* Mon Sep 27 2010 Götz Waschk 0.32.0-1mdv2011.0 ++ Revision: 581262 +- update to new version 0.32.0 + +* Mon Sep 13 2010 Götz Waschk 0.31.92-1mdv2011.0 ++ Revision: 578009 +- update to new version 0.31.92 + +* Mon Aug 30 2010 Götz Waschk 0.31.91-1mdv2011.0 ++ Revision: 574325 +- update to new version 0.31.91 + +* Mon Aug 16 2010 Götz Waschk 0.31.90-1mdv2011.0 ++ Revision: 570472 +- update to new version 0.31.90 + +* Tue Aug 03 2010 Götz Waschk 0.31.6-1mdv2011.0 ++ Revision: 565556 +- new version +- fix evolution dir version + +* Fri Jul 30 2010 Götz Waschk 0.31.5-1mdv2011.0 ++ Revision: 563659 +- new version +- rediff the patch +- bump deps + +* Tue Jun 22 2010 Frederic Crozat 0.30.2.1-1mdv2010.1 ++ Revision: 548546 +- Release 0.30.2.1 + +* Mon Apr 26 2010 Götz Waschk 0.30.1-1mdv2010.1 ++ Revision: 538982 +- update to new version 0.30.1 + +* Mon Mar 29 2010 Götz Waschk 0.30.0-1mdv2010.1 ++ Revision: 528778 +- update to new version 0.30.0 + +* Mon Mar 08 2010 Götz Waschk 0.29.92-1mdv2010.1 ++ Revision: 515891 +- update to new version 0.29.92 +- fix obsoleting the devel package + +* Thu Mar 04 2010 Götz Waschk 0.29.91-2mdv2010.1 ++ Revision: 514082 +- fix devel obsoletes + +* Wed Mar 03 2010 Götz Waschk 0.29.91-1mdv2010.1 ++ Revision: 513784 +- fix linking +- split out library package +- new version +- bump libmapi dep + +* Fri Jan 15 2010 Götz Waschk 0.29.5-4mdv2010.1 ++ Revision: 491611 +- rebuild for lost package + +* Tue Jan 12 2010 Götz Waschk 0.29.5-3mdv2010.1 ++ Revision: 490057 +- bump +- rebuild for new libedata-cal + +* Mon Jan 11 2010 Götz Waschk 0.29.5-1mdv2010.1 ++ Revision: 489814 +- update to new version 0.29.5 + +* Tue Dec 22 2009 Götz Waschk 0.29.4-1mdv2010.1 ++ Revision: 481225 +- new version +- drop patch +- bump deps + +* Wed Dec 09 2009 Götz Waschk 0.29.3-1mdv2010.1 ++ Revision: 475721 +- new version +- update deps +- fix build + +* Tue Oct 20 2009 Götz Waschk 0.28.1-1mdv2010.0 ++ Revision: 458339 +- update to new version 0.28.1 + +* Mon Sep 21 2009 Götz Waschk 0.28.0-1mdv2010.0 ++ Revision: 446949 +- update to new version 0.28.0 + +* Fri Sep 11 2009 Götz Waschk 0.27.92-1mdv2010.0 ++ Revision: 437907 +- new version + +* Mon Aug 24 2009 Götz Waschk 0.27.91-1mdv2010.0 ++ Revision: 420537 +- update build deps +- update to new version 0.27.91 + +* Mon Aug 10 2009 Götz Waschk 0.27.90-1mdv2010.0 ++ Revision: 414230 +- update to new version 0.27.90 + +* Mon Jul 27 2009 Götz Waschk 0.27.5-1mdv2010.0 ++ Revision: 400785 +- new version +- update file list + +* Mon Jul 13 2009 Götz Waschk 0.27.4-1mdv2010.0 ++ Revision: 395451 +- update to new version 0.27.4 + +* Mon Jun 15 2009 Götz Waschk 0.27.3-1mdv2010.0 ++ Revision: 386019 +- update to new version 0.27.3 + +* Tue May 26 2009 Götz Waschk 0.27.2-1mdv2010.0 ++ Revision: 379840 +- new version +- bump deps + +* Mon May 11 2009 Götz Waschk 0.27.1-1mdv2010.0 ++ Revision: 374547 +- new version +- bump deps +- new api version +- use the right configure macro + +* Thu Apr 23 2009 Frederic Crozat 0.26.1-2mdv2009.1 ++ Revision: 368834 +- Fix devel package not installable + +* Tue Apr 14 2009 Götz Waschk 0.26.1-1mdv2009.1 ++ Revision: 366927 +- update to new version 0.26.1 +- fix source URL + +* Fri Mar 27 2009 Buchan Milne 0.26.0.1-1mdv2009.1 ++ Revision: 361720 +- import evolution-mapi + +