]> git.pld-linux.org Git - packages/LabPlot.git/blob - LabPlot.spec
89d98a2f5a5d8f0ce6533445ce517c14acbff4d8
[packages/LabPlot.git] / LabPlot.spec
1 Summary:        Function and Data Plotter
2 Summary(pl):    Wykre¶lacz funkcji i danych
3 Name:           LabPlot
4 Version:        1.3.1
5 Release:        3
6 License:        GPL
7 Group:          Applications/Math
8 Source0:        http://dl.sourceforge.net/labplot/%{name}-%{version}.tar.bz2
9 # Source0-md5:  a6001c52eaee6518b9c5965cfc826f2f
10 Patch0:         %{name}-desktop.patch
11 URL:            http://labplot.sourceforge.net/
12 BuildRequires:  automake
13 BuildRequires:  fftw3-devel
14 BuildRequires:  gsl-devel
15 BuildRequires:  kdelibs-devel
16 BuildRequires:  rpmbuild(macros) >= 1.129
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %description
20 This is a program for plotting of functions and data manipulation.
21
22 %description -l pl
23 Program do wykre¶lania funkcji oraz manipulacji na danych.
24
25 %prep
26 %setup -q
27 %patch0
28
29 %build
30 export kde_htmldir=%{_kdedocdir}
31 export kde_libs_htmldir=%{_kdedocdir}
32 cp -f /usr/share/automake/config.sub admin
33 %configure \
34 %ifarch sparc sparc64 ppc ppc64 amd64
35         --disable-cdf \
36 %endif
37         --with-qt-libraries=%{_libdir}
38 %{__make}
39
40 %install
41 rm -rf $RPM_BUILD_ROOT
42 install -d $RPM_BUILD_ROOT%{_desktopdir}
43
44 %{__make} install \
45         DESTDIR=$RPM_BUILD_ROOT
46
47 mv $RPM_BUILD_ROOT%{_datadir}/applnk/Applications/LabPlot.desktop $RPM_BUILD_ROOT%{_desktopdir}
48 %find_lang %{name} --with-kde
49
50 %clean
51 rm -rf $RPM_BUILD_ROOT
52
53 %post   -p /sbin/ldconfig
54 %postun -p /sbin/ldconfig
55
56 %files -f %{name}.lang
57 %defattr(644,root,root,755)
58 %doc README TODO INSTALL ChangeLog CHANGES FEATURES LabPlot.lsm
59 %attr(755,root,root) %{_bindir}/LabPlot
60 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
61 %{_desktopdir}/LabPlot.desktop
62 %{_datadir}/mimelnk/application/x-lpl.desktop
63 %{_datadir}/apps/LabPlot
64 %{_iconsdir}/*/*/*/*.png
This page took 0.056733 seconds and 2 git commands to generate.