rpms/ntl/devel .cvsignore, 1.4, 1.5 ntl.spec, 1.17, 1.18 sources, 1.4, 1.5 ntl-5.4.2-gcc44.patch, 1.1, NONE
Rex Dieter
rdieter at fedoraproject.org
Fri Apr 17 17:42:58 UTC 2009
Author: rdieter
Update of /cvs/pkgs/rpms/ntl/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv22682
Modified Files:
.cvsignore ntl.spec sources
Removed Files:
ntl-5.4.2-gcc44.patch
Log Message:
* Fri Apr 17 2009 Rex Dieter <rdieter at fedoraproject.org> - 5.5-1
- ntl-5.5
- enable shared libs (and omit static lib)
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/ntl/devel/.cvsignore,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- .cvsignore 13 Mar 2008 02:18:13 -0000 1.4
+++ .cvsignore 17 Apr 2009 17:42:26 -0000 1.5
@@ -1 +1 @@
-ntl-5.4.2.tar.gz
+ntl-5.5.tar.gz
Index: ntl.spec
===================================================================
RCS file: /cvs/pkgs/rpms/ntl/devel/ntl.spec,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- ntl.spec 20 Mar 2009 17:28:37 -0000 1.17
+++ ntl.spec 17 Apr 2009 17:42:26 -0000 1.18
@@ -1,10 +1,13 @@
%define multilib_arches %{ix86} x86_64 ppc ppc64 s390 s390x sparcv9 sparc64
+# define include static lib (else undef)
+#define static 1
+
Summary: High-performance algorithms for vectors, matrices, and polynomials
Name: ntl
-Version: 5.4.2
-Release: 7%{?dist}
+Version: 5.5
+Release: 1%{?dist}
License: GPLv2+
URL: http://shoup.net/ntl/
@@ -14,12 +17,8 @@
Source1: multilib_template.h
-Patch1: ntl-5.4.2-gcc44.patch
-
BuildRequires: gmp-devel
-
-# includes no debuginfo'able bits, disable
-%define debug_package %{nil}
+BuildRequires: libtool
%description
NTL is a high-performance, portable C++ library providing data structures
@@ -40,34 +39,24 @@
precision floating point numbers.
%package devel
-Summary: High-performance algorithms for vectors, matrices, and polynomials
+Summary: Development files for %{name}
Group: Development/Libraries
-Obsoletes: %{name}-static < %{version}-%{release}
-Provides: %{name}-static = %{version}-%{release}
+Requires: %{name} = %{version}-%{release}
%description devel
-NTL is a high-performance, portable C++ library providing data structures
-and algorithms for arbitrary length integers; for vectors, matrices, and
-polynomials over the integers and over finite fields; and for arbitrary
-precision floating point arithmetic.
+%{summary}.
-NTL provides high quality implementations of state-of-the-art algorithms for:
-* arbitrary length integer arithmetic and arbitrary precision floating point
- arithmetic;
-* polynomial arithmetic over the integers and finite fields including basic
- arithmetic, polynomial factorization, irreducibility testing, computation
- of minimal polynomials, traces, norms, and more;
-* lattice basis reduction, including very robust and fast implementations of
- Schnorr-Euchner, block Korkin-Zolotarev reduction, and the new
- Schnorr-Horner pruning heuristic for block Korkin-Zolotarev;
-* basic linear algebra over the integers, finite fields, and arbitrary
- precision floating point numbers.
+%package static
+Summary: Static libraries for %{name}
+Group: Development/Libraries
+Requires: %{name}-devel = %{version}-%{release}
+#Requires: gmp-devel
+%description static
+%{summary}.
%prep
%setup -q
-%patch1 -p1 -b .gcc44
-
%build
cd src
@@ -80,7 +69,8 @@
DOCDIR=%{_docdir} \
INCLUDEDIR=%{_includedir} \
LIBDIR=%{_libdir} \
- NTL_GMP_LIP=on
+ NTL_GMP_LIP=on \
+ SHARED=on
cd -
# not smp-safe
@@ -103,6 +93,10 @@
# Unpackaged files
rm -rf %{buildroot}%{_docdir}/NTL
+rm -f %{buildroot}%{_libdir}/libntl.la
+%if ! 0%{?static}
+rm -f %{buildroot}%{_libdir}/libntl.a
+%endif
%ifarch %{multilib_arches}
# hack to allow parallel installation of multilib factory-devel
@@ -122,15 +116,29 @@
rm -rf %{buildroot}
+%files
+%defattr(-,root,root,-)
+%doc README doc/copying.txt
+%{_libdir}/libntl.so.0*
+
%files devel
%defattr(-,root,root,-)
-%doc README
%doc doc/*
%{_includedir}/*
-%{_libdir}/lib*.a
+%{_libdir}/libntl.so
+
+%if 0%{?static}
+%files static
+%defattr(-,root,root,-)
+%{_libdir}/libntl.a
+%endif
%changelog
+* Fri Apr 17 2009 Rex Dieter <rdieter at fedoraproject.org> - 5.5-1
+- ntl-5.5
+- enable shared libs (and omit static lib)
+
* Fri Mar 20 2009 Michael Schwendt <mschwendt at fedoraproject.org> - 5.4.2-7
- add -static virtual Provides to -devel package
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/ntl/devel/sources,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- sources 13 Mar 2008 02:18:13 -0000 1.4
+++ sources 17 Apr 2009 17:42:27 -0000 1.5
@@ -1 +1 @@
-0aac5c680eee09a19732e1601b237a0b ntl-5.4.2.tar.gz
+41323fefa47de772d92807633c32b721 ntl-5.5.tar.gz
--- ntl-5.4.2-gcc44.patch DELETED ---
More information about the fedora-extras-commits
mailing list