]> git.pld-linux.org Git - packages/ka5-kmousetool.git/blame - ka5-kmousetool.spec
- updated to 22.12.2
[packages/ka5-kmousetool.git] / ka5-kmousetool.spec
CommitLineData
54d3ff79
WF
1#
2# Conditional build:
3%bcond_with tests # build with tests
09894525 4%define kdeappsver 22.12.2
e37f2463
WF
5%define kframever 5.94.0
6%define qtver 5.15.2
707cdd76
WF
7%define kaname kmousetool
8Summary: kmousetool
9Name: ka5-%{kaname}
09894525 10Version: 22.12.2
df210091 11Release: 1
707cdd76
WF
12License: GPL v2+/LGPL v2.1+
13Group: X11/Applications/Games
37bb99ff 14Source0: https://download.kde.org/stable/release-service/%{kdeappsver}/src/%{kaname}-%{version}.tar.xz
09894525 15# Source0-md5: bb6c79d8d38973060ef43061095268d0
707cdd76
WF
16URL: http://www.kde.org/
17BuildRequires: Qt5Core-devel >= %{qtver}
18BuildRequires: Qt5Gui-devel
19BuildRequires: Qt5Widgets-devel
20BuildRequires: gettext-devel
8c3ea929
WF
21BuildRequires: kf5-extra-cmake-modules >= %{kframever}
22BuildRequires: kf5-kdbusaddons-devel >= %{kframever}
23BuildRequires: kf5-kdoctools-devel >= %{kframever}
24BuildRequires: kf5-ki18n-devel >= %{kframever}
25BuildRequires: kf5-kiconthemes-devel >= %{kframever}
26BuildRequires: kf5-knotifications-devel >= %{kframever}
27BuildRequires: kf5-kxmlgui-devel >= %{kframever}
cb6ad48d 28BuildRequires: ninja
707cdd76
WF
29BuildRequires: phonon-qt5-devel
30BuildRequires: qt5-build >= %{qtver}
31BuildRequires: rpmbuild(macros) >= 1.164
32BuildRequires: shared-mime-info
33BuildRequires: tar >= 1:1.22
34BuildRequires: xorg-lib-libX11-devel
8be42fea 35BuildRequires: xorg-lib-libXt-devel
707cdd76
WF
36BuildRequires: xz
37BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
38
39%description
40KMouseTool is a Linux-based KDE program. It clicks the mouse for you,
f472716f
WF
41so you don't have to. KMouseTool works with any mouse or pointing device.
42
43%description -l pl.UTF-8
44KMouseTool jest opartym na Linuksie programem KDE. Klika myszą za Ciebie,
45więc Ty już nie musisz. KMouseTool działa z każdą myszą lub innym
46urządzeniem wskazującym.
707cdd76
WF
47
48%prep
49%setup -q -n %{kaname}-%{version}
50
51%build
52install -d build
53cd build
54%cmake \
cb6ad48d 55 -G Ninja \
54d3ff79 56 %{!?with_tests:-DBUILD_TESTING=OFF} \
8c3ea929 57 -DHTML_INSTALL_DIR=%{_kdedocdir} \
707cdd76
WF
58 -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
59 ..
cb6ad48d 60%ninja_build
707cdd76 61
54d3ff79
WF
62%if %{with tests}
63ctest
64%endif
65
66
707cdd76
WF
67%install
68rm -rf $RPM_BUILD_ROOT
cb6ad48d 69%ninja_install -C build
707cdd76 70
8c3ea929 71%find_lang %{kaname} --all-name --with-kde
707cdd76
WF
72
73%clean
74rm -rf $RPM_BUILD_ROOT
75
76%files -f %{kaname}.lang
77%defattr(644,root,root,755)
78%attr(755,root,root) %{_bindir}/kmousetool
79%{_desktopdir}/org.kde.kmousetool.desktop
80%{_iconsdir}/hicolor/16x16/actions/kmousetool_off.png
81%{_iconsdir}/hicolor/16x16/actions/kmousetool_on.png
82%{_iconsdir}/hicolor/16x16/apps/kmousetool.png
83%{_iconsdir}/hicolor/32x32/actions/kmousetool_off.png
84%{_iconsdir}/hicolor/32x32/actions/kmousetool_on.png
85%{_iconsdir}/hicolor/32x32/apps/kmousetool.png
86%{_datadir}/kmousetool
87%{_datadir}/metainfo/org.kde.kmousetool.appdata.xml
cb6ad48d
WF
88%lang(ca) %{_mandir}/ca/man1/kmousetool.1.*
89%lang(de) %{_mandir}/de/man1/kmousetool.1.*
90%lang(es) %{_mandir}/es/man1/kmousetool.1.*
91%lang(et) %{_mandir}/et/man1/kmousetool.1.*
92%lang(fr) %{_mandir}/fr/man1/kmousetool.1.*
93%lang(it) %{_mandir}/it/man1/kmousetool.1.*
94%lang(C) %{_mandir}/man1/kmousetool.1.*
95%lang(nl) %{_mandir}/nl/man1/kmousetool.1.*
96%lang(pt) %{_mandir}/pt/man1/kmousetool.1.*
97%lang(pt_BR) %{_mandir}/pt_BR/man1/kmousetool.1.*
98%lang(sv) %{_mandir}/sv/man1/kmousetool.1.*
99%lang(uk) %{_mandir}/uk/man1/kmousetool.1.*
This page took 0.358213 seconds and 4 git commands to generate.