]>
Commit | Line | Data |
---|---|---|
1 | Summary: Function and Data Plotter | |
2 | Summary(pl.UTF-8): Wykreślacz funkcji i danych | |
3 | Name: LabPlot | |
4 | Version: 1.6.0.2 | |
5 | Release: 1 | |
6 | License: GPL | |
7 | Group: Applications/Math | |
8 | Source0: http://dl.sourceforge.net/labplot/%{name}-%{version}.tar.bz2 | |
9 | # Source0-md5: 59a9448190b2ebc9b23670f9262a1947 | |
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 | Suggests: qhull | |
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 | ||
23 | %description -l pl.UTF-8 | |
24 | Program do wykreślania funkcji oraz manipulacji na danych. | |
25 | ||
26 | %package static | |
27 | Summary: LabPlot static libraries | |
28 | Summary(pl.UTF-8): Biblioteki statyczne LabPlot | |
29 | Group: Development/Libraries | |
30 | ||
31 | %description static | |
32 | LabPlot static libraries. | |
33 | ||
34 | %description static -l pl.UTF-8 | |
35 | Biblioteki statyczne LabPlot. | |
36 | ||
37 | %prep | |
38 | %setup -q | |
39 | ||
40 | %build | |
41 | # compiled binaries & objects | |
42 | rm -f texvc/texvc texvc/*.o texvc/*.cmx texvc/*.cmi | |
43 | ||
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 | |
53 | install -d $RPM_BUILD_ROOT%{_desktopdir} | |
54 | ||
55 | %{__make} install \ | |
56 | DESTDIR=$RPM_BUILD_ROOT | |
57 | ||
58 | rm -f $RPM_BUILD_ROOT%{_mandir}/man1/labplot.1 | |
59 | echo ".so LabPlot.1" > $RPM_BUILD_ROOT%{_mandir}/man1/labplot.1 | |
60 | ||
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 | |
73 | %attr(755,root,root) %{_libdir}/lib*.so.*.*.* | |
74 | %{_desktopdir}/kde/LabPlot.desktop | |
75 | %{_datadir}/mimelnk/application/x-lpl.desktop | |
76 | %{_datadir}/apps/LabPlot | |
77 | %{_iconsdir}/hicolor/*/*/*.png | |
78 | %{_mandir}/man?/* | |
79 | ||
80 | %files static | |
81 | %defattr(644,root,root,755) | |
82 | %{_libdir}/lib*.a |