File tud-dice.spec of Package tud-dice

# norootforbuild

Name:           tud-dice
BuildRequires:  l4-base
Version:        1811
Release:        3
License:        GPL
BuildRequires:  bison doxygen flex gcc-c++
Group:          Development
Requires:       l4-base
Summary:        DICE
Source:         tud-l4env-snapshot-%version.tar.bz2

BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
The DICE project is an IDL compiler, which translates interface definitions of components into communication code for L4 micro-kernels. These components (or servers if you like) run on top of the L4 micro-kernel and shall build the Dresden Real-Time Operating System (DROPS) - that's where DICE is derived from: Dresden IDL Compiler. It currently supports two IDL languages (DCE and CORBA IDL) and generates communication code for L4 versions L4.Fiasco and V2.

%changelog -n tud-dice
* Thu Jun 03 2009 - opentc@os.inf.tu-dresden.de
- update to source of svn version 1811
* Thu May 07 2009 - opentc@os.inf.tu-dresden.de
- update to source of svn version 1731
* Tue Apr 21 2009 - opentc@os.inf.tu-dresden.de
- update to source of svn version 1635
- makes ECHO patch obsolete
* Mon Apr 07 2009 - opentc@os.inf.tu-dresden.de
- patch to workaround missing ECHO variable
- newer autoconf versions seem to not provide this anymore
* Mon Apr 06 2009 - opentc@os.inf.tu-dresden.de
- create package to be used for VDC Demo

%package devel
Group:          Development
Summary:        DICE includes

%description devel
Contains all includes to compile with the DICE generated code.

%prep
%setup -q -n tud-l4env-snapshot-%version


%build
cd dice
autoreconf -fi
export CFLAGS="%optflags"
export CXXFLAGS="%optflags"
./configure \
	--prefix=%l4_prefix \
	--libdir=%_libdir
#%l4_libdir
make %{?jobs:-j%jobs}

%install
cd dice
make install DESTDIR=%buildroot

%files
%defattr(-, root, root)
%l4_bindir/*
%dir %_libdir/dice
%_libdir/dice/*.so
%_libdir/dice/*.so.*
#%l4_libdir
%l4_mandir/man1/dice.1*

%files devel
%defattr(-, root, root)
%l4_includedir/dice
%_libdir/dice/*.a
%_libdir/dice/*.la



openSUSE Build Service is sponsored by