File preprocess.spec of Package l4-preprocess
Name: preprocess
BuildRequires: l4-base
License: GPL
Version: 820
Release: 1
Summary: A preprocessor for C and C++ modules
Group: L4
Requires: l4-base
Source: tud-l4env-snapshot-%version.tar.bz2
#BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Do you hate writing C or C++ header files?
Do you always forget where to place those inline, virtual, static, and explicit modifiers -- to the member-function definition or declaration?
Do you often find yourself avoiding to factor out a new method because you also need to add a method declaration to the class declaration in the header file?
Do you hate putting inline function into header files, in a special order?
If so, Preprocess may be your answer. With this tool, you write unit-style single-source-file modules in C++, from which it automatically generates header and implementation files.
%prep
%setup -q -n tud-l4env-snapshot-%version
%install
install -d -m755 %buildroot%l4_prefix/tool/bin
install -m755 tools/preprocess/src/preprocess %buildroot%l4_prefix/tool/bin/preprocess
%files
%defattr(-, root, root)
%l4_prefix/tool
%l4_prefix/tool/bin/preprocess
%build
%changelog
* Mon Apr 06 2009 - opentc@os.inf.tu-dresden.de
- setup preprocess tool of TUD:OS snapshot