%define date1 2008-07-04 %define date2 20080704 Name: mozart Version: 1.4.0.20080704 Release: 1%{?dist} Summary: An efficient and distributed implementation of Oz Group: Development/Languages License: MIT URL: http://www.mozart-oz.org/ Source0: http://www.mozart-oz.org/download/mozart-ftp/store/1.4.0-2008-07-02-tar/mozart-1.4.0.20080704-src.tar.gz #Source0: http://www.mozart-oz.org/download/mozart-ftp/store/%{version}-%{date1}-tar/%{name}-%{version}-src.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: /sbin/ldconfig Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig %description The Mozart system provides state-of-the-art support in two areas: open distributed computing and constraint-based inference. Mozart implements Oz, a concurrent object-oriented language with dataflow synchronization. Oz combines concurrent and distributed programming with logical constraint- based inference, making it a unique choice for developing multi-agent systems. Mozart is an ideal platform for both general-purpose distributed applications as well as for hard problems requiring sophisticated optimization and inferencing abilities. We have developed applications in scheduling and time-tabling, in placement and configuration, in natural language and knowledge representation, multi-agent systems and sophisticated collaborative tools. %package devel Summary: Development files for %{name} Group: Development/Libraries Requires: %{name} = %{version}-%{release} Requires: pkgconfig %description devel The %{name}-devel package contains libraries and header files for developing applications that use %{name}. %prep %setup -q %build %configure make %{?_smp_mflags} %install rm -rf %{buildroot} make install DESTDIR=%{buildroot} INSTALL="install -p" find %{buildroot} -name '*.la' -exec rm -f {} ';' %clean rm -rf %{buildroot} %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root,-) %doc LICENSE* README %{_bindir}/%{name} %{_bindir}/%{name}tool %{_libdir}/lib*.so.* %files devel %defattr(-,root,root,-) %{_includedir}/%{name}/ %{_libdir}/lib*.so %{_datadir}/aclocal/* %changelog * Mon Jan 12 2009 Fabian Affolter - 1.4.0-1 - Initial package for Fedora