- Replace tarball by the original variant
- Replace duplicate files by links - Delete timestamp from documentation * givaro-doc-no-build-time.patch OBS-URL: https://build.opensuse.org/package/show/science/givaro?expand=0&rev=3
This commit is contained in:
parent
bb3ed553fa
commit
bb4dc3bbdf
3
givaro-3.7.2.tar.gz
Normal file
3
givaro-3.7.2.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:63a54eceb3827f39d4355fe62a8fb12d9d14d65cea0f46e7e1ee88ec9765c551
|
||||||
|
size 794968
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:93e4a9456a0677347b15df9eaf772668ad6f8e581df061d4a05a3cfd622f50f8
|
|
||||||
size 460140
|
|
13
givaro-doc-no-build-time.patch
Normal file
13
givaro-doc-no-build-time.patch
Normal file
@ -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
|
@ -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
|
Sun May 19 20:30:35 UTC 2013 - jengelh@inai.de
|
||||||
|
|
||||||
|
11
givaro.spec
11
givaro.spec
@ -25,10 +25,11 @@ Summary: C++ library for arithmetic and algebraic computations
|
|||||||
License: CECILL-B
|
License: CECILL-B
|
||||||
Group: Productivity/Scientific/Math
|
Group: Productivity/Scientific/Math
|
||||||
Url: http://givaro.forge.imag.fr/
|
Url: http://givaro.forge.imag.fr/
|
||||||
|
Source: http://forge.imag.fr/frs/download.php/370/%{name}-%{version}.tar.gz
|
||||||
#DL-URL: http://forge.imag.fr/frs/download.php/370/givaro-3.7.2.tar.gz
|
# PATCH-FIX-OPENSUSE givaro-doc-no-build-time.patch -- Delete timestamp from documentation
|
||||||
Source: %name-%version.tar.xz
|
Patch1: givaro-doc-no-build-time.patch
|
||||||
BuildRequires: doxygen
|
BuildRequires: doxygen
|
||||||
|
BuildRequires: fdupes
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: gmp-devel >= 3.1.1
|
BuildRequires: gmp-devel >= 3.1.1
|
||||||
BuildRequires: graphviz
|
BuildRequires: graphviz
|
||||||
@ -100,6 +101,7 @@ the Givaro API.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
%patch1 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --disable-static --enable-doc --with-docdir="%_docdir/%name"
|
%configure --disable-static --enable-doc --with-docdir="%_docdir/%name"
|
||||||
@ -110,6 +112,8 @@ b="%buildroot";
|
|||||||
make install DESTDIR="$b";
|
make install DESTDIR="$b";
|
||||||
rm -f "$b/%_libdir"/*.la;
|
rm -f "$b/%_libdir"/*.la;
|
||||||
|
|
||||||
|
%fdupes -s %{buildroot}/%{_docdir}/%{name}/givaro-html/
|
||||||
|
|
||||||
%post -n %lname -p /sbin/ldconfig
|
%post -n %lname -p /sbin/ldconfig
|
||||||
%postun -n %lname -p /sbin/ldconfig
|
%postun -n %lname -p /sbin/ldconfig
|
||||||
|
|
||||||
@ -130,6 +134,7 @@ rm -f "$b/%_libdir"/*.la;
|
|||||||
%files doc
|
%files doc
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%dir %_docdir/%name/
|
%dir %_docdir/%name/
|
||||||
|
%exclude %{_docdir}/%{name}/givaro-html/INSTALL
|
||||||
%_docdir/%name/givaro.html
|
%_docdir/%name/givaro.html
|
||||||
%_docdir/%name/givaro-html/
|
%_docdir/%name/givaro-html/
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user