Name: plotdrop Version: 0.5.3 Release: 5%{?dist} Summary: A minimal GNOME front-end to Gnuplot Group: Applications/Engineering License: GPLv2 URL: http://plotdrop.sourceforge.net/ Source0: http://downloads.sourceforge.net/project/%{name}/%{name}-%{version}.tar.gz Patch0: plotdrop-desktop-file.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Requires: gnuplot BuildRequires: libglade2-devel gnome-vfs2-devel desktop-file-utils %description Plotdrop is a minimal GNOME front-end to Gnuplot. Plotdrop is designed for quick simple visualization of 2D data series. It is not intended to encompass anywhere near the full capabilities of Gnuplot. %prep %setup -q %patch0 -p1 sed -i "s/CFLAGS = /CFLAGS += /" Makefile sed -i "s/install -s/install/g" Makefile %build export CFLAGS=$RPM_OPT_FLAGS make %{?_smp_mflags} PREFIX=%{_prefix} %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT PREFIX=%{_prefix} # validate desktop file desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/plotdrop.desktop %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc COPYING Changelog %{_bindir}/%{name} %{_datadir}/applications/%{name}.desktop %{_datadir}/pixmaps/%{name}.png %{_datadir}/%{name}/droplist.glade %{_datadir}/%{name}/%{name}.png %changelog * Wed Jan 26 2011 Arun SAG - 0.5.3-5 - Add gnuplot to requires * Sun Jan 9 2011 Arun SAG - 0.5.3-4 - Fix the prefix * Sun Jan 9 2011 Arun SAG - 0.5.3-3 - Fix strip option in makefile * Sun Dec 12 2010 Arun SAG - 0.5.3-2 - Fix CFLAGS * Sat Dec 11 2010 Arun SAG - 0.5.3-1 - Initial package