]> git.pld-linux.org Git - packages/kde4-kmplot.git/blob - kde4-kmplot.spec
- 4.10.0
[packages/kde4-kmplot.git] / kde4-kmplot.spec
1 %define         _state          stable
2 %define         orgname         kmplot
3
4 Summary:        K Desktop Environment - Mathematical function plotter
5 Summary(pl.UTF-8):      K Desktop Environment - Rysowanie wykresów funkcji matematycznych
6 Name:           kde4-kmplot
7 Version:        4.10.0
8 Release:        1
9 License:        GPL
10 Group:          X11/Applications/Science
11 Source0:        ftp://ftp.kde.org/pub/kde/%{_state}/%{version}/src/%{orgname}-%{version}.tar.xz
12 # Source0-md5:  5d30dc2c63d8435633739f24847bc7bd
13 URL:            http://www.kde.org/
14 BuildRequires:  kde4-kdelibs-devel
15 Obsoletes:      kde4-kdeedu-kmplot < 4.6.99
16 Obsoletes:      kmplot <= 4.8.0
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %description
20 KmPlot is a mathematical function plotter for the KDE Desktop. It has
21 a powerful built-in parser. You can plot different functions
22 simultaneously and combine them to build new functions.
23
24 %description -l pl.UTF-8
25 KmPlot to narzędzie do rysowania wykresów funkcji matematycznych dla
26 środowiska KDE. Ma wbudowany potężny parser. Można rysować różne
27 funkcje jednocześnie i łączyć je, aby stworzyć nowe funkcje.
28
29 %prep
30 %setup -q -n %{orgname}-%{version}
31
32 %build
33 install -d build
34 cd build
35 %cmake \
36         ..
37 %{__make}
38
39 %install
40 rm -rf $RPM_BUILD_ROOT
41
42 %{__make} -C build/ install \
43         DESTDIR=$RPM_BUILD_ROOT \
44         kde_htmldir=%{_kdedocdir}
45
46 %find_lang %{orgname} --with-kde
47
48 %clean
49 rm -rf $RPM_BUILD_ROOT
50
51 %files -f %{orgname}.lang
52 %defattr(644,root,root,755)
53 %attr(755,root,root) %{_bindir}/kmplot
54 %attr(755,root,root) %{_libdir}/kde4/libkmplotpart.so
55 %{_datadir}/apps/kmplot
56 %{_datadir}/config.kcfg/kmplot.kcfg
57 %{_datadir}/dbus-1/interfaces/org.kde.kmplot.KmPlot.xml
58 %{_datadir}/dbus-1/interfaces/org.kde.kmplot.MainDlg.xml
59 %{_datadir}/dbus-1/interfaces/org.kde.kmplot.Parser.xml
60 %{_datadir}/dbus-1/interfaces/org.kde.kmplot.View.xml
61 %{_datadir}/kde4/services/kmplot_part.desktop
62 %{_desktopdir}/kde4/kmplot.desktop
63 %{_iconsdir}/hicolor/scalable/apps/kmplot.svgz
64 %{_iconsdir}/hicolor/*x*/apps/kmplot.png
65 %{_mandir}/man1/kmplot.1*
This page took 0.078181 seconds and 3 git commands to generate.