rpms/libmatheval/devel libmatheval.spec, NONE, 1.1 libmatheval_doc_add_info_dir.patch, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Ed Hill (edhill) fedora-extras-commits at redhat.com
Tue Oct 3 02:56:07 UTC 2006


Author: edhill

Update of /cvs/extras/rpms/libmatheval/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv15978/devel

Modified Files:
	.cvsignore sources 
Added Files:
	libmatheval.spec libmatheval_doc_add_info_dir.patch 
Log Message:
auto-import libmatheval-1.1.3-4 on branch devel from libmatheval-1.1.3-4.src.rpm


--- NEW FILE libmatheval.spec ---
Name:           libmatheval
Version:        1.1.3
Release:        4%{?dist}
Summary:        Library for parsing and evaluating symbolic expressions input as text

Group:          System Environment/Libraries
License:        GPL
URL:            http://www.gnu.org/software/libmatheval/
Source0:        http://ftp.gnu.org/gnu/libmatheval/libmatheval-%{version}.tar.gz
Patch0:         libmatheval_doc_add_info_dir.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:  gcc-gfortran, guile-devel, bison, flex, texinfo


%description
GNU libmatheval is a library (callable from C and Fortran) to parse
and evaluate symbolic expressions input as text.  It supports
expressions in any number of variables of arbitrary names, decimal and
symbolic constants, basic unary and binary operators, and elementary
mathematical functions.  In addition to parsing and evaluation,
libmatheval can also compute symbolic derivatives and output
expressions to strings.

%package devel
Summary:        Development files for libmatheval
Group:          Development/Libraries
Requires:       %{name} = %{version}-%{release}
Requires(post):  /sbin/install-info
Requires(preun): /sbin/install-info

%description devel
This package contains the development files for libmatheval.


%prep
%setup -q
%patch0 -p0

%build
%configure F77=gfortran --disable-static
make %{?_smp_mflags}

%check
make check ||:


%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
rm -f $RPM_BUILD_ROOT%{_infodir}/dir


%clean
rm -rf $RPM_BUILD_ROOT

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%post devel
/sbin/install-info %{_infodir}/%{name}.info %{_infodir}/dir || :

%preun devel
if [ $1 = 0 ]; then
    /sbin/install-info --delete %{_infodir}/%{name}.info %{_infodir}/dir || :
fi


%files
%defattr(-,root,root,-)
%doc COPYING AUTHORS README
%{_libdir}/*.so.*

%files devel
%defattr(-,root,root,-)
%doc NEWS 
%{_includedir}/*
%{_libdir}/*.so
%{_infodir}/libmatheval.info*


%changelog
* Sat Sep 23 2006  <ed at eh3.com> - 1.1.3-4
- add BR: texinfo

* Sat Sep 23 2006  <ed at eh3.com> - 1.1.3-3
- disable static libs and add check

* Thu Sep 21 2006  <ed at eh3.com> - 1.1.3-2
- add info dir patch

* Thu Sep 21 2006  <ed at eh3.com> - 1.1.3-1
- initial package creation


libmatheval_doc_add_info_dir.patch:

--- NEW FILE libmatheval_doc_add_info_dir.patch ---
--- doc/libmatheval.texi_ORIG	2006-09-21 10:03:24.000000000 -0400
+++ doc/libmatheval.texi	2006-09-21 10:06:50.000000000 -0400
@@ -9,6 +9,11 @@
 @include version.texi
 @syncodeindex fn cp
 
+ at dircategory Texinfo documentation system
+ at direntry
+* libmatheval: (libmatheval).           library for evaluating symbolic expressions
+ at end direntry
+
 @ifnottex
 This file documents GNU @code{libmatheval} library.
 


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/libmatheval/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	3 Oct 2006 02:55:32 -0000	1.1
+++ .cvsignore	3 Oct 2006 02:56:07 -0000	1.2
@@ -0,0 +1 @@
+libmatheval-1.1.3.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/libmatheval/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	3 Oct 2006 02:55:32 -0000	1.1
+++ sources	3 Oct 2006 02:56:07 -0000	1.2
@@ -0,0 +1 @@
+e88b3429da2758c799e6fbc44ac87416  libmatheval-1.1.3.tar.gz




More information about the fedora-extras-commits mailing list