]> git.pld-linux.org Git - packages/LabPlot.git/blob - LabPlot.spec
- rel 2
[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.5.0.1
5 Release:        2
6 License:        GPL
7 Group:          Applications/Math
8 Source0:        http://dl.sourceforge.net/labplot/%{name}-%{version}.tar.bz2
9 # Source0-md5:  8b0135deef37f37fecac738fe7c021de
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 -n %{name}-1.5.0
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         --with-qt-libraries=%{_libdir}
45 %{__make}
46
47 %install
48 rm -rf $RPM_BUILD_ROOT
49 install -d $RPM_BUILD_ROOT%{_desktopdir}
50
51 %{__make} install \
52         DESTDIR=$RPM_BUILD_ROOT
53
54 mv $RPM_BUILD_ROOT%{_datadir}/applnk/Applications/LabPlot.desktop $RPM_BUILD_ROOT%{_desktopdir}
55
56 rm -f $RPM_BUILD_ROOT%{_mandir}/man1/labplot.1
57 echo ".so LabPlot.1" > $RPM_BUILD_ROOT%{_mandir}/man1/labplot.1
58
59 %find_lang %{name} --with-kde
60
61 %clean
62 rm -rf $RPM_BUILD_ROOT
63
64 %post   -p /sbin/ldconfig
65 %postun -p /sbin/ldconfig
66
67 %files -f %{name}.lang
68 %defattr(644,root,root,755)
69 %doc README TODO INSTALL ChangeLog CHANGES FEATURES LabPlot.lsm
70 %attr(755,root,root) %{_bindir}/LabPlot
71 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
72 %{_desktopdir}/LabPlot.desktop
73 %{_datadir}/mimelnk/application/x-lpl.desktop
74 %{_datadir}/apps/LabPlot
75 %{_iconsdir}/hicolor/*/*/*.png
76 %{_mandir}/man?/*
77
78 %files static
79 %defattr(644,root,root,755)
80 %{_libdir}/lib*.a
This page took 0.075923 seconds and 3 git commands to generate.