diff --git a/kaffeine.spec b/kaffeine.spec index c062139..96f2c46 100644 --- a/kaffeine.spec +++ b/kaffeine.spec @@ -3,7 +3,7 @@ %define pkgver %(echo %version | tr _ -) Name: kaffeine -Version: 2.0.16_2 +Version: 2.0.18 Release: 1mamba Summary: A Media Player for KDE Group: Graphical Desktop/Applications/Multimedia @@ -70,7 +70,8 @@ Bookmarks and playlist are available. %install [ "%{buildroot}" != / ] && rm -rf %{buildroot} %makeinstall -C build -%find_lang kaffeine + +%find_lang %{name}5_qt --with-qt --with-man --all-name || touch %{name}5_qt.lang #echo "InitialPreference=10" >> %{buildroot}%{_kde4_xdgappsdir}/kaffeine.desktop @@ -79,7 +80,7 @@ Bookmarks and playlist are available. %post touch --no-create %{_kde5_icondir}/hicolor &>/dev/null -exit 0 +: %postun if [ $1 -eq 0 ] ; then @@ -87,12 +88,14 @@ if [ $1 -eq 0 ] ; then touch --no-create %{_kde5_icondir}/hicolor &>/dev/null gtk-update-icon-cache %{_kde5_icondir}/hicolor &>/dev/null fi +: %posttrans update-desktop-database -q &>/dev/null gtk-update-icon-cache %{_kde5_icondir}/hicolor &>/dev/null +: -%files -f kaffeine.lang +%files -f %{name}5_qt.lang %defattr(-,root,root) #%{_kde5_bindir}/dtvdaemon %{_kde5_bindir}/kaffeine @@ -107,7 +110,7 @@ gtk-update-icon-cache %{_kde5_icondir}/hicolor &>/dev/null %{_datadir}/doc/HTML/en/kaffeine/* %lang(ca) %dir %{_datadir}/doc/HTML/ca/kaffeine %lang(ca) %{_datadir}/doc/HTML/ca/kaffeine/* -%lang(id) %{_datadir}/doc/HTML/id/kaffeine/* +#%lang(id) %{_datadir}/doc/HTML/id/kaffeine/* %lang(it) %{_datadir}/doc/HTML/it/kaffeine/* %lang(nl) %dir %{_datadir}/doc/HTML/nl/kaffeine %lang(nl) %{_datadir}/doc/HTML/nl/kaffeine/* @@ -120,17 +123,13 @@ gtk-update-icon-cache %{_kde5_icondir}/hicolor &>/dev/null %lang(uk) %dir %{_datadir}/doc/HTML/uk/kaffeine %lang(uk) %{_datadir}/doc/HTML/uk/kaffeine/* %{_mandir}/man1/kaffeine.1* -%lang(ca) %{_mandir}/ca/man1/kaffeine.1* -%lang(id) %{_mandir}/id/man1/kaffeine.1* -%lang(it) %{_mandir}/it/man1/kaffeine.1* -%lang(nl) %{_mandir}/nl/man1/kaffeine.1* -%lang(pt_BR) %{_mandir}/pt_BR/man1/kaffeine.1* -%lang(pt) %{_mandir}/pt/man1/kaffeine.1* -%lang(sv) %{_mandir}/sv/man1/kaffeine.1* -%lang(uk) %{_mandir}/uk/man1/kaffeine.1* -%doc COPYING Changelog NOTES +%doc COPYING +#Changelog NOTES %changelog +* Sun May 26 2019 Automatic Build System 2.0.18-1mamba +- automatic version update by autodist + * Mon Jan 28 2019 Silvan Calarco 2.0.16_2-1mamba - update to 2.0.16_2