From 59df5e94338b544e2d2db9bc7ab9136effb3986d Mon Sep 17 00:00:00 2001 From: Sergio Pascual Date: Jul 15 2012 10:14:16 +0000 Subject: Licensing updated: LGPLv3+ or BSD os Artistic 2.0 --- diff --git a/README.fedora b/README.fedora new file mode 100644 index 0000000..e73a5d6 --- /dev/null +++ b/README.fedora @@ -0,0 +1,9 @@ + +Due to BZ #340751, a blitz header file has moved from /usr/include/blitz +to ${libdir}/blitz/include/ + +When compilling blitz programs, using pkgconfig is recommended, as blitz.pc +has been updated to reflect the change in the includes. A file can be +compiled like this: + +$ gcc file.cc `pkg-config blitz --cflags --libs` diff --git a/blitz.spec b/blitz.spec index 56c0c1c..7e10a20 100644 --- a/blitz.spec +++ b/blitz.spec @@ -1,18 +1,23 @@ Name: blitz Version: 0.10 -Release: 1%{?dist} +Release: 2%{?dist} Summary: C++ class library for matrix scientific computing Group: Development/Libraries -License: LGPLv3+ or BSD -# URL: http://www.oonumerics.org/blitz -# This url seems down +License: LGPLv3+ or BSD or Artistic 2.0 + + URL: http://sourceforge.net/projects/blitz Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz -# https://sourceforge.net/tracker/?func=detail&aid=3534421&group_id=63961&atid=505791 +# Modifications of the Fedora package are listed here: +# * Arch dependent hader moved to lib/blitz/include +# https://sourceforge.net/tracker/?func=detail&aid=3534421&group_id=63961&atid=505791 +Source1: README.fedora +# Fails to compile with gcc 4.7 +# https://sourceforge.net/tracker/?func=detail&atid=505791&aid=3534421&group_id=63961 Patch0: blitz-gcc47.patch -BuildRequires: boost-devel > 1.40.0 gcc-gfortran doxygen texinfo graphviz +BuildRequires: gcc-gfortran doxygen texinfo graphviz Requires(post): /sbin/install-info /sbin/ldconfig Requires(preun): /sbin/install-info /sbin/ldconfig @@ -42,10 +47,11 @@ HTML documentation files for the Blitz Library %prep %setup -q %patch0 -p1 +cp %SOURCE1 . %build %configure --enable-shared --disable-static --disable-cxx-flags-preset \ - --enable-serialization --enable-64bit --enable-fortran \ + --enable-64bit --enable-fortran \ --disable-fortran-flags-preset make %{?_smp_mflags} @@ -89,7 +95,7 @@ if [ $1 = 0 ]; then fi %files -%doc AUTHORS LEGAL COPYING COPYING.LESSER README LICENSE +%doc AUTHORS LEGAL COPYRIGHT COPYING COPYING.LESSER README LICENSE README.fedora %{_libdir}/*so.* %files devel @@ -103,12 +109,15 @@ fi %exclude %{_infodir}/dir %files doc -%doc COPYING COPYING.LESSER LICENSE +%doc COPYRIGHT COPYING COPYING.LESSER README LICENSE %doc doc/blitz.pdf %doc doc/blitz.html %doc examples %changelog +* Fri Jul 06 2012 Sergio Pascual - 0.10-2 +- Licensing updated: LGPLv3+ or BSD os Artistic 2.0 + * Sun Jul 01 2012 Sergio Pascual - 0.10-1 - New upstream source diff --git a/sources b/sources index fc1f727..c797035 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -3e3b486784faf7ddd946ae5fb04d47f0 blitz-0.10.tar.gz +66268b92bda923735f2e3afc87dcb58a blitz-0.10.tar.gz