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