SPECS: qtiplot.spec (NEW) - initial
undefine
undefine at pld-linux.org
Sun Jul 3 03:14:00 CEST 2005
Author: undefine Date: Sun Jul 3 01:14:00 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- initial
---- Files affected:
SPECS:
qtiplot.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/qtiplot.spec
diff -u /dev/null SPECS/qtiplot.spec:1.1
--- /dev/null Sun Jul 3 03:14:00 2005
+++ SPECS/qtiplot.spec Sun Jul 3 03:13:55 2005
@@ -0,0 +1,67 @@
+# $Revision$, $Date$:
+Summary: Data analysis and scientific plotting
+Summary(pl): Analiza danych i naukowe rysowanie
+Name: qtiplot
+Version: 0.6.3
+Release: 1
+License: GPL
+Group: X11/Applications
+Source0: http://soft.proindependent.com/%{name}-%{version}.tar.bz2
+# Source0-md5: 0748bb9b58149fd87402cbb7ad254e60
+Source1: %{name}.desktop
+URL: http://soft.proindependent.com/qtiplot.html
+BuildRequires: gsl-devel
+BuildRequires: libstdc++-devel
+BuildRequires: qmake
+BuildRequires: qt-devel >= 3.0
+BuildRequires: qwt-devel
+BuildRequires: qwtplot3d-devel
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Free, platform independent clone of Origin.
+
+%description -l pl
+Wolny, niezależny od platformy klon Origin.
+
+%prep
+%setup -q
+
+%build
+export QTDIR="%{_prefix}"
+export INSTALL_ROOT=$RPM_BUILD_ROOT
+
+sed -i -e 's at debug@@g' qtiplot.pro
+sed -i -e 's@/home/ion/qt/qwt/include@%{_includedir}/qwt at g' qtiplot.pro
+sed -i -e 's@/home/ion/qt/qwtplot3d/include@%{_includedir}/qwtplot3d at g' qtiplot.pro
+sed -i -e 's@%{_datadir}/doc/qtiplot/help.html@%{_docdir}/%{name}-%{version}/help.html at g' src/application.cpp
+
+qmake -o Makefile qtiplot.pro
+
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_desktopdir}}
+install %{name} $RPM_BUILD_ROOT%{_bindir}
+
+install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc doc/*.html
+%attr(755,root,root) %{_bindir}/*
+%{_desktopdir}/%{name}.desktop
+
+%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1 2005/07/03 01:13:55 undefine
+- initial
+
================================================================
More information about the pld-cvs-commit
mailing list