SHA256
1
0
forked from pool/libkmahjongg

Make a merry car great again

OBS-URL: https://build.opensuse.org/package/show/KDE:Applications/libkmahjongg?expand=0&rev=46
This commit is contained in:
Luca Beltrame 2017-04-15 13:28:58 +00:00 committed by Git OBS Bridge
parent 47448e4e9c
commit 2509b50c48

View File

@ -15,6 +15,7 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via http://bugs.opensuse.org/
# #
%bcond_without lang
Name: libkmahjongg Name: libkmahjongg
Version: 17.03.90 Version: 17.03.90
@ -68,6 +69,10 @@ Provides: %{name}-kf5-devel = %{version}
This package contains all necessary files and libraries needed to This package contains all necessary files and libraries needed to
develop games that uses Mahjongg tiles. develop games that uses Mahjongg tiles.
%if %{with lang}
%lang_package
%endif
%prep %prep
%setup -q %setup -q
@ -77,6 +82,9 @@ develop games that uses Mahjongg tiles.
%install %install
%kf5_makeinstall -C build %kf5_makeinstall -C build
%if %{with lang}
%find_lang %{name} --with-man --all-name
%endif
%fdupes -s %{buildroot} %fdupes -s %{buildroot}
%post -n libKF5KMahjongglib5 -p /sbin/ldconfig %post -n libKF5KMahjongglib5 -p /sbin/ldconfig
@ -99,4 +107,9 @@ develop games that uses Mahjongg tiles.
%{_kf5_libdir}/libKF5KMahjongglib.so %{_kf5_libdir}/libKF5KMahjongglib.so
%{_kf5_libdir}/cmake/KF5KMahjongglib %{_kf5_libdir}/cmake/KF5KMahjongglib
%if %{with lang}
%files lang -f %{name}.lang
%doc COPYING*
%endif
%changelog %changelog