]> git.pld-linux.org Git - packages/LabPlot.git/blob - LabPlot.spec
554caf011ea8a96610f322d8938ae7124c47e142
[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.4.1
5 Release:        1
6 License:        GPL
7 Group:          Applications/Math
8 Source0:        http://dl.sourceforge.net/labplot/%{name}-%{version}.tar.bz2
9 # Source0-md5:  b19839478f2c95880c57aaad7b4e05e7
10 URL:            http://labplot.sourceforge.net/
11 BuildRequires:  ImageMagick-c++-devel
12 BuildRequires:  automake
13 BuildRequires:  fftw3-devel
14 BuildRequires:  gsl-devel
15 BuildRequires:  kdelibs-devel
16 BuildRequires:  rpmbuild(macros) >= 1.213
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 %package static
26 Summary:        LabPlot static libraries
27 Summary(pl):    Biblioteki statyczne LabPlot
28 Group:          Development/Libraries
29
30 %description static
31 LabPlot static libraries.
32
33 %description static -l pl
34 Biblioteki statyczne LabPlot.
35
36 %prep
37 %setup -q
38
39 %build
40 export kde_htmldir=%{_kdedocdir}
41 export kde_libs_htmldir=%{_kdedocdir}
42 cp -f /usr/share/automake/config.sub admin
43 %configure \
44 %ifarch %{x8664} sparc sparc64 ppc ppc64
45         --disable-cdf \
46 %endif
47         --with-qt-libraries=%{_libdir}
48 %{__make}
49
50 %install
51 rm -rf $RPM_BUILD_ROOT
52 install -d $RPM_BUILD_ROOT%{_desktopdir}
53
54 %{__make} install \
55         DESTDIR=$RPM_BUILD_ROOT
56
57 mv $RPM_BUILD_ROOT%{_datadir}/applnk/Applications/LabPlot.desktop $RPM_BUILD_ROOT%{_desktopdir}
58
59 rm -f $RPM_BUILD_ROOT%{_mandir}/man1/labplot.1
60 echo ".so LabPlot.1" > $RPM_BUILD_ROOT%{_mandir}/man1/labplot.1
61
62 %find_lang %{name} --with-kde
63
64 %clean
65 rm -rf $RPM_BUILD_ROOT
66
67 %post   -p /sbin/ldconfig
68 %postun -p /sbin/ldconfig
69
70 %files -f %{name}.lang
71 %defattr(644,root,root,755)
72 %doc README TODO INSTALL ChangeLog CHANGES FEATURES LabPlot.lsm
73 %attr(755,root,root) %{_bindir}/LabPlot
74 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
75 %{_desktopdir}/LabPlot.desktop
76 %{_datadir}/mimelnk/application/x-lpl.desktop
77 %{_datadir}/apps/LabPlot
78 %{_iconsdir}/*/*/*/*.png
79 %{_mandir}/man?/*
80
81 %files static
82 %defattr(644,root,root,755)
83 %{_libdir}/lib*.a
This page took 0.132148 seconds and 2 git commands to generate.