libixion/libixion.spec

111 lines
3.1 KiB
RPMSpec

%define apiver %(echo %version | cut -d. -f1-2)
Name: libixion
Version: 0.11.1
Release: 1mamba
Summary: A general purpose formula parser and interpreter that can calculate multiple named targets, or “cells”
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://gitorious.org/ixion/pages/Home
Source: http://kohei.us/files/ixion/src/libixion-%{version}.tar.xz
Patch0: libixion-0.3.0-boost.m4.patch
Patch1: libixion-0.3.0-automake.patch
Patch2: libixion-0.5.0-libboost-1.52.patch
License: MIT
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libboost-devel
BuildRequires: libgcc
BuildRequires: libpython-devel
BuildRequires: libpython27-devel
BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Ixion is a general purpose formula parser & interpreter that can calculate multiple named targets, or “cells”.
%package devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
Requires: pkg-config
%description devel
This package contains libraries and header files for developing applications that use %{name}.
%package tools
Group: Applications/Publishing
Summary: Utility applications for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description tools
This package contains utility applications for %{name}.
%debug_package
%prep
%setup -q
#%patch0 -p1
#%patch1 -p1
#%patch2 -p1
%build
#./autogen.sh
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_libdir}/libixion-%{apiver}.so.*
%{python3_sitearch}/ixion.la
%{python3_sitearch}/ixion.so
%doc AUTHORS
%files devel
%defattr(-,root,root)
%dir %{_includedir}/libixion-%{apiver}/ixion
%{_includedir}/libixion-%{apiver}/ixion/*.hpp
%dir %{_includedir}/libixion-%{apiver}/ixion/interface
%{_includedir}/libixion-%{apiver}/ixion/interface/*.hpp
%{_libdir}/libixion-%{apiver}.la
%{_libdir}/libixion-%{apiver}.so
%{_libdir}/pkgconfig/libixion-%{apiver}.pc
%doc README
%files tools
%defattr(-,root,root)
%{_bindir}/ixion-parser
%{_bindir}/ixion-sorter
#%{_bindir}/ixion-test
%changelog
* Wed Jun 29 2016 Automatic Build System <autodist@mambasoft.it> 0.11.1-1mamba
- automatic version update by autodist
* Sun Jan 24 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.1-2mamba
- rebuilt with libboost 1.59
* Tue Aug 18 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.1-1mamba
- update to 0.9.1
* Sun Jul 27 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.7.0-1mamba
- update to 0.7.0
* Tue Feb 12 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 0.3.0.git20130212-1mamba
- update to 0.3.0.git20130212
* Tue Feb 12 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 0.3.0-1mamba
- package created by silvan using the webbuild interface