Make a merry car great again

OBS-URL: https://build.opensuse.org/package/show/KDE:Applications/kimap?expand=0&rev=56
This commit is contained in:
Luca Beltrame 2017-04-15 13:28:23 +00:00 committed by Git OBS Bridge
parent 2fef076326
commit bca4fbf670

View File

@ -16,6 +16,8 @@
# #
%bcond_without lang
%define kf5_version 5.19.0 %define kf5_version 5.19.0
Name: kimap Name: kimap
Version: 17.03.90 Version: 17.03.90
@ -61,6 +63,10 @@ Requires: libKF5IMAP5 = %{version}
This package contains necessary include files and libraries needed This package contains necessary include files and libraries needed
to develop KDE PIM applications. to develop KDE PIM applications.
%if %{with lang}
%lang_package
%endif
%prep %prep
%setup -q -n kimap-%{version} %setup -q -n kimap-%{version}
@ -70,6 +76,9 @@ to develop KDE PIM applications.
%install %install
%kf5_makeinstall -C build %kf5_makeinstall -C build
%if %{with lang}
%find_lang %{name} --with-man --all-name
%endif
%post -n libKF5IMAP5 -p /sbin/ldconfig %post -n libKF5IMAP5 -p /sbin/ldconfig
%postun -n libKF5IMAP5 -p /sbin/ldconfig %postun -n libKF5IMAP5 -p /sbin/ldconfig
@ -90,4 +99,9 @@ to develop KDE PIM applications.
%{_kf5_includedir}/kimap_version.h %{_kf5_includedir}/kimap_version.h
%{_kf5_mkspecsdir}/qt_KIMAP.pri %{_kf5_mkspecsdir}/qt_KIMAP.pri
%if %{with lang}
%files lang -f %{name}.lang
%doc COPYING*
%endif
%changelog %changelog