]> git.pld-linux.org Git - packages/LabPlot.git/blob - LabPlot.spec
- converted to UTF-8
[packages/LabPlot.git] / LabPlot.spec
1 Summary:        Function and Data Plotter
2 Summary(pl.UTF-8):   Wykreślacz funkcji i danych
3 Name:           LabPlot
4 Version:        1.5.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:  7847cb58e05efa0d8abf1ab38b784fa5
10 URL:            http://labplot.sourceforge.net/
11 BuildRequires:  ImageMagick-c++-devel >= 1:6.2.4.0
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.UTF-8
23 Program do wykreślania funkcji oraz manipulacji na danych.
24
25 %package static
26 Summary:        LabPlot static libraries
27 Summary(pl.UTF-8):   Biblioteki statyczne LabPlot
28 Group:          Development/Libraries
29
30 %description static
31 LabPlot static libraries.
32
33 %description static -l pl.UTF-8
34 Biblioteki statyczne LabPlot.
35
36 %prep
37 %setup -q 
38
39 %build
40 # compiled binaries & objects
41 rm -f texvc/texvc texvc/*.o texvc/*.cmx texvc/*.cmi
42
43 export kde_htmldir=%{_kdedocdir}
44 export kde_libs_htmldir=%{_kdedocdir}
45 cp -f /usr/share/automake/config.sub admin
46 %configure \
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 rm -f $RPM_BUILD_ROOT%{_mandir}/man1/labplot.1
58 echo ".so LabPlot.1" > $RPM_BUILD_ROOT%{_mandir}/man1/labplot.1
59
60 %find_lang %{name} --with-kde
61
62 %clean
63 rm -rf $RPM_BUILD_ROOT
64
65 %post   -p /sbin/ldconfig
66 %postun -p /sbin/ldconfig
67
68 %files -f %{name}.lang
69 %defattr(644,root,root,755)
70 %doc README TODO INSTALL ChangeLog CHANGES FEATURES LabPlot.lsm
71 %attr(755,root,root) %{_bindir}/LabPlot
72 %attr(755,root,root) %{_bindir}/opj2dat
73 %attr(755,root,root) %{_bindir}/texvc
74 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
75 %{_desktopdir}/kde/LabPlot.desktop
76 %{_datadir}/mimelnk/application/x-lpl.desktop
77 %{_datadir}/apps/LabPlot
78 %{_iconsdir}/hicolor/*/*/*.png
79 %{_mandir}/man?/*
80
81 %files static
82 %defattr(644,root,root,755)
83 %{_libdir}/lib*.a
This page took 0.071482 seconds and 3 git commands to generate.