.spec cosmetics, own and fully %lang'ify %{_datadir}/locale/*/LC_SCRIPTS/ki18n5/ (#1157349)

epel8
Rex Dieter 10 years ago
parent 02c8ef3a24
commit 3b8381503d

@ -2,7 +2,7 @@
Name: kf5-%{framework}
Version: 5.10.0
Release: 1%{?dist}
Release: 2%{?dist}
Summary: KDE Frameworks 5 Tier 1 addon for localization
License: LGPLv2+
@ -34,24 +34,26 @@ KDE Frameworks 5 Tier 1 addon for localization.
Summary: Development files for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: gettext
%description devel
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.
%prep
%autosetup -n %{framework}-%{version} -p1
%build
mkdir -p %{_target_platform}
mkdir %{_target_platform}
pushd %{_target_platform}
%{cmake_kf5} ..
popd
make %{?_smp_mflags} -C %{_target_platform}
%install
%make_install -C %{_target_platform}
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
%find_lang ki18n5_qt --with-qt --all-name
@ -62,28 +64,27 @@ make %{?_smp_mflags} -C %{_target_platform}
%doc COPYING.LIB README.md
%{_kf5_libdir}/libKF5I18n.so.*
%{_kf5_qtplugindir}/kf5/ktranscript.so
%{_datadir}/locale/*/LC_SCRIPTS/ki18n5/ki18n5.js
# Trapnakron files are too large to be installed by default
%lang(sr) %{_datadir}/locale/sr/LC_SCRIPTS/ki18n5/trapnakron.pmap
%lang(sr) %{_datadir}/locale/sr/LC_SCRIPTS/ki18n5/trapnakron.pmapc
%lang(sr@ijekavian) %{_datadir}/locale/sr@ijekavian/LC_SCRIPTS/ki18n5/trapnakron.pmap
%lang(sr@ijekavian) %{_datadir}/locale/sr@ijekavian/LC_SCRIPTS/ki18n5/trapnakron.pmapc
%lang(sr@ijekavianlatin) %{_datadir}/locale/sr@ijekavianlatin/LC_SCRIPTS/ki18n5/trapnakron.pmap
%lang(sr@ijekavianlatin) %{_datadir}/locale/sr@ijekavianlatin/LC_SCRIPTS/ki18n5/trapnakron.pmapc
%lang(sr@latin) %{_datadir}/locale/sr@latin/LC_SCRIPTS/ki18n5/trapnakron.pmap
%lang(sr@latin) %{_datadir}/locale/sr@latin/LC_SCRIPTS/ki18n5/trapnakron.pmapc
%lang(fi) %{_datadir}/locale/fi/LC_SCRIPTS/ki18n5/general.pmap
%lang(fi) %{_datadir}/locale/fi/LC_SCRIPTS/ki18n5/general.pmapc
%lang(fi) %{_datadir}/locale/fi/LC_SCRIPTS/ki18n5/
%lang(gd) %{_datadir}/locale/gd/LC_SCRIPTS/ki18n5/
%lang(ru) %{_datadir}/locale/ru/LC_SCRIPTS/ki18n5/
%lang(sr) %{_datadir}/locale/sr/LC_SCRIPTS/ki18n5/
%lang(sr@ijekavian) %{_datadir}/locale/sr@ijekavian/LC_SCRIPTS/ki18n5/
%lang(sr@ijekavianlatin) %{_datadir}/locale/sr@ijekavianlatin/LC_SCRIPTS/ki18n5/
%lang(sr@latin) %{_datadir}/locale/sr@latin/LC_SCRIPTS/ki18n5/
%lang(sr) %{_datadir}/locale/uk/LC_SCRIPTS/ki18n5/
%files devel
%{_kf5_includedir}/ki18n_version.h
%{_kf5_includedir}/KI18n
%{_kf5_includedir}/KI18n/
%{_kf5_libdir}/libKF5I18n.so
%{_kf5_libdir}/cmake/KF5I18n
%{_kf5_libdir}/cmake/KF5I18n/
%{_kf5_archdatadir}/mkspecs/modules/qt_KI18n.pri
%changelog
* Thu May 14 2015 Rex Dieter <rdieter@fedoraproject.org> 5.10.0-2
- .spec cosmetics, own and fully %%lang'ify %%{_datadir}/locale/*/LC_SCRIPTS/ki18n5/ (#1157349)
* Mon May 11 2015 Daniel Vrátil <dvratil@redhat.com> - 5.10.0-1
- KDE Frameworks 5.10.0

Loading…
Cancel
Save