LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File cec.spec of Package cec (Project home:dilawar)

# spec file for package cec
%define debug_package %{nil}
Name: cec
Group: Productivity/Scientific/Electronics
Summary: Columbia Esterel Compiler

Version: 0.4.1
Release: 1%{?dist}
Url: http://github.com/dilawar/cec
Source0: cec-%{version}.tar.gz

License: GPL-3.0

BuildRequires: gcc, gcc-c++, cmake
%if 0%{?fedora}
BuildRequires: expat-devel 
BuildRequires: libexpat-devel

%description -n cec
The Columbia Esterel Compiler is an open-source compiler designed for research in both hardware and software generation from the Esterel synchronous language. 

%setup -q

cmake \
    -DCMAKE_INSTALL_PREFIX=%{buildroot}/usr \
    -DCMAKE_CXX_FLAGS=%optflags \
    -DCMAKE_BUILD_TYPE="Release|RelWithDebugInfo" \

make VERBOSE=1 %{?_smp_mflags}

make install