# $Revision: 1.6 $, $Date: 2004/09/14 13:04:00 $ Summary: Function and Data Plotter Summary(pl): Wykreślacz funkcji i danych Name: LabPlot Version: 1.3.1 Release: 3 License: GPL Group: Applications/Math Source0: http://dl.sourceforge.net/labplot/%{name}-%{version}.tar.bz2 # Source0-md5: a6001c52eaee6518b9c5965cfc826f2f Patch0: %{name}-desktop.patch URL: http://labplot.sourceforge.net/ BuildRequires: automake BuildRequires: fftw3-devel BuildRequires: gsl-devel BuildRequires: kdelibs-devel BuildRequires: rpmbuild(macros) >= 1.129 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description This is a program for plotting of functions and data manipulation. %description -l pl Program do wykreślania funkcji oraz manipulacji na danych. %prep %setup -q %patch0 %build export kde_htmldir=%{_kdedocdir} export kde_libs_htmldir=%{_kdedocdir} cp -f /usr/share/automake/config.sub admin %configure \ %ifarch sparc sparc64 ppc ppc64 amd64 --disable-cdf \ %endif --with-qt-libraries=%{_libdir} %{__make} %install rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT%{_desktopdir} %{__make} install \ DESTDIR=$RPM_BUILD_ROOT mv $RPM_BUILD_ROOT%{_datadir}/applnk/Applications/LabPlot.desktop $RPM_BUILD_ROOT%{_desktopdir} %find_lang %{name} --with-kde %clean rm -rf $RPM_BUILD_ROOT %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files -f %{name}.lang %defattr(644,root,root,755) %doc README TODO INSTALL ChangeLog CHANGES FEATURES LabPlot.lsm %attr(755,root,root) %{_bindir}/LabPlot %attr(755,root,root) %{_libdir}/lib*.so.*.*.* %{_desktopdir}/LabPlot.desktop %{_datadir}/mimelnk/application/x-lpl.desktop %{_datadir}/apps/LabPlot %{_iconsdir}/*/*/*/*.png %define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) %changelog * %{date} PLD Team All persons listed below can be reached at @pld-linux.org $Log: LabPlot.spec,v $ Revision 1.6 2004/09/14 13:04:00 undefine - patch to fix desktop file - release 3 Revision 1.5 2004/09/04 22:17:06 undefine - disable cdf on sparc/ppc/amd64. stupid, but works... maybe in next version it will work ok. - release 2 Revision 1.4 2004/08/31 21:56:48 qboosh - unifications, BR: automake, proper rpm macros Revision 1.3 2004/08/31 20:57:27 undefine - fix perms, update localization desktopfile.. etc... Revision 1.2 2004/08/31 17:24:13 undefine - add md5 Revision 1.1 2004/08/31 17:02:24 undefine - initital pld version based on included spec. great program, can export ploted functions to svg, etc :)