]> git.pld-linux.org Git - packages/LabPlot.git/blame - LabPlot.spec
- we already have qdelaunay from qhull and no need to package it
[packages/LabPlot.git] / LabPlot.spec
CommitLineData
10be012d 1Summary: Function and Data Plotter
551bdd48 2Summary(pl.UTF-8): Wykreślacz funkcji i danych
10be012d 3Name: LabPlot
a384f2a7 4Version: 1.6.0.2
1160213e 5Release: 1
9faf3b12
JB
6License: GPL
7Group: Applications/Math
10be012d 8Source0: http://dl.sourceforge.net/labplot/%{name}-%{version}.tar.bz2
a384f2a7 9# Source0-md5: 59a9448190b2ebc9b23670f9262a1947
9faf3b12 10URL: http://labplot.sourceforge.net/
1633ccf6 11BuildRequires: ImageMagick-c++-devel >= 1:6.2.4.0
9faf3b12 12BuildRequires: automake
10be012d 13BuildRequires: fftw3-devel
14BuildRequires: gsl-devel
15BuildRequires: kdelibs-devel
d30052c9 16BuildRequires: rpmbuild(macros) >= 1.213
2a4c74b4 17Suggests: qhull
10be012d 18BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20%description
21This is a program for plotting of functions and data manipulation.
22
e6383060
JR
23%description -l pl.UTF-8
24Program do wykreślania funkcji oraz manipulacji na danych.
10be012d 25
de2be8c7 26%package static
27Summary: LabPlot static libraries
551bdd48 28Summary(pl.UTF-8): Biblioteki statyczne LabPlot
de2be8c7 29Group: Development/Libraries
30
31%description static
b40e2429 32LabPlot static libraries.
de2be8c7 33
e6383060 34%description static -l pl.UTF-8
b40e2429 35Biblioteki statyczne LabPlot.
de2be8c7 36
10be012d 37%prep
cec1d90b 38%setup -q
10be012d 39
40%build
a8fa22d6
AM
41# compiled binaries & objects
42rm -f texvc/texvc texvc/*.o texvc/*.cmx texvc/*.cmi
43
10be012d 44export kde_htmldir=%{_kdedocdir}
45export kde_libs_htmldir=%{_kdedocdir}
46cp -f /usr/share/automake/config.sub admin
47%configure \
48 --with-qt-libraries=%{_libdir}
49%{__make}
50
51%install
52rm -rf $RPM_BUILD_ROOT
c181a464 53install -d $RPM_BUILD_ROOT%{_desktopdir}
9faf3b12 54
10be012d 55%{__make} install \
9faf3b12 56 DESTDIR=$RPM_BUILD_ROOT
10be012d 57
22a41684 58rm -f $RPM_BUILD_ROOT%{_mandir}/man1/labplot.1
59echo ".so LabPlot.1" > $RPM_BUILD_ROOT%{_mandir}/man1/labplot.1
cf2fa3ed 60
10be012d 61%find_lang %{name} --with-kde
62
63%clean
64rm -rf $RPM_BUILD_ROOT
65
66%post -p /sbin/ldconfig
67%postun -p /sbin/ldconfig
68
69%files -f %{name}.lang
70%defattr(644,root,root,755)
71%doc README TODO INSTALL ChangeLog CHANGES FEATURES LabPlot.lsm
72%attr(755,root,root) %{_bindir}/LabPlot
9faf3b12 73%attr(755,root,root) %{_libdir}/lib*.so.*.*.*
cec1d90b 74%{_desktopdir}/kde/LabPlot.desktop
10be012d 75%{_datadir}/mimelnk/application/x-lpl.desktop
9faf3b12 76%{_datadir}/apps/LabPlot
d9d2bb43 77%{_iconsdir}/hicolor/*/*/*.png
e35e573b 78%{_mandir}/man?/*
de2be8c7 79
80%files static
81%defattr(644,root,root,755)
82%{_libdir}/lib*.a
This page took 0.121904 seconds and 5 git commands to generate.