]> git.pld-linux.org Git - packages/ka5-kmouth.git/blame - ka5-kmouth.spec
- updated to 22.08.0
[packages/ka5-kmouth.git] / ka5-kmouth.spec
CommitLineData
e63c05ba
WF
1#
2# Conditional build:
3%bcond_with tests # build with tests
c1095f53 4%define kdeappsver 22.08.0
ada07e4b
WF
5%define kframever 5.94.0
6%define qtver 5.15.2
79fd56c2
WF
7%define kaname kmouth
8Summary: kmouth
9Name: ka5-%{kaname}
c1095f53 10Version: 22.08.0
79fd56c2
WF
11Release: 1
12License: GPL v2+/LGPL v2.1+
13Group: X11/Applications
146feec8 14Source0: https://download.kde.org/stable/release-service/%{kdeappsver}/src/%{kaname}-%{version}.tar.xz
c1095f53 15# Source0-md5: a8ba7e104de00f4b4d86039f231f21c3
79fd56c2
WF
16URL: http://www.kde.org/
17BuildRequires: Qt5Core-devel >= %{qtver}
18BuildRequires: Qt5Gui-devel >= 5.11.1
19BuildRequires: Qt5PrintSupport-devel
20BuildRequires: Qt5Speech-devel
21BuildRequires: Qt5Widgets-devel
22BuildRequires: Qt5Xml-devel
23BuildRequires: gettext-devel
d59b4bac
WF
24BuildRequires: kf5-extra-cmake-modules >= %{kframever}
25BuildRequires: kf5-kcompletion-devel >= %{kframever}
26BuildRequires: kf5-kconfig-devel >= %{kframever}
27BuildRequires: kf5-kconfigwidgets-devel >= %{kframever}
28BuildRequires: kf5-kcoreaddons-devel >= %{kframever}
29BuildRequires: kf5-kcrash-devel >= %{kframever}
30BuildRequires: kf5-kdoctools-devel >= %{kframever}
31BuildRequires: kf5-ki18n-devel >= %{kframever}
32BuildRequires: kf5-kio-devel >= %{kframever}
33BuildRequires: kf5-kwidgetsaddons-devel >= %{kframever}
34BuildRequires: kf5-kxmlgui-devel >= %{kframever}
4bcd6463 35BuildRequires: ninja
79fd56c2
WF
36BuildRequires: qt5-build >= %{qtver}
37BuildRequires: rpmbuild(macros) >= 1.164
38BuildRequires: shared-mime-info
39BuildRequires: tar >= 1:1.22
40BuildRequires: xz
41BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
42
43%description
44KMouth is a program which enables persons that cannot speak to let
45their computer speak, e.g. mutal people or people who have lost their
46voice. It has a text input field and speaks the sentences that you
47enter. It also has support for user defined phrasebooks.
48
42c903e1 49%description -l pl.UTF-8
ada07e4b
WF
50KMouth jest programem, który pozwala osobom, które nie mogą
51mówić, by komputer mówił za nich, np, niemowom, lub osobom, które
52straciły głos. Program ma pole tekstowe i wymawia zdania wprowadzane
53z klawiatury. Wspiera też listę wyrażeń definiowanych przez
54użytkownika.
42c903e1 55
79fd56c2
WF
56%prep
57%setup -q -n %{kaname}-%{version}
58
59%build
60install -d build
61cd build
62%cmake \
4bcd6463 63 -G Ninja \
e63c05ba 64 %{!?with_tests:-DBUILD_TESTING=OFF} \
d59b4bac 65 -DHTML_INSTALL_DIR=%{_kdedocdir} \
79fd56c2
WF
66 -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
67 ..
4bcd6463 68%ninja_build
79fd56c2 69
e63c05ba
WF
70%if %{with tests}
71ctest
72%endif
73
74
79fd56c2
WF
75%install
76rm -rf $RPM_BUILD_ROOT
4bcd6463 77%ninja_install -C build
79fd56c2 78
d59b4bac 79%find_lang %{kaname} --all-name --with-kde
79fd56c2
WF
80
81%clean
82rm -rf $RPM_BUILD_ROOT
83
84%files -f %{kaname}.lang
85%defattr(644,root,root,755)
86/etc/xdg/kmouthrc
87%attr(755,root,root) %{_bindir}/kmouth
88%{_desktopdir}/org.kde.kmouth.desktop
89%{_iconsdir}/hicolor/16x16/actions/phrase.png
90%{_iconsdir}/hicolor/16x16/actions/phrasebook.png
91%{_iconsdir}/hicolor/16x16/apps/kmouth.png
92%{_iconsdir}/hicolor/22x22/actions/phrase.png
93%{_iconsdir}/hicolor/22x22/actions/phrasebook.png
94%{_iconsdir}/hicolor/22x22/apps/kmouth.png
95%{_iconsdir}/hicolor/32x32/actions/phrase.png
96%{_iconsdir}/hicolor/32x32/actions/phrasebook.png
97%{_iconsdir}/hicolor/32x32/apps/kmouth.png
98%{_iconsdir}/hicolor/48x48/apps/kmouth.png
99%{_datadir}/kmouth
100%dir %{_datadir}/kxmlgui5/kmouth
101%{_datadir}/kxmlgui5/kmouth/kmouthui.rc
102%{_datadir}/kxmlgui5/kmouth/phrasebookdialogui.rc
103%{_datadir}/metainfo/org.kde.kmouth.appdata.xml
4bcd6463
WF
104%lang(ca) %{_mandir}/ca/man1/kmouth.1*
105%lang(da) %{_mandir}/da/man1/kmouth.1*
106%lang(de) %{_mandir}/de/man1/kmouth.1*
107%lang(es) %{_mandir}/es/man1/kmouth.1*
108%lang(et) %{_mandir}/et/man1/kmouth.1*
109%lang(fr) %{_mandir}/fr/man1/kmouth.1*
110%lang(it) %{_mandir}/it/man1/kmouth.1*
111%lang(C) %{_mandir}/man1/kmouth.1*
112%lang(nl) %{_mandir}/nl/man1/kmouth.1*
113%lang(pt) %{_mandir}/pt/man1/kmouth.1*
114%lang(pt_BR) %{_mandir}/pt_BR/man1/kmouth.1*
ada07e4b 115%lang(ru) %{_mandir}/ru/man1/kmouth.1.*
4bcd6463
WF
116%lang(sv) %{_mandir}/sv/man1/kmouth.1*
117%lang(uk) %{_mandir}/uk/man1/kmouth.1*
This page took 0.708841 seconds and 4 git commands to generate.