1 | Name: kmplot |
---|
2 | Summary: mathematical function plotter for KDE |
---|
3 | Summary(ja): KDE 数学関数プロッタ |
---|
4 | Version: 4.14.3 |
---|
5 | Release: 1%{?_dist_release} |
---|
6 | |
---|
7 | License: GPLv2+ |
---|
8 | Group: Applications/Edutainment |
---|
9 | URL: http://edu.kde.org/kmplot/ |
---|
10 | |
---|
11 | Source: ftp://ftp.kde.org/pub/kde/stable/%{version}/src/%{name}-%{version}.tar.xz |
---|
12 | |
---|
13 | ## upstream patches |
---|
14 | |
---|
15 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
16 | BuildRequires: desktop-file-utils |
---|
17 | BuildRequires: kdelibs4-devel >= %{version} |
---|
18 | BuildRequires: soprano-devel |
---|
19 | |
---|
20 | Requires: kdebase-runtime%{?_kde4_version: >= %{_kde4_version}} |
---|
21 | |
---|
22 | Conflicts: kdeedu4 < 4.6.50 |
---|
23 | |
---|
24 | Vendor: Project Vine |
---|
25 | Distribution: Vine Linux |
---|
26 | |
---|
27 | %description |
---|
28 | KmPlot is a powerful mathematical plotter KDE, capable of plotting |
---|
29 | multiple functions simultaneously and combining them into new functions. |
---|
30 | |
---|
31 | Cartesian, parametric, and differential functions are supported, as |
---|
32 | well as functions using polar coordinates. Plots are printed with high |
---|
33 | precision at the correct aspect ratio. |
---|
34 | |
---|
35 | KmPlot also provides numerical and visual features such as filling |
---|
36 | and calculating the area between the plot and the first axis, finding |
---|
37 | maxima and minima, changing function parameters dynamically, and |
---|
38 | plotting derivatives and integral functions. |
---|
39 | |
---|
40 | This package is part of the KDE education module. |
---|
41 | |
---|
42 | %prep |
---|
43 | %setup -q |
---|
44 | |
---|
45 | %build |
---|
46 | mkdir -p %{_target_platform} |
---|
47 | pushd %{_target_platform} |
---|
48 | %cmake \ |
---|
49 | -DCMAKE_BUILD_TYPE=release \ |
---|
50 | -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \ |
---|
51 | -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \ |
---|
52 | -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \ |
---|
53 | -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \ |
---|
54 | -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \ |
---|
55 | .. |
---|
56 | popd |
---|
57 | |
---|
58 | make %{?_smp_mflags} -C %{_target_platform} |
---|
59 | |
---|
60 | %install |
---|
61 | rm -rf $RPM_BUILD_ROOT |
---|
62 | make install/fast DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform} |
---|
63 | |
---|
64 | %clean |
---|
65 | rm -rf $RPM_BUILD_ROOT |
---|
66 | |
---|
67 | %check |
---|
68 | for f in $RPM_BUILD_ROOT%{_datadir}/applications/kde4/*.desktop ; do |
---|
69 | desktop-file-validate $f |
---|
70 | done |
---|
71 | |
---|
72 | |
---|
73 | %post |
---|
74 | touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||: |
---|
75 | |
---|
76 | %posttrans |
---|
77 | update-desktop-database -q &> /dev/null ||: |
---|
78 | gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||: |
---|
79 | |
---|
80 | %postun |
---|
81 | if [ $1 -eq 0 ] ; then |
---|
82 | update-desktop-database -q &> /dev/null ||: |
---|
83 | touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||: |
---|
84 | gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||: |
---|
85 | fi |
---|
86 | |
---|
87 | %files |
---|
88 | %defattr(-,root,root) |
---|
89 | %doc COPYING COPYING.DOC |
---|
90 | %{_bindir}/kmplot |
---|
91 | %{_libdir}/kde4/libkmplotpart.so |
---|
92 | %{_datadir}/appdata/kmplot.appdata.xml |
---|
93 | %{_datadir}/applications/kde4/kmplot.desktop |
---|
94 | %{_datadir}/config.kcfg/kmplot.kcfg |
---|
95 | %{_datadir}/dbus-1/interfaces/org.kde.kmplot.*.xml |
---|
96 | %{_datadir}/icons/hicolor/*/*/* |
---|
97 | %{_datadir}/kde4/apps/kmplot |
---|
98 | %{_datadir}/kde4/services/kmplot_part.desktop |
---|
99 | %{_mandir}/man1/kmplot* |
---|
100 | %doc %{_docdir}/HTML/en/kmplot/ |
---|
101 | |
---|
102 | %changelog |
---|
103 | * Thu Jan 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.14.3-1 |
---|
104 | - new upstream release |
---|
105 | |
---|
106 | * Wed May 07 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.12.5-1 |
---|
107 | - new upstream release |
---|
108 | |
---|
109 | * Sun Feb 09 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.12.2-1 |
---|
110 | - new upstream release |
---|
111 | |
---|
112 | * Wed Dec 18 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.4-1 |
---|
113 | - new upstream release |
---|
114 | |
---|
115 | * Sun Sep 08 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.1-1 |
---|
116 | - new upstream release |
---|
117 | |
---|
118 | * Sat Jul 06 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.10.5-1 |
---|
119 | - new upstream release |
---|
120 | |
---|
121 | * Fri Jan 04 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.5-1 |
---|
122 | - new upstream release |
---|
123 | |
---|
124 | * Sat Nov 10 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.3-1 |
---|
125 | - new upstream release |
---|
126 | |
---|
127 | * Sun Oct 07 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.2-1 |
---|
128 | - new upstream release |
---|
129 | |
---|
130 | * Thu Sep 06 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.1-1 |
---|
131 | - new upstream release |
---|
132 | |
---|
133 | * Mon Aug 13 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.0-1 |
---|
134 | - new upstream release |
---|
135 | |
---|
136 | * Sat Sep 3 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.7.0-1 |
---|
137 | - split from kdeedu |
---|
138 | |
---|