libixion/libixion.spec

98 lines
2.7 KiB
RPMSpec
Raw Normal View History

Name: libixion
Version: 0.3.0.git20130212
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
# version 0.5.0 created from git
Source: http://kohei.us/files/ixion/src/libixion-%{version}.tar.bz2
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: 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-0.6.so.*
%doc AUTHORS COPYING
%files devel
%defattr(-,root,root)
%dir %{_includedir}/libixion-0.6/ixion
%{_includedir}/libixion-0.6/ixion/*.hpp
%dir %{_includedir}/libixion-0.6/ixion/interface
%{_includedir}/libixion-0.6/ixion/interface/*.hpp
%dir %{_includedir}/libixion-0.6/ixion/hash_container
%{_includedir}/libixion-0.6/ixion/hash_container/*.hpp
%{_libdir}/libixion-0.6.a
%{_libdir}/libixion-0.6.la
%{_libdir}/libixion-0.6.so
%{_libdir}/pkgconfig/libixion-0.6.pc
%doc README
%files tools
%defattr(-,root,root)
%{_bindir}/ixion-parser
%{_bindir}/ixion-sorter
%{_bindir}/ixion-test
%changelog
* 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