Split translations into separate package

This commit is contained in:
Milan Crha 2017-04-27 10:48:46 +02:00
parent fa435a17f8
commit ed7cdc39a3

View File

@ -34,7 +34,7 @@
Name: evolution-data-server
Version: 3.25.1
Release: 1%{?dist}
Release: 2%{?dist}
Group: System Environment/Libraries
Summary: Backend data server for Evolution
License: LGPLv2+
@ -61,6 +61,7 @@ Obsoletes: compat-evolution-data-server310-libcamel < 3.12
### Dependencies ###
Requires: dconf
Requires: %{name}-langpacks = %{version}-%{release}
### Build Dependencies ###
@ -136,6 +137,14 @@ Requires: pkgconfig(json-glib-1.0) >= %{json_glib_version}
%description devel
Development files needed for building things which link against %{name}.
%package langpacks
Summary: Translations for %{name}
BuildArch: noarch
Requires: %{name} = %{version}-%{release}
%description langpacks
This package contains translations for %{name}.
%if %{with_docs}
%package doc
@ -273,7 +282,7 @@ fi
%posttrans
glib-compile-schemas %{_datadir}/glib-2.0/schemas &>/dev/null || :
%files -f _build/%{name}-%{eds_base_version}.lang
%files
%doc README COPYING ChangeLog NEWS
%{_libdir}/libcamel-1.2.so.*
%{_libdir}/libebackend-1.2.so.*
@ -411,6 +420,8 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &>/dev/null || :
%{_datadir}/vala/vapi/libedataserverui-1.2.deps
%{_datadir}/vala/vapi/libedataserverui-1.2.vapi
%files langpacks -f _build/%{name}-%{eds_base_version}.lang
%if %{with_docs}
%files doc
@ -428,6 +439,9 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &>/dev/null || :
%{_datadir}/installed-tests
%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