Split translations into separate package

This commit is contained in:
Milan Crha 2017-04-27 10:51:33 +02:00
parent f3b68582f3
commit 0534b46663

View File

@ -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 <mcrha@redhat.com> - 3.25.1-2
- Split translations into separate package
* Mon Apr 24 2017 Milan Crha <mcrha@redhat.com> - 3.25.1-1
- Update to 3.25.1