]>
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 |
db3e2158 | 4 | Version: 1.5.1.5 |
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 |
db3e2158 | 9 | # Source0-md5: c3eac8284688ebe5ad53d90c773ec7bb |
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 |
10be012d | 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 | ||
e6383060 JR |
22 | %description -l pl.UTF-8 |
23 | Program do wykreślania funkcji oraz manipulacji na danych. | |
10be012d | 24 | |
de2be8c7 | 25 | %package static |
26 | Summary: LabPlot static libraries | |
551bdd48 | 27 | Summary(pl.UTF-8): Biblioteki statyczne LabPlot |
de2be8c7 | 28 | Group: Development/Libraries |
29 | ||
30 | %description static | |
b40e2429 | 31 | LabPlot static libraries. |
de2be8c7 | 32 | |
e6383060 | 33 | %description static -l pl.UTF-8 |
b40e2429 | 34 | Biblioteki statyczne LabPlot. |
de2be8c7 | 35 | |
10be012d | 36 | %prep |
cec1d90b | 37 | %setup -q |
10be012d | 38 | |
39 | %build | |
a8fa22d6 AM |
40 | # compiled binaries & objects |
41 | rm -f texvc/texvc texvc/*.o texvc/*.cmx texvc/*.cmi | |
42 | ||
10be012d | 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 | |
c181a464 | 52 | install -d $RPM_BUILD_ROOT%{_desktopdir} |
9faf3b12 | 53 | |
10be012d | 54 | %{__make} install \ |
9faf3b12 | 55 | DESTDIR=$RPM_BUILD_ROOT |
10be012d | 56 | |
22a41684 | 57 | rm -f $RPM_BUILD_ROOT%{_mandir}/man1/labplot.1 |
58 | echo ".so LabPlot.1" > $RPM_BUILD_ROOT%{_mandir}/man1/labplot.1 | |
cf2fa3ed | 59 | |
10be012d | 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 | |
cec1d90b RT |
72 | %attr(755,root,root) %{_bindir}/opj2dat |
73 | %attr(755,root,root) %{_bindir}/texvc | |
9faf3b12 | 74 | %attr(755,root,root) %{_libdir}/lib*.so.*.*.* |
cec1d90b | 75 | %{_desktopdir}/kde/LabPlot.desktop |
10be012d | 76 | %{_datadir}/mimelnk/application/x-lpl.desktop |
9faf3b12 | 77 | %{_datadir}/apps/LabPlot |
d9d2bb43 | 78 | %{_iconsdir}/hicolor/*/*/*.png |
e35e573b | 79 | %{_mandir}/man?/* |
de2be8c7 | 80 | |
81 | %files static | |
82 | %defattr(644,root,root,755) | |
83 | %{_libdir}/lib*.a |