Author: qboosh Date: Sat Mar 17 06:00:40 2012 GMT Module: packages Tag: HEAD ---- Log message: - new
---- Files affected: packages/ixion: ixion.spec (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: packages/ixion/ixion.spec diff -u /dev/null packages/ixion/ixion.spec:1.1 --- /dev/null Sat Mar 17 07:00:41 2012 +++ packages/ixion/ixion.spec Sat Mar 17 07:00:35 2012 @@ -0,0 +1,126 @@ +# $Revision$, $Date$ +# +# Conditional build: +%bcond_without static_libs # static library +# +Summary: Generic formula compulation library +Summary(pl.UTF-8): Ogólna biblioteka do obliczania wzorów +Name: ixion +Version: 0.2.0 +Release: 1 +License: MIT +Group: Libraries +Source0: http://dev-www.libreoffice.org/src/%{name}-%{version}.tar.gz +# Source0-md5: 0f63ee487fda8f21fafa767b3c447ac9 +URL: http://kohei.us/2010/06/21/ixion-threaded-formula-calculation-library/ +BuildRequires: boost-devel >= 1.36 +BuildRequires: libstdc++-devel +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +Ixion aims to provide a library for calculating the results of formula +expressions stored in multiple named targets, or "cells". The cells +can be referenced from each other, and the library takes care of +resolving their dependencies automatically upon calculation. The +caller can run the calculation routine either in a single-threaded +mode, or a multi-threaded mode. The library also supports +re-calculation where the contents of one or more cells have been +modified since the last calculation, and a partial calculation of only +the affected cells gets performed. It is written entirely in C++, and +makes extensive use of the boost library to achieve portability across +different platforms. + +%description -l pl.UTF-8 +Projekt Ixion ma na celu dostarczenie biblioteki do obliczania wyników +wyrażeń określonych wzorami zapisanymi w wielu nazwanych miejscach - +"komórkach". Komórki mogą odwoływać się do siebie nawzajem, a +biblioteka dba o automatyczne rozwiązywanie ich zależności przy +obliczeniach. Procedura obliczająca może być wywołana w trybie +jednowątkowym lub wielowątkowym. Biblioteka obsługuje także ponowne +przeliczanie w przypadku zmiany zawartości jednej lub większej liczby +komórek od poprzednich obliczeń; wykonywane jest tylko przeliczanie +komórek, których zmiana dotyczy. Biblioteka jest napisana całkowicie w +C++ i intensywnie wykorzystuje bibliotekę boost, aby osiągnąć +przenośność na wiele platform. + +%package devel +Summary: Development files for ixion +Summary(pl.UTF-8): Pliki nagłówkowe dla ixion +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} +Requires: boost-devel >= 1.36 +Requires: libstdc++-devel + +%description devel +This package contains the header files for developing applications +that use ixion. + +%description devel -l pl.UTF-8 +Pen pakiet zawiera pliki nagłówkowe do tworzenia aplikacji opartych na +ixion. + +%package static +Summary: Static ixion library +Summary(pl.UTF-8): Statyczna biblioteka ixion +Group: Development/Libraries +Requires: %{name}-devel = %{version}-%{release} + +%description static +Static ixion library. + +%description static -l pl.UTF-8 +Statyczna biblioteka ixion. + +%prep +%setup -q + +%build +%configure \ + %{!?with_static_libs:--disable-static} + +%{__make} + + +%install +rm -rf $RPM_BUILD_ROOT +%{__make} install \ + DESTDIR=$RPM_BUILD_ROOT + +# obsoleted by pkg-config +%{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la + +%clean +rm -rf $RPM_BUILD_ROOT + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files +%defattr(644,root,root,755) +%doc AUTHORS COPYING ChangeLog README +%attr(755,root,root) %{_bindir}/ixion-parser +%attr(755,root,root) %{_bindir}/ixion-sorter +%attr(755,root,root) %{_libdir}/libixion-0.2.so.*.*.* +%attr(755,root,root) %ghost %{_libdir}/libixion-0.2.so.0 + +%files devel +%defattr(644,root,root,755) +%attr(755,root,root) %{_libdir}/libixion-0.2.so +%{_includedir}/libixion-0.2 +%{_pkgconfigdir}/ixion-0.2.pc + +%if %{with static_libs} +%files static +%defattr(644,root,root,755) +%{_libdir}/libixion-0.2.a +%endif + +%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) +%changelog +* %{date} PLD Team <[email protected]> +All persons listed below can be reached at <cvs_login>@pld-linux.org + +$Log$ +Revision 1.1 2012/03/17 06:00:35 qboosh +- new + ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
