]>
Commit | Line | Data |
---|---|---|
10be012d | 1 | Summary: Function and Data Plotter |
551bdd48 | 2 | Summary(pl.UTF-8): Wykreślacz funkcji i danych |
10be012d | 3 | Name: LabPlot |
a384f2a7 | 4 | Version: 1.6.0.2 |
1160213e | 5 | Release: 1 |
9faf3b12 JB |
6 | License: GPL |
7 | Group: Applications/Math | |
10be012d | 8 | Source0: http://dl.sourceforge.net/labplot/%{name}-%{version}.tar.bz2 |
a384f2a7 | 9 | # Source0-md5: 59a9448190b2ebc9b23670f9262a1947 |
9faf3b12 | 10 | URL: http://labplot.sourceforge.net/ |
1633ccf6 | 11 | BuildRequires: ImageMagick-c++-devel >= 1:6.2.4.0 |
9faf3b12 | 12 | BuildRequires: automake |
10be012d | 13 | BuildRequires: fftw3-devel |
14 | BuildRequires: gsl-devel | |
15 | BuildRequires: kdelibs-devel | |
d30052c9 | 16 | BuildRequires: rpmbuild(macros) >= 1.213 |
2a4c74b4 | 17 | Suggests: qhull |
10be012d | 18 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
19 | ||
20 | %description | |
21 | This is a program for plotting of functions and data manipulation. | |
22 | ||
e6383060 JR |
23 | %description -l pl.UTF-8 |
24 | Program do wykreślania funkcji oraz manipulacji na danych. | |
10be012d | 25 | |
de2be8c7 | 26 | %package static |
27 | Summary: LabPlot static libraries | |
551bdd48 | 28 | Summary(pl.UTF-8): Biblioteki statyczne LabPlot |
de2be8c7 | 29 | Group: Development/Libraries |
30 | ||
31 | %description static | |
b40e2429 | 32 | LabPlot static libraries. |
de2be8c7 | 33 | |
e6383060 | 34 | %description static -l pl.UTF-8 |
b40e2429 | 35 | Biblioteki statyczne LabPlot. |
de2be8c7 | 36 | |
10be012d | 37 | %prep |
cec1d90b | 38 | %setup -q |
10be012d | 39 | |
40 | %build | |
a8fa22d6 AM |
41 | # compiled binaries & objects |
42 | rm -f texvc/texvc texvc/*.o texvc/*.cmx texvc/*.cmi | |
43 | ||
10be012d | 44 | export kde_htmldir=%{_kdedocdir} |
45 | export kde_libs_htmldir=%{_kdedocdir} | |
46 | cp -f /usr/share/automake/config.sub admin | |
47 | %configure \ | |
48 | --with-qt-libraries=%{_libdir} | |
49 | %{__make} | |
50 | ||
51 | %install | |
52 | rm -rf $RPM_BUILD_ROOT | |
c181a464 | 53 | install -d $RPM_BUILD_ROOT%{_desktopdir} |
9faf3b12 | 54 | |
10be012d | 55 | %{__make} install \ |
9faf3b12 | 56 | DESTDIR=$RPM_BUILD_ROOT |
10be012d | 57 | |
22a41684 | 58 | rm -f $RPM_BUILD_ROOT%{_mandir}/man1/labplot.1 |
59 | echo ".so LabPlot.1" > $RPM_BUILD_ROOT%{_mandir}/man1/labplot.1 | |
cf2fa3ed | 60 | |
10be012d | 61 | %find_lang %{name} --with-kde |
62 | ||
63 | %clean | |
64 | rm -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 |