# # spec file for package libixion-0_6-0 # # 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/ # %define _corename libixion %define _ver 0.5.0 %define _pkgname %{_corename}-%{_ver} %define _apiver 0.6 %define _libname %{_corename}-%{_apiver} Name: %{_corename}-0_6-0 Version: %{_ver} Release: 0 Summary: Threaded multi-target formula parser & interpreter License: X11 Group: Development/Libraries/C and C++ Url: http://gitorious.org/ixion Source: %{_pkgname}.tar.bz2 Patch0: boost-fix.patch BuildRequires: autoconf >= 2.63 BuildRequires: automake BuildRequires: coreutils BuildRequires: gcc-c++ BuildRequires: libstdc++-devel BuildRequires: libtool BuildRequires: mdds-devel >= 0.7.1 BuildRequires: pkg-config BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Ixion is a general purpose formula parser & interpreter that can calculate multiple named targets, or "cells". %package devel Summary: Threaded multi-target formula parser & interpreter Group: Development/Libraries/C and C++ %description devel Ixion is a general purpose formula parser & interpreter that can calculate multiple named targets, or "cells". %prep %setup -q -n %{_pkgname} %patch0 -p1 %build autoreconf -fi %configure \ --disable-static make %{?_smp_mflags} %check make check %install make DESTDIR=%{buildroot} install rm %{buildroot}%{_bindir}/ixion-test rm %{buildroot}%{_libdir}/%{_libname}.la %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root) %{_bindir}/ixion-parser %{_bindir}/ixion-sorter %{_libdir}/%{_libname}.so.* %files devel %defattr(-,root,root) %{_includedir}/%{_libname} %{_libdir}/%{_libname}.so %{_libdir}/pkgconfig/%{_libname}.pc %changelog