rpms/unifdef/devel unifdef.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

David Woodhouse (dwmw2) fedora-extras-commits at redhat.com
Mon May 1 21:01:31 UTC 2006


Author: dwmw2

Update of /cvs/extras/rpms/unifdef/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv27767

Modified Files:
	.cvsignore sources 
Added Files:
	unifdef.spec 
Log Message:
initial import


--- NEW FILE unifdef.spec ---
Summary: Unifdef tool for removing ifdef'd lines
Name: unifdef
Version: 1.171
Release: 3%{?dist}
License: BSD
Group: Development/Languages
URL: http://www.freebsd.org/cgi/cvsweb.cgi/src/usr.bin/unifdef/
Source0: unifdef-1.171.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

%description
Unifdef is useful for removing ifdefed lines from a file while otherwise
leaving the file alone. Unifdef acts on #ifdef, #ifndef, #else, and #endif
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 CFLAGS="$RPM_OPT_FLAGS"

%install
rm -rf $RPM_BUILD_ROOT
install -d -m0755 $RPM_BUILD_ROOT%{_bindir}
install -p -m0755 unifdef $RPM_BUILD_ROOT%{_bindir}/unifdef
install -p -m0755 unifdefall.sh $RPM_BUILD_ROOT%{_bindir}/unifdefall.sh

install -d -m0755 $RPM_BUILD_ROOT%{_mandir}/man1
install -p -m0644 unifdef.1 $RPM_BUILD_ROOT%{_mandir}/man1/unifdef.1

%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root,-)
%{_bindir}/unifdef
%{_bindir}/unifdefall.sh
%{_mandir}/man1/unifdef.1.gz


%changelog
* Wed Apr 26 2006 David Woodhouse <dwmw2 at infradead.org> - 1.171-2
- Change BuildRoot

* Tue Apr 25 2006 David Woodhouse <dwmw2 at infradead.org> - 1.171-1
- Initial import from FreeBSD CVS



Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/unifdef/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	1 May 2006 20:53:46 -0000	1.1
+++ .cvsignore	1 May 2006 21:01:29 -0000	1.2
@@ -0,0 +1 @@
+unifdef-1.171.tar.bz2


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/unifdef/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	1 May 2006 20:53:46 -0000	1.1
+++ sources	1 May 2006 21:01:29 -0000	1.2
@@ -0,0 +1 @@
+657e97bab7cfed217f3a7c73fba9f1cb  unifdef-1.171.tar.bz2




More information about the fedora-extras-commits mailing list