diff --git a/alkimia.spec b/alkimia.spec index df59440..fb22c68 100644 --- a/alkimia.spec +++ b/alkimia.spec @@ -17,6 +17,7 @@ %define sonum 8 +%bcond_without lang Name: alkimia Version: 8.0.1 Release: 0 @@ -38,6 +39,7 @@ BuildRequires: cmake(Qt5Core) BuildRequires: cmake(Qt5Qml) BuildRequires: cmake(Qt5Test) BuildRequires: cmake(Qt5WebKitWidgets) +Recommends: %{name}-lang = %{version} %description libalkimia is a library with common classes and functionality used by finance @@ -59,6 +61,8 @@ Requires: libalkimia5-%{sonum} = %{version} %description -n libalkimia5-devel The development files for libalkimia. +%lang_package + %prep %setup -q @@ -69,9 +73,25 @@ The development files for libalkimia. %install %kf5_makeinstall -C build +%if %{with lang} +%find_lang %{name} +%endif + %post -n libalkimia5-%{sonum} -p /sbin/ldconfig %postun -n libalkimia5-%{sonum} -p /sbin/ldconfig +%files +%license COPYING.LIB +%{_kf5_applicationsdir}/org.kde.onlinequoteseditor.desktop +%{_kf5_appstreamdir}/org.wincak.foreigncurrencies2.appdata.xml +%{_kf5_bindir}/onlinequoteseditor +%{_kf5_iconsdir}/hicolor/*/apps/onlinequoteseditor.* +%{_kf5_plasmadir}/plasmoids/ +%{_kf5_qmldir}/ +%{_kf5_servicesdir}/plasma-applet-org.wincak.foreigncurrencies2.desktop +%{_kf5_sharedir}/alkimia5/ +%{_kf5_sysconfdir/xdg/*.knsrc + %files -n libalkimia5-devel %license COPYING.LIB %dir %{_includedir}/alkimia/ @@ -85,4 +105,8 @@ The development files for libalkimia. %doc README.md %{_kf5_libdir}/libalkimia5.so.%{sonum}* +%if %{with lang} +%files lang -f %{name}.lang +%endif + %changelog