]> git.pld-linux.org Git - packages/euler.git/commitdiff
- from scratch, STBR
authorsaq <saq@pld-linux.org>
Sun, 20 Jan 2002 22:57:04 +0000 (22:57 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    euler.spec -> 1.1

euler.spec [new file with mode: 0644]

diff --git a/euler.spec b/euler.spec
new file mode 100644 (file)
index 0000000..689c9aa
--- /dev/null
@@ -0,0 +1,53 @@
+%define                ver1    1.59
+%define                ver2    1
+
+Summary:       EULER, a program for doing mathematics on the computer
+Summary(pl):   EULER, program dla obliczeñ patematycznych na komputerze
+Name:          euler
+Version:       %{ver1}.%{ver2}
+Release:       1
+License:       GPL
+Group:         Applications/Math
+Group(de):     Applikationen/Mathematik
+Group(pl):     Aplikacje/Matematyczne
+Source0:       http://prdownloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
+URL:           http://euler.sourceforge.net/
+BuildRequires: gtk+-devel >= 1.2.0
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define                _prefix /usr/X11R6
+
+%description
+EULER is a program for quickly and interactively computing with real
+and complex numbers and matrices, or with intervals, in the style of
+MatLab, Octave,... It can draw and animate your functions in two and
+three dimensions.
+
+%prep
+%setup -q -n %{name}-%{ver1}
+
+%build
+cd source
+%{__make} \
+       CC="%{__cc} %{rpmcflags} -DINSTALL_DIR=\\\"%{_prefix}\\\""
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_datadir},%{_bindir}}
+cd source
+%{__make} install \
+       INSTALL_DIR=$RPM_BUILD_ROOT%{_prefix}
+cd ..
+
+rm -rf $RPM_BUILD_ROOT%{_datadir}/euler/docs
+gzip -9nf README ChangeLog TODO
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/*
+%{_datadir}/euler
+%doc docs/*
+%doc *.gz
This page took 0.050114 seconds and 4 git commands to generate.