diff --git a/.gitignore b/.gitignore index bafad9a..817003c 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /qterminal-0.6.0.tar.xz /qterminal-0.7.1.tar.xz /qterminal-0.9.0.tar.xz +/qterminal-0.14.0.tar.xz diff --git a/qterminal.spec b/qterminal.spec index 25f1f39..eb7b9d0 100644 --- a/qterminal.spec +++ b/qterminal.spec @@ -1,6 +1,6 @@ Name: qterminal -Version: 0.9.0 -Release: 2%{?dist} +Version: 0.14.0 +Release: 1%{?dist} License: GPLv2 URL: https://github.com/qterminal/qterminal Source0: https://github.com/%{name}/%{name}/releases/download/%{version}/%{name}-%{version}.tar.xz @@ -9,7 +9,7 @@ Summary: Advanced Qt5-based terminal emulator BuildRequires: desktop-file-utils BuildRequires: libappstream-glib -BuildRequires: pkgconfig(lxqt) >= 0.13.0 +BuildRequires: pkgconfig(lxqt) >= 0.14.0 BuildRequires: pkgconfig(Qt5Gui) BuildRequires: pkgconfig(Qt5Widgets) BuildRequires: pkgconfig(Qt5X11Extras) @@ -28,6 +28,12 @@ Obsoletes: %{name}-qt5 < %{version}-%{release} Advanced Qt5-based terminal emulator with many useful bells and whistles. +%package l10n +Summary: Translations for qterminal +Requires: qterminal +%description l10n +This package provides translations for the qterminal package. + %prep %setup -q @@ -43,6 +49,7 @@ make %{?_smp_mflags} -C %{_target_platform} %install make install/fast DESTDIR=%{buildroot} -C %{_target_platform} +%find_lang qterminal --with-qt %check @@ -50,6 +57,20 @@ appstream-util validate-relax --nonet %{buildroot}%{_datadir}/appdata/%{name}.ap desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}_drop.desktop + +%post +/bin/touch --no-create %{_kf5_datadir}/icons/hicolor &>/dev/null || : + +%postun +if [ $1 -eq 0 ] ; then + /bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null + /usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : +fi + +%posttrans +/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : + + %files %license LICENSE %doc AUTHORS CHANGELOG CONTRIBUTING.md README.md @@ -58,10 +79,19 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}_drop.desktop %{_datadir}/applications/%{name}.desktop %{_datadir}/applications/%{name}_drop.desktop %{_datadir}/icons/*/* +%{_datadir}/%{name} + +%files l10n -f qterminal.lang +%license LICENSE +%doc AUTHORS CHANGELOG README.md +%dir %{_datadir}/qterminal/translations %changelog -* Sat Feb 02 2019 Fedora Release Engineering - 0.9.0-2 +* Wed Feb 13 2019 Zamir SUN - 0.14.0-1 +- Prepare for LXQt 0.14.0 + +* Fri Feb 01 2019 Fedora Release Engineering - 0.13.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Sat Aug 04 2018 Zamir SUN - 0.9.0-1 diff --git a/sources b/sources index 996360f..dd1af5c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (qterminal-0.9.0.tar.xz) = 42553a847873e71543161855b6f07b521ebf7db8091a1753dfc4ad4bbdf7f074f74b7e7195e56ee482b5b9ff3ea3037250ba74fb64a8137fb3959fceaa2baa6e +SHA512 (qterminal-0.14.0.tar.xz) = 8254b1604648a6d01eb1f55e3aa35dbcedff30998ee7c95e02558939f1cbb4f9fab3ca76118b654979cedff4e35a2cb3de01aab92b89d78b8c9332c36c10f0ec