This commit is contained in:
parent
0e69f31c1e
commit
fef256937f
24
alkimia.spec
24
alkimia.spec
@ -17,6 +17,7 @@
|
|||||||
|
|
||||||
|
|
||||||
%define sonum 8
|
%define sonum 8
|
||||||
|
%bcond_without lang
|
||||||
Name: alkimia
|
Name: alkimia
|
||||||
Version: 8.0.1
|
Version: 8.0.1
|
||||||
Release: 0
|
Release: 0
|
||||||
@ -38,6 +39,7 @@ BuildRequires: cmake(Qt5Core)
|
|||||||
BuildRequires: cmake(Qt5Qml)
|
BuildRequires: cmake(Qt5Qml)
|
||||||
BuildRequires: cmake(Qt5Test)
|
BuildRequires: cmake(Qt5Test)
|
||||||
BuildRequires: cmake(Qt5WebKitWidgets)
|
BuildRequires: cmake(Qt5WebKitWidgets)
|
||||||
|
Recommends: %{name}-lang = %{version}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
libalkimia is a library with common classes and functionality used by finance
|
libalkimia is a library with common classes and functionality used by finance
|
||||||
@ -59,6 +61,8 @@ Requires: libalkimia5-%{sonum} = %{version}
|
|||||||
%description -n libalkimia5-devel
|
%description -n libalkimia5-devel
|
||||||
The development files for libalkimia.
|
The development files for libalkimia.
|
||||||
|
|
||||||
|
%lang_package
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
@ -69,9 +73,25 @@ The development files for libalkimia.
|
|||||||
%install
|
%install
|
||||||
%kf5_makeinstall -C build
|
%kf5_makeinstall -C build
|
||||||
|
|
||||||
|
%if %{with lang}
|
||||||
|
%find_lang %{name}
|
||||||
|
%endif
|
||||||
|
|
||||||
%post -n libalkimia5-%{sonum} -p /sbin/ldconfig
|
%post -n libalkimia5-%{sonum} -p /sbin/ldconfig
|
||||||
%postun -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
|
%files -n libalkimia5-devel
|
||||||
%license COPYING.LIB
|
%license COPYING.LIB
|
||||||
%dir %{_includedir}/alkimia/
|
%dir %{_includedir}/alkimia/
|
||||||
@ -85,4 +105,8 @@ The development files for libalkimia.
|
|||||||
%doc README.md
|
%doc README.md
|
||||||
%{_kf5_libdir}/libalkimia5.so.%{sonum}*
|
%{_kf5_libdir}/libalkimia5.so.%{sonum}*
|
||||||
|
|
||||||
|
%if %{with lang}
|
||||||
|
%files lang -f %{name}.lang
|
||||||
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user