]> git.pld-linux.org Git - packages/ka5-kmplot.git/blame - ka5-kmplot.spec
- updated to 18.12.1; ninja
[packages/ka5-kmplot.git] / ka5-kmplot.spec
CommitLineData
17f5ed9d 1%define kdeappsver 18.12.1
295f45d5
WF
2%define qtver 5.9.0
3%define kaname kmplot
4Summary: kmplot
5Name: ka5-%{kaname}
17f5ed9d 6Version: 18.12.1
295f45d5
WF
7Release: 1
8License: GPL v2+/LGPL v2.1+
9Group: X11/Applications
10Source0: http://download.kde.org/stable/applications/%{kdeappsver}/src/%{kaname}-%{version}.tar.xz
17f5ed9d 11# Source0-md5: a5a7fdd5be085ecf5ab8a29179bdf3ba
295f45d5
WF
12URL: http://www.kde.org/
13BuildRequires: Qt5Core-devel >= %{qtver}
14BuildRequires: Qt5Gui-devel
15BuildRequires: Qt5PrintSupport-devel
16BuildRequires: Qt5Svg-devel
17BuildRequires: Qt5Widgets-devel
18BuildRequires: gettext-devel
19BuildRequires: kf5-extra-cmake-modules >= 5.53.0
20BuildRequires: kf5-kcrash-devel
21BuildRequires: kf5-kdbusaddons-devel
22BuildRequires: kf5-kdoctools-devel
23BuildRequires: kf5-kguiaddons-devel
24BuildRequires: kf5-ki18n-devel
25BuildRequires: kf5-kparts-devel
26BuildRequires: kf5-kwidgetsaddons-devel
17f5ed9d 27BuildRequires: ninja
295f45d5
WF
28BuildRequires: qt5-build >= %{qtver}
29BuildRequires: rpmbuild(macros) >= 1.164
30BuildRequires: shared-mime-info
31BuildRequires: tar >= 1:1.22
32BuildRequires: xz
33BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
34
35%description
36KmPlot is a program to draw graphs, their integrals or derivatives. It
37supports different systems of coordinates like the Cartesian or the
38polar coordinate system. The graphs can be colorized and the view is
39scalable, so that you are able to zoom to the level you need.
40
41%prep
42%setup -q -n %{kaname}-%{version}
43
44%build
45install -d build
46cd build
47%cmake \
17f5ed9d 48 -G Ninja \
295f45d5
WF
49 -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
50 ..
17f5ed9d 51%ninja_build
295f45d5
WF
52
53%install
54rm -rf $RPM_BUILD_ROOT
17f5ed9d 55%ninja_install -C build
295f45d5
WF
56
57%find_lang %{kaname} --all-name --with-qm
58
59%clean
60rm -rf $RPM_BUILD_ROOT
61
62%files -f %{kaname}.lang
63%defattr(644,root,root,755)
64%attr(755,root,root) %{_bindir}/kmplot
65%{_libdir}/qt5/plugins/kmplotpart.so
66%{_desktopdir}/org.kde.kmplot.desktop
67%{_datadir}/config.kcfg/kmplot.kcfg
68%{_datadir}/dbus-1/interfaces/org.kde.kmplot.KmPlot.xml
69%{_datadir}/dbus-1/interfaces/org.kde.kmplot.MainDlg.xml
70%{_datadir}/dbus-1/interfaces/org.kde.kmplot.Parser.xml
71%{_datadir}/dbus-1/interfaces/org.kde.kmplot.View.xml
72%{_iconsdir}/hicolor/128x128/apps/kmplot.png
73%{_iconsdir}/hicolor/16x16/apps/kmplot.png
74%{_iconsdir}/hicolor/22x22/apps/kmplot.png
75%{_iconsdir}/hicolor/32x32/apps/kmplot.png
76%{_iconsdir}/hicolor/48x48/apps/kmplot.png
77%{_iconsdir}/hicolor/64x64/apps/kmplot.png
78%{_iconsdir}/hicolor/scalable/apps/kmplot.svgz
79%{_datadir}/kservices5/kmplot_part.desktop
80%dir %{_datadir}/kxmlgui5/kmplot
81%{_datadir}/kxmlgui5/kmplot/kmplot_part.rc
82%{_datadir}/kxmlgui5/kmplot/kmplot_part_readonly.rc
83%{_datadir}/kxmlgui5/kmplot/kmplot_shell.rc
84%{_datadir}/metainfo/org.kde.kmplot.appdata.xml
17f5ed9d
WF
85%lang(ca) %{_mandir}/ca/man1/kmplot.1*
86%lang(de) %{_mandir}/de/man1/kmplot.1*
87%lang(es) %{_mandir}/es/man1/kmplot.1*
88%lang(et) %{_mandir}/et/man1/kmplot.1*
89%lang(fr) %{_mandir}/fr/man1/kmplot.1*
90%lang(gl) %{_mandir}/gl/man1/kmplot.1*
91%lang(it) %{_mandir}/it/man1/kmplot.1*
92%lang(C) %{_mandir}/man1/kmplot.1*
93%lang(nl) %{_mandir}/nl/man1/kmplot.1*
94%lang(pl) %{_mandir}/pl/man1/kmplot.1*
95%lang(pt) %{_mandir}/pt/man1/kmplot.1*
96%lang(pt_BR) %{_mandir}/pt_BR/man1/kmplot.1*
97%lang(ru) %{_mandir}/ru/man1/kmplot.1*
98%lang(sv) %{_mandir}/sv/man1/kmplot.1*
99%lang(uk) %{_mandir}/uk/man1/kmplot.1*
This page took 0.098408 seconds and 4 git commands to generate.