Name: unifdef Version: 2.12 Release: 1mamba Summary: A useful tool for removing #ifdef'ed lines from a file Group: Development/Tools Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://dotat.at/prog/unifdef/ Source: http://dotat.at/prog/unifdef/unifdef-%{version}.tar.gz License: BSD ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel ## AUTOBUILDREQ-END BuildRoot: %{_tmppath}/%{name}-%{version}-root %description Unifdef is useful for removing #ifdef'ed lines from a file while otherwise leaving the file alone. You specify which symbols are defined or undefined with -D and -U flags, and unifdef removes the corresponding ifdefs, and the enclosed code if appropriate. It's especially useful for removing those "#ifdef BROKEN" and "#ifdef PRIVATE" clauses from code before you release it. Unifdef acts on #ifdef, #ifndef, #else, and #enĀ­ dif lines, and it knows only enough about C and C++ to know when one of these is inactive because it is inside a comment, or a single or double quote. %prep %setup -q %build %make %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall prefix=%{_prefix} %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %files %defattr(-,root,root) %{_bindir}/unifdef %{_bindir}/unifdefall %{_mandir}/man1/unifdef.* %{_mandir}/man1/unifdefall.* %doc Changelog COPYING README %changelog * Thu Mar 12 2020 Automatic Build System 2.12-1mamba - automatic version update by autodist * Sun Oct 22 2017 Automatic Build System 2.11.23.1cca442-1mamba - automatic update by autodist * Fri Dec 18 2015 Automatic Build System 2.11-1mamba - automatic update by autodist * Tue Feb 18 2014 Automatic Build System 2.10-1mamba - automatic update by autodist * Fri Jun 07 2013 Automatic Build System 2.9-1mamba - automatic version update by autodist * Tue May 14 2013 Automatic Build System 2.8-1mamba - automatic version update by autodist * Sun Mar 31 2013 Automatic Build System 2.7-1mamba - automatic version update by autodist * Wed Feb 23 2011 Automatic Build System 2.6-1mamba - automatic update by autodist * Sat Jan 29 2011 Automatic Build System 2.5-1mamba - automatic update by autodist * Sun Oct 17 2010 Davide Madrisan 2.4-1mamba - update to 2.4 - update URL and Source locations * Fri Mar 30 2007 Silvan Calarco 1.0-2mamba - added more up-to-date code from freebsd * Fri Mar 30 2007 Silvan Calarco 1.0-1mamba - package created by autospec