Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:13.1
calc
calc.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File calc.spec of Package calc
# # spec file for package calc # # Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: calc Version: 2.12.4.8 Release: 0 Summary: C-style arbitrary precision system License: LGPL-2.1 Group: Productivity/Scientific/Math Url: http://sourceforge.net/projects/calc Source: calc-%{version}.tar.bz2 # PATCH-MISSING-TAG -- See http://wiki.opensuse.org/openSUSE:Packaging_Patches_guidelines Patch1: calc-2.12.3.3-no-rpath.patch BuildRequires: fdupes %description Calc is arbitrary precision C-like arithmetic system that is a calculator, an algorithm prototyper and mathematical research tool. Calc comes with a rich set of builtin mathematical and programmatic functions. %define libname libcalc2_12_4_3 %package -n %{libname} Summary: Arbitrary precision math library Group: System/Libraries %description -n %libname Part of the calc release consists of an arbitrary precision math link library. This link library is used by the calc program to perform its own calculations. If you wish, you can ignore the calc program entirely and call the arbitrary precision math routines from your own C programs. %package -n libcalc-devel Summary: Development files for libcalc Group: Development/Libraries/C and C++ %description -n libcalc-devel Part of the calc release consists of an arbitrary precision math link library. This link library is used by the calc program to perform its own calculations. If you wish, you can ignore the calc program entirely and call the arbitrary precision math routines from your own C programs. This package contains the files needed for building programs that use this library. %prep %setup -q %patch1 %build make EXTRA_CFLAGS="%{optflags}" HAVE_FPOS="-DHAVE_NO_FPOS" %install make T=%{buildroot} LIBDIR=%{_libdir} SCRIPTDIR=/usr/share/calc/cscript install %fdupes %{buildroot}%{_datadir}/calc/ %post -n %libname -p /sbin/ldconfig %postun -n %libname -p /sbin/ldconfig %files %defattr(-, root, root) %{_bindir}/calc %{_datadir}/calc %{_mandir}/man1/calc.1* %files -n %{libname} %defattr(-, root, root) %{_libdir}/*.so.* %files -n libcalc-devel %defattr(-, root, root) %{_includedir}/* %{_libdir}/*.so %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor