source: projects/specs/trunk/k/kmplot/kmplot-vl.spec @ 8430

Revision 8430, 3.6 KB checked in by Takemikaduchi, 10 years ago (diff)

KDE-4.12.5

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