diff --git a/givaro-3.7.2.tar.gz b/givaro-3.7.2.tar.gz new file mode 100644 index 0000000..0ad55db --- /dev/null +++ b/givaro-3.7.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:63a54eceb3827f39d4355fe62a8fb12d9d14d65cea0f46e7e1ee88ec9765c551 +size 794968 diff --git a/givaro-3.7.2.tar.xz b/givaro-3.7.2.tar.xz deleted file mode 100644 index 36a39f7..0000000 --- a/givaro-3.7.2.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:93e4a9456a0677347b15df9eaf772668ad6f8e581df061d4a05a3cfd622f50f8 -size 460140 diff --git a/givaro-doc-no-build-time.patch b/givaro-doc-no-build-time.patch new file mode 100644 index 0000000..639908a --- /dev/null +++ b/givaro-doc-no-build-time.patch @@ -0,0 +1,13 @@ +Index: givaro-3.7.2/docs/Doxyfile.mod +=================================================================== +--- givaro-3.7.2.orig/docs/Doxyfile.mod ++++ givaro-3.7.2/docs/Doxyfile.mod +@@ -974,7 +974,7 @@ HTML_COLORSTYLE_GAMMA = 80 + # page will contain the date and time when the page was generated. Setting + # this to NO can help when comparing the output of multiple runs. + +-HTML_TIMESTAMP = YES ++HTML_TIMESTAMP = NO + + # If the HTML_ALIGN_MEMBERS tag is set to YES, the members of classes, + # files or namespaces will be aligned in HTML using tables. If set to diff --git a/givaro.changes b/givaro.changes index 1f66d14..d8ab74e 100644 --- a/givaro.changes +++ b/givaro.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Thu May 23 16:16:10 UTC 2013 - dmitry_r@opensuse.org + +- Replace tarball by the original variant +- Replace duplicate files by links +- Delete timestamp from documentation + * givaro-doc-no-build-time.patch + ------------------------------------------------------------------- Sun May 19 20:30:35 UTC 2013 - jengelh@inai.de diff --git a/givaro.spec b/givaro.spec index 86d7641..8ca4cc6 100644 --- a/givaro.spec +++ b/givaro.spec @@ -25,10 +25,11 @@ Summary: C++ library for arithmetic and algebraic computations License: CECILL-B Group: Productivity/Scientific/Math Url: http://givaro.forge.imag.fr/ - -#DL-URL: http://forge.imag.fr/frs/download.php/370/givaro-3.7.2.tar.gz -Source: %name-%version.tar.xz +Source: http://forge.imag.fr/frs/download.php/370/%{name}-%{version}.tar.gz +# PATCH-FIX-OPENSUSE givaro-doc-no-build-time.patch -- Delete timestamp from documentation +Patch1: givaro-doc-no-build-time.patch BuildRequires: doxygen +BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: gmp-devel >= 3.1.1 BuildRequires: graphviz @@ -100,6 +101,7 @@ the Givaro API. %prep %setup -q +%patch1 -p1 %build %configure --disable-static --enable-doc --with-docdir="%_docdir/%name" @@ -110,6 +112,8 @@ b="%buildroot"; make install DESTDIR="$b"; rm -f "$b/%_libdir"/*.la; +%fdupes -s %{buildroot}/%{_docdir}/%{name}/givaro-html/ + %post -n %lname -p /sbin/ldconfig %postun -n %lname -p /sbin/ldconfig @@ -130,6 +134,7 @@ rm -f "$b/%_libdir"/*.la; %files doc %defattr(-,root,root) %dir %_docdir/%name/ +%exclude %{_docdir}/%{name}/givaro-html/INSTALL %_docdir/%name/givaro.html %_docdir/%name/givaro-html/