SHA256
1
0
forked from pool/kmouth

Accepting request 482780 from home:wolfi323:branches:KDE:Applications

Revert specfile changes, kmouth is still KDE4 based.

OBS-URL: https://build.opensuse.org/request/show/482780
OBS-URL: https://build.opensuse.org/package/show/KDE:Applications/kmouth?expand=0&rev=42
This commit is contained in:
Luca Beltrame 2017-03-27 05:13:43 +00:00 committed by Git OBS Bridge
parent fffcd62d70
commit f960548632

View File

@ -17,6 +17,12 @@
Name: kmouth Name: kmouth
BuildRequires: alsa-devel
BuildRequires: libkde4-devel
BuildRequires: libspeechd-devel
BuildRequires: oxygen-icon-theme-large
BuildRequires: sbl
BuildRequires: xz
Version: 17.03.80 Version: 17.03.80
Release: 0 Release: 0
%define kf5_version 5.26.0 %define kf5_version 5.26.0
@ -27,28 +33,10 @@ License: GPL-2.0+
Group: System/GUI/KDE Group: System/GUI/KDE
Url: http://www.kde.org Url: http://www.kde.org
Source0: %{name}-%{version}.tar.xz Source0: %{name}-%{version}.tar.xz
BuildRequires: alsa-devel
BuildRequires: extra-cmake-modules
BuildRequires: kcompletion-devel
BuildRequires: kconfig-devel
BuildRequires: kconfigwidgets-devel
BuildRequires: kcoreaddons-devel
BuildRequires: kcrash-devel
BuildRequires: kdoctools-devel
BuildRequires: ki18n-devel
BuildRequires: kio-devel
BuildRequires: kwidgetsaddons-devel
BuildRequires: kxmlgui-devel
BuildRequires: libspeechd-devel
BuildRequires: pkgconfig
BuildRequires: sbl
BuildRequires: update-desktop-files
BuildRequires: pkgconfig(Qt5Core)
BuildRequires: pkgconfig(Qt5PrintSupport)
BuildRequires: pkgconfig(Qt5TextToSpeech)
BuildRequires: pkgconfig(Qt5Widgets)
BuildRequires: pkgconfig(Qt5Xml)
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
Provides: kde4-kmouth = 4.3.0
Obsoletes: kde4-kmouth < 4.3.0
%kde4_runtime_requires
%description %description
The computer "speaks" the entered text for talking with people. The computer "speaks" the entered text for talking with people.
@ -57,12 +45,14 @@ The computer "speaks" the entered text for talking with people.
%setup -q %setup -q
%build %build
%cmake_kf5 -d build %cmake_kde4 -d build
%make_jobs %make_jobs
%install %install
%kf5_makeinstall -C build cd build
%suse_update_desktop_file org.kde.kmouth Utility Accessibility %kde4_makeinstall
%suse_update_desktop_file kmouth Utility Accessibility
%kde_post_install
%post -p /sbin/ldconfig %post -p /sbin/ldconfig
%postun -p /sbin/ldconfig %postun -p /sbin/ldconfig
@ -70,13 +60,12 @@ The computer "speaks" the entered text for talking with people.
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%doc COPYING COPYING.DOC %doc COPYING COPYING.DOC
%{_kf5_bindir}/kmouth %config %_kde_config_dir/kmouthrc
%{_kf5_applicationsdir}/*.desktop %_kde4_bindir/kmouth
%{_kf5_htmldir}/en/kmouth/ %_kde4_applicationsdir/*.desktop
%{_kf5_iconsdir}/hicolor/*/*/*.png %_kde4_htmldir/en/kmouth/
%{_kf5_appsdir}/kmouth/ %_kde4_iconsdir/hicolor/*/*/*.png
%{_mandir}/man1/kmouth.1%{ext_man} %_kde4_appsdir/kmouth/
%{_kf5_configdir}/kmouthrc %_mandir/man1/kmouth.1.gz
%{_kf5_kxmlguidir}/kmouth/
%changelog %changelog