5 Summary: Removes ifdefs from C files
6 Url: http://dotat.at/prog/unifdef/
7 Group: Development/Tools
8 Source: http://dotat.at/prog/unifdef/%{name}-%{version}.tar.gz
9 Source1001: unifdef.manifest
12 Unifdef is useful for removing ifdef'ed lines from a file while otherwise
13 leaving the file alone. Unifdef acts on #ifdef, #ifndef, #else, and #enĀ
14 dif lines, and it knows only enough about C to know when one of these is
15 inactive because it is inside a comment, or a single or double quote.
19 url = http://dotat.at/prog/unifdef/
21 regex = %{name}-(__VER__)\.tar\.gz
29 make %?_smp_mflags CC=gcc CFLAGS="%{optflags}"
32 make install DESTDIR=%{buildroot} prefix=%{_prefix}
35 %manifest %{name}.manifest
39 %{_mandir}/man1/unifdef.1*
40 %{_mandir}/man1/unifdefall.1*