Author: blekot Date: Sun Jul 27 16:05:22 2008 GMT Module: SPECS Tag: HEAD ---- Log message: - new - added patch for missing libs
---- Files affected: SPECS: libbrahe.spec (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: SPECS/libbrahe.spec diff -u /dev/null SPECS/libbrahe.spec:1.1 --- /dev/null Sun Jul 27 18:05:22 2008 +++ SPECS/libbrahe.spec Sun Jul 27 18:05:16 2008 @@ -0,0 +1,90 @@ +# $Revision$, $Date$ +Summary: A Heterogenous C Library of Numeric Functions +Name: libbrahe +Version: 1.1.0 +Release: 1 +License: GPL +Group: Libraries +URL: http://www.coyotegulch.com/products/brahe/ +Source0: http://www.coyotegulch.com/distfiles/%{name}-%{version}.tar.gz +# Source0-md5: 6b02428844db18f8c51e2857346fe132 +Patch0: %{name}-missing_libs.patch +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +Brahe is where I put all sorts of useful mathematic functions that +don't seem to fit anywhere else. Among the bits and pieces here, +you'll find: +- A function, brahe_sigdig, that rounds floating-point values to a + specific number of significant digits -- very useful in scientific and + engineering applications. +- Several pseudorandom number generators, including the Marsenne + Twister, various algorithms by Marsaglia, and ISAAC. +- Least common multiple and greatest common denominator functions. +- A few trigonometry functions for finding the inversions of + hyperbolic sine, cosine, and tangent. + +%package devel +Summary: libbrahe headers and documentation +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} + +%description devel +libcoyotl libraries headers and documentation + +%package static +Summary: libbrahe static libraries +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} + +%description static +libbrahe static libraries + +%prep +%setup -q +%patch -p0 + +%build +%{__libtoolize} +%{__aclocal} +%{__automake} +%{__autoconf} + +%configure +%{__make} + +%install +rm -rf $RPM_BUILD_ROOT + +%{__make} install \ + DESTDIR=$RPM_BUILD_ROOT + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%attr(755,root,root) %{_bindir}/* +%attr(755,root,root) %{_libdir}/lib*.so.* + +%files devel +%defattr(644,root,root,755) +%attr(755,root,root) %{_libdir}/*.so +%{_libdir}/lib*.la +%dir %{_includedir}/%{name} +%{_includedir}/%{name}/*.h + +%files static +%defattr(644,root,root,755) +%{_libdir}/lib*.a + +%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) +%changelog +* %{date} PLD Team <[EMAIL PROTECTED]> +All persons listed below can be reached at <cvs_login>@pld-linux.org + +$Log$ +Revision 1.1 2008/07/27 16:05:16 blekot +- new +- added patch for missing libs + ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
