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