]> git.pld-linux.org Git - packages/calc.git/blobdiff - calc.spec
- updated to 2.12.7.2
[packages/calc.git] / calc.spec
index 181154aabf96b14309054630841c045bc40fea8f..5bbb083a6ee04ea3a15958ef6d3ed142b2e26250 100644 (file)
--- a/calc.spec
+++ b/calc.spec
@@ -1,15 +1,16 @@
 #
 # TODO: some unpackaged libs, should we pack them as ghosts?
 #
+%bcond_without tests
 Summary:       Arbitrary precision calculator
 Summary(pl.UTF-8):     Kalkulator operujący na liczbach z dowolną dokładnością
 Name:          calc
-Version:       2.12.4.0
-Release:       2.1
+Version:       2.12.7.2
+Release:       1
 License:       LGPL v2.1+
 Group:         Applications/Math
 Source0:       http://www.isthe.com/chongo/src/calc/%{name}-%{version}.tar.bz2
-# Source0-md5: 2ef56695837c6e501ca80b64e0be0db6
+# Source0-md5: 86ba447318108da52e4d9ab93e00aca9
 Source1:       %{name}.desktop
 Patch0:                %{name}-ppc.patch
 URL:           http://www.isthe.com/chongo/tech/comp/calc/
@@ -17,6 +18,8 @@ BuildRequires:        readline-devel >= 4.2
 BuildRequires: sed >= 4.0
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+%define                no_install_post_check_so        1
+
 %description
 Calc is arbitrary precision arithmetic system that uses a C-like
 language. Calc is useful as a calculator, an algorithm prototyped and
@@ -61,6 +64,8 @@ programach.
        READLINE_INCLUDE=%{_includedir} \
        SCRIPTDIR=%{_datadir}/calc/cscript
 
+%{?with_tests:%{__make} check}
+
 %install
 rm -rf $RPM_BUILD_ROOT
 
@@ -85,7 +90,7 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 # COPYING is not just LGPL text, only some explanations
-%doc BUGS CHANGES COPYING README
+%doc BUGS CHANGES COPYING README.md
 %attr(755,root,root) %{_bindir}/calc
 %attr(755,root,root) %{_libdir}/libcalc.so.*.*.*.*
 %attr(755,root,root) %{_libdir}/libcustcalc.so.*.*.*.*
This page took 0.029056 seconds and 4 git commands to generate.