]> git.pld-linux.org Git - packages/ka5-kmplot.git/blame - ka5-kmplot.spec
- updated to 21.08.3
[packages/ka5-kmplot.git] / ka5-kmplot.spec
CommitLineData
e5f25c5b 1%define kdeappsver 21.08.3
d4dba509 2%define kframever 5.56.0
295f45d5
WF
3%define qtver 5.9.0
4%define kaname kmplot
5Summary: kmplot
6Name: ka5-%{kaname}
e5f25c5b 7Version: 21.08.3
295f45d5
WF
8Release: 1
9License: GPL v2+/LGPL v2.1+
10Group: X11/Applications
746b9f67 11Source0: http://download.kde.org/stable/release-service/%{kdeappsver}/src/%{kaname}-%{version}.tar.xz
e5f25c5b 12# Source0-md5: 79cb924a97949c9434bf8914b22bef13
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
638c1b97
WF
42%description -l pl.UTF-8
43KmPlot jest programem rysującym wykresy funkcji, całek i pochodnych.
44Obsługuje różne układy współrzędnych, np. Kartezjański czy biegunowy.
45Wykresy są kolorowane i skalowalne, tak że jesteś w stanie powiększyć
46je do poziomu, którego potrzebujesz.
47
295f45d5
WF
48%prep
49%setup -q -n %{kaname}-%{version}
50
51%build
52install -d build
53cd build
54%cmake \
17f5ed9d 55 -G Ninja \
d4dba509 56 -DHTML_INSTALL_DIR=%{_kdedocdir} \
295f45d5
WF
57 -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
58 ..
17f5ed9d 59%ninja_build
295f45d5
WF
60
61%install
62rm -rf $RPM_BUILD_ROOT
17f5ed9d 63%ninja_install -C build
295f45d5 64
d4dba509 65%find_lang %{kaname} --all-name --with-kde
295f45d5
WF
66
67%clean
68rm -rf $RPM_BUILD_ROOT
69
70%files -f %{kaname}.lang
71%defattr(644,root,root,755)
72%attr(755,root,root) %{_bindir}/kmplot
19f0db47 73%{_libdir}/qt5/plugins/kf5/parts/kmplotpart.so
295f45d5
WF
74%{_desktopdir}/org.kde.kmplot.desktop
75%{_datadir}/config.kcfg/kmplot.kcfg
76%{_datadir}/dbus-1/interfaces/org.kde.kmplot.KmPlot.xml
77%{_datadir}/dbus-1/interfaces/org.kde.kmplot.MainDlg.xml
78%{_datadir}/dbus-1/interfaces/org.kde.kmplot.Parser.xml
79%{_datadir}/dbus-1/interfaces/org.kde.kmplot.View.xml
80%{_iconsdir}/hicolor/128x128/apps/kmplot.png
81%{_iconsdir}/hicolor/16x16/apps/kmplot.png
82%{_iconsdir}/hicolor/22x22/apps/kmplot.png
83%{_iconsdir}/hicolor/32x32/apps/kmplot.png
84%{_iconsdir}/hicolor/48x48/apps/kmplot.png
85%{_iconsdir}/hicolor/64x64/apps/kmplot.png
86%{_iconsdir}/hicolor/scalable/apps/kmplot.svgz
87%{_datadir}/kservices5/kmplot_part.desktop
88%dir %{_datadir}/kxmlgui5/kmplot
89%{_datadir}/kxmlgui5/kmplot/kmplot_part.rc
90%{_datadir}/kxmlgui5/kmplot/kmplot_part_readonly.rc
91%{_datadir}/kxmlgui5/kmplot/kmplot_shell.rc
92%{_datadir}/metainfo/org.kde.kmplot.appdata.xml
17f5ed9d
WF
93%lang(ca) %{_mandir}/ca/man1/kmplot.1*
94%lang(de) %{_mandir}/de/man1/kmplot.1*
95%lang(es) %{_mandir}/es/man1/kmplot.1*
96%lang(et) %{_mandir}/et/man1/kmplot.1*
97%lang(fr) %{_mandir}/fr/man1/kmplot.1*
98%lang(gl) %{_mandir}/gl/man1/kmplot.1*
99%lang(it) %{_mandir}/it/man1/kmplot.1*
100%lang(C) %{_mandir}/man1/kmplot.1*
101%lang(nl) %{_mandir}/nl/man1/kmplot.1*
102%lang(pl) %{_mandir}/pl/man1/kmplot.1*
103%lang(pt) %{_mandir}/pt/man1/kmplot.1*
104%lang(pt_BR) %{_mandir}/pt_BR/man1/kmplot.1*
105%lang(ru) %{_mandir}/ru/man1/kmplot.1*
106%lang(sv) %{_mandir}/sv/man1/kmplot.1*
107%lang(uk) %{_mandir}/uk/man1/kmplot.1*
This page took 0.106823 seconds and 4 git commands to generate.