Make a merry car great again

OBS-URL: https://build.opensuse.org/package/show/KDE:Applications/akonadi-contact?expand=0&rev=35
This commit is contained in:
Luca Beltrame 2017-04-15 13:27:42 +00:00 committed by Git OBS Bridge
parent 29f32eb921
commit e47d7a3e1b

View File

@ -16,6 +16,8 @@
# #
%bcond_without lang
%define sonum 5 %define sonum 5
Name: akonadi-contact Name: akonadi-contact
Version: 17.03.90 Version: 17.03.90
@ -80,6 +82,10 @@ Provides: akonadi-contacts-devel = %{version}
This package contains all necessary include files and libraries needed This package contains all 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 akonadi-contacts-%{version} %setup -q -n akonadi-contacts-%{version}
@ -89,6 +95,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 libKF5AkonadiContact5 -p /sbin/ldconfig %post -n libKF5AkonadiContact5 -p /sbin/ldconfig
%postun -n libKF5AkonadiContact5 -p /sbin/ldconfig %postun -n libKF5AkonadiContact5 -p /sbin/ldconfig
@ -123,4 +132,9 @@ to develop KDE PIM applications.
%{_kf5_includedir}/akonadi-contact_version.h %{_kf5_includedir}/akonadi-contact_version.h
%{_kf5_mkspecsdir}/qt_AkonadiContact.pri %{_kf5_mkspecsdir}/qt_AkonadiContact.pri
%if %{with lang}
%files lang -f %{name}.lang
%doc COPYING*
%endif
%changelog %changelog