From d1a18e52ea61e25c82fdfc3daa94c5b952ec5a23 Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Sat, 6 Jan 2024 02:13:05 +0100 Subject: [PATCH] automatic version update by autodist [release 17.12.0-1mamba;Sat Jan 06 2018] --- kmouth.spec | 56 ++++++++++++++++++++++++++++++++++++----------------- 1 file changed, 38 insertions(+), 18 deletions(-) diff --git a/kmouth.spec b/kmouth.spec index 146f3b7..b055634 100644 --- a/kmouth.spec +++ b/kmouth.spec @@ -1,5 +1,5 @@ Name: kmouth -Version: 4.14.3 +Version: 17.12.0 Release: 1mamba Summary: KDE's type-and-say frontend for speech synthesizers Group: Graphical Desktop/Applications/Accessibility @@ -7,7 +7,7 @@ Vendor: openmamba Distribution: openmamba Packager: Davide Madrisan URL: http://www.kde.org -Source: http://download.kde.org/stable/%{version}/src/kmouth-%{version}.tar.xz +Source: http://download.kde.org/stable/applications/%{version}/src/kmouth-%{version}.tar.xz License: GPL BuildRequires: cmake BuildRequires: libqt4-devel @@ -17,10 +17,10 @@ BuildRequires: glibc-devel BuildRequires: kdelibs-devel BuildRequires: kde-workspace-devel BuildRequires: libgcc -BuildRequires: libqt4-devel +BuildRequires: libqt5-devel BuildRequires: libstdc++6-devel ## AUTOBUILDREQ-END -Requires: kde-workspace +#Requires: kde-workspace BuildRoot: %{_tmppath}/%{name}-%{version}-root %description @@ -32,47 +32,67 @@ KDE's type-and-say frontend for speech synthesizers. %setup -q %build -%cmake_kde4 -d build +%cmake_kde5 -d build %make %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall -C build +%find_lang %{name}5_qt --with-qt --with-man --all-name || touch %{name}5_qt.lang + %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %post -touch --no-create %{_kde4_icondir}/hicolor >/dev/null 2>&1 +touch --no-create %{_kde5_icondir}/hicolor >/dev/null 2>&1 exit 0 %posttrans update-desktop-database -q >/dev/null 2>&1 -update-mime-database %{_kde4_mimedir} >/dev/null 2>&1 -gtk-update-icon-cache %{_kde4_icondir}/hicolor >/dev/null 2>&1 +update-mime-database %{_kde5_mimedir} >/dev/null 2>&1 +gtk-update-icon-cache %{_kde5_icondir}/hicolor >/dev/null 2>&1 exit 0 %postun if [ $1 -eq 0 ]; then update-desktop-database -q >/dev/null 2>&1 - update-mime-database %{_kde4_mimedir} >/dev/null 2>&1 - touch --no-create %{_kde4_icondir}/hicolor >/dev/null 2>&1 - gtk-update-icon-cache %{_kde4_icondir}/hicolor >/dev/null 2>&1 + update-mime-database %{_kde5_mimedir} >/dev/null 2>&1 + touch --no-create %{_kde5_icondir}/hicolor >/dev/null 2>&1 + gtk-update-icon-cache %{_kde5_icondir}/hicolor >/dev/null 2>&1 fi exit 0 -%files +%files -f %{name}5_qt.lang %defattr(-,root,root) -%{_kde4_bindir}/kmouth -%{_kde4_xdgappsdir}/kmouth.desktop -%{_kde4_datadir}/kmouth -%config %{_kde4_configdir}/kmouthrc -%doc %lang(en) %{_kde4_htmldir}/en/kmouth -%{_kde4_icondir}/hicolor/*/apps/kmouth.png +%{_kde5_bindir}/kmouth +%{_kde5_xdgappsdir}/org.kde.kmouth.desktop +%{_kde5_datadir}/kmouth +%config %{_kde5_configdir}/kmouthrc +%doc %lang(en) %{_kde5_htmldir}/en/kmouth +%{_kde5_icondir}/hicolor/*/apps/kmouth.png +%dir %{_datadir}/kxmlgui5/kmouth +%{_datadir}/kxmlgui5/kmouth/* %{_mandir}/man1/kmouth.* +%lang(ca) %{_datadir}/doc/HTML/ca/kmouth +%lang(da) %{_datadir}/doc/HTML/da/kmouth +%lang(de) %{_datadir}/doc/HTML/de/kmouth +%lang(es) %{_datadir}/doc/HTML/es/kmouth +%lang(fr) %{_datadir}/doc/HTML/fr/kmouth +%lang(it) %{_datadir}/doc/HTML/it/kmouth +%lang(nl) %{_datadir}/doc/HTML/nl/kmouth +%lang(pt) %{_datadir}/doc/HTML/pt/kmouth +%lang(pt_BR) %{_datadir}/doc/HTML/pt_BR/kmouth +%lang(sv) %{_datadir}/doc/HTML/sv/kmouth +%lang(uk) %{_datadir}/doc/HTML/uk/kmouth +%{_datadir}/icons/hicolor/*/actions/phrase.png +%{_datadir}/icons/hicolor/*/actions/phrasebook.png %doc AUTHORS COPYING COPYING.DOC %changelog +* Sat Jan 06 2018 Automatic Build System 17.12.0-1mamba +- automatic version update by autodist + * Thu Nov 20 2014 Automatic Build System 4.14.3-1mamba - automatic version update by autodist