rpms/mathomatic/F-9 mathomatic.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Terje Røsten (terjeros) fedora-extras-commits at redhat.com
Mon Jun 9 18:16:34 UTC 2008


Author: terjeros

Update of /cvs/extras/rpms/mathomatic/F-9
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv11636/F-9

Modified Files:
	.cvsignore sources 
Added Files:
	mathomatic.spec 
Log Message:
Importing mathomatic.




--- NEW FILE mathomatic.spec ---
Summary:       Small, portable symbolic math program
Name:          mathomatic
Version:       14.0.4
Release:       1%{?dist} 
License:       LGPLv2
Group:         Applications/Engineering
URL:           http://www.mathomatic.org/
Source:        http://www.panix.com/~gesslein/%{name}-%{version}.tar.bz2
BuildRoot:     %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: desktop-file-utils readline-devel

%description
Mathomatic is a small, portable symbolic math program that can
automatically solve, simplify, differentiate, combine, and compare
algebraic equations, perform polynomial and complex arithmetic,
etc. It was written by George Gesslein II and has been under
development since 1986.

%package tools
Summary:  Various small math tools from mathomatic
Group:    Applications/Engineering
Requires: %{name} = %{version}-%{release}

%description tools
This package contains small math tools from mathomatic to
 - calculate Pascal's triangle
 - compute any number of consecutive prime numbers
 - find the minimum number of positive integers that when squared 
   and added together, equal the given number

%prep
%setup -q
%{__sed} -i -e "s/CFLAGS.*+= -O/CFLAGS += %{optflags}/" makefile 

%build
%{__make} %{?_smp_mflags} READLINE=1 prefix=%{_prefix}

pushd primes
%{__make} %{?_smp_mflags} prefix=%{_prefix} CFLAGS="%{optflags}"

%install
%{__rm} -rf %{buildroot}
%{__make} install prefix=%{buildroot}%{_prefix} mandir=%{buildroot}%{_mandir}
%{__rm} -rf %{buildroot}%{_datadir}/doc/%{name}
desktop-file-install --delete-original \
    --dir %{buildroot}%{_datadir}/applications  \
    %{buildroot}%{_datadir}/applications/%{name}.desktop

pushd primes
%{__make} install prefix=%{buildroot}%{_prefix} mandir=%{buildroot}%{_mandir}

%clean
%{__rm} -rf %{buildroot}

%files
%defattr(-, root, root, -)
%doc AUTHORS COPYING README.txt changes.txt doc
%{_bindir}/%{name}
%{_mandir}/man1/%{name}.1*
%{_datadir}/pixmaps/%{name}.png
%{_datadir}/applications/%{name}.desktop

%files tools
%{_bindir}/matho-pascal
%{_bindir}/matho-primes
%{_bindir}/matho-sumsq
%{_mandir}/man1/matho-pascal.1*
%{_mandir}/man1/matho-primes.1*
%{_mandir}/man1/matho-sumsq.1*

%changelog
* Wed Jun  4 2008 Terje Rosten <terje.rosten at ntnu.no> - 14.0.4-1
- 14.0.4

* Wed May 21 2008 Terje Rosten <terje.rosten at ntnu.no> - 14.0.3-1
- 14.0.3
- cleanup
- build with readline support
- add tools subpackage

* Mon Nov  5 2007 Dries Verachtert - 12.7.9-1
- Updated to release 12.7.9.

* Tue Apr 27 2004 Dries Verachtert - 11.0e-1
- Initial package.



Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/mathomatic/F-9/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	9 Jun 2008 16:26:12 -0000	1.1
+++ .cvsignore	9 Jun 2008 18:15:48 -0000	1.2
@@ -0,0 +1 @@
+mathomatic-14.0.4.tar.bz2


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/mathomatic/F-9/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	9 Jun 2008 16:26:12 -0000	1.1
+++ sources	9 Jun 2008 18:15:48 -0000	1.2
@@ -0,0 +1 @@
+1f16d109e578f8731e16530d81aa9dab  mathomatic-14.0.4.tar.bz2




More information about the fedora-extras-commits mailing list