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