automatic update by autodist [release 2.10-1mamba;Tue Feb 18 2014]
This commit is contained in:
parent
856c1fd721
commit
7d4e1282d8
@ -1,2 +1,7 @@
|
||||
# unifdef
|
||||
|
||||
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.
|
||||
|
||||
|
71
unifdef.spec
Normal file
71
unifdef.spec
Normal file
@ -0,0 +1,71 @@
|
||||
Name: unifdef
|
||||
Version: 2.10
|
||||
Release: 1mamba
|
||||
Summary: A useful tool for removing #ifdef'ed lines from a file
|
||||
Group: Development/Tools
|
||||
Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
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
|
||||
* Tue Feb 18 2014 Automatic Build System <autodist@mambasoft.it> 2.10-1mamba
|
||||
- automatic update by autodist
|
||||
|
||||
* Fri Jun 07 2013 Automatic Build System <autodist@mambasoft.it> 2.9-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Tue May 14 2013 Automatic Build System <autodist@mambasoft.it> 2.8-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Sun Mar 31 2013 Automatic Build System <autodist@mambasoft.it> 2.7-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Wed Feb 23 2011 Automatic Build System <autodist@mambasoft.it> 2.6-1mamba
|
||||
- automatic update by autodist
|
||||
|
||||
* Sat Jan 29 2011 Automatic Build System <autodist@mambasoft.it> 2.5-1mamba
|
||||
- automatic update by autodist
|
||||
|
||||
* Sun Oct 17 2010 Davide Madrisan <davide.madrisan@gmail.com> 2.4-1mamba
|
||||
- update to 2.4
|
||||
- update URL and Source locations
|
||||
|
||||
* Fri Mar 30 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0-2mamba
|
||||
- added more up-to-date code from freebsd
|
||||
|
||||
* Fri Mar 30 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0-1mamba
|
||||
- package created by autospec
|
Loading…
Reference in New Issue
Block a user