From 0534b46663004f88649b7c891e54b64b35430f20 Mon Sep 17 00:00:00 2001 From: Milan Crha Date: Apr 27 2017 08:51:33 +0000 Subject: Split translations into separate package --- diff --git a/evolution-ews.spec b/evolution-ews.spec index 4006d8b..66ee918 100644 --- a/evolution-ews.spec +++ b/evolution-ews.spec @@ -2,7 +2,7 @@ Name: evolution-ews Version: 3.25.1 -Release: 1%{?dist} +Release: 2%{?dist} Group: Applications/Productivity Summary: Evolution extension for Exchange Web Services License: LGPLv2 @@ -13,6 +13,7 @@ Source: http://download.gnome.org/sources/%{name}/3.25/%{name}-%{version}.tar.xz Requires: evolution >= %{version} Requires: evolution-data-server >= %{version} +Requires: %{name}-langpacks = %{version}-%{release} Requires: libmspack >= %{libmspack_version} BuildRequires: cmake @@ -38,6 +39,14 @@ BuildRequires: pkgconfig(libsoup-2.4) This package allows Evolution to interact with Microsoft Exchange servers, versions 2007 and later, through its Exchange Web Services (EWS) interface. +%package langpacks +Summary: Translations for %{name} +BuildArch: noarch +Requires: %{name} = %{version}-%{release} + +%description langpacks +This package contains translations for %{name}. + %prep %setup -q #%patch01 -p1 -b .xmlbuffer @@ -63,7 +72,7 @@ make install DESTDIR=$RPM_BUILD_ROOT %postun -p /sbin/ldconfig -%files -f _build/%{name}.lang +%files %doc COPYING NEWS README %{_libdir}/evolution/modules/module-ews-configuration.so %{_libdir}/evolution-data-server/camel-providers/libcamelews.so @@ -77,7 +86,12 @@ make install DESTDIR=$RPM_BUILD_ROOT %{_datadir}/evolution/errors/module-ews-configuration.error %{_datadir}/evolution-data-server/ews/windowsZones.xml +%files langpacks -f _build/%{name}.lang + %changelog +* Thu Apr 27 2017 Milan Crha - 3.25.1-2 +- Split translations into separate package + * Mon Apr 24 2017 Milan Crha - 3.25.1-1 - Update to 3.25.1