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

Jonathan G. Underwood (jgu) fedora-extras-commits at redhat.com
Mon Jun 5 19:50:29 UTC 2006


Author: jgu

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

Modified Files:
	.cvsignore sources 
Added Files:
	sunifdef.spec 
Log Message:
auto-import sunifdef-1.0.1-4 on branch devel from sunifdef-1.0.1-4.src.rpm


--- NEW FILE sunifdef.spec ---
Name: sunifdef           
Version: 1.0.1
Release: 4%{?dist}
Summary: A commandline tool for simplifying the preprocessor conditionals in source code       
Group: Development/Languages
License: BSD       
URL: http://www.sunifdef.strudl.org/
Source0: http://www.strudl.org/public/sunifdef/nix/stable/%{name}_v%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

%description
Sunifdef is a commandline tool for simplifying the preprocessor
conditionals in source code (\#if and related directives) based on the
the user's chosen interpretation of the preprocessor symbols. It is a
more powerful successor to the FreeBSD 'unifdef' tool.

Sunifdef is most useful to developers of constantly evolving products
with large code bases, where preprocessor conditionals are used to
configure the feature sets, APIs or implementations of different
releases. In these environments the code base steadily accumulates
\#ifdef-pollution as transient configuration options become
obselete. Sunifdef can largely automate the recurrent task of purging
redundant \#if-logic from the code.

%prep
%setup -q -n %{name}

find \( -name '*.c' -o -name '*.h' \) -exec chmod -x {} \;

%build
%configure
make %{?_smp_mflags}

%check
make check

%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root,-)
%doc AUTHORS LICENSE.BSD README ChangeLog
%{_bindir}/sunifdef
%{_mandir}/man1/sunifdef.1.gz

%changelog
* Mon Jun  5 2006 Jonathan G. Underwood <jonathan.underwood at gmail.com> - 1.0.1-4
- Update to version 1.0.1
- No need to remove build-bin and autom4te.cache with this release

* Sat Jun  3 2006 Jonathan G. Underwood <jonathan.underwood at gmail.com> - 1.0-3
- Move make check to a check section

* Fri Jun  2 2006 Jonathan G. Underwood <jonathan.underwood at gmail.com> - 1.0-2
- Clean up permissions on source files
- Remove prebuilt binary directory and automa4te.cache that are included in
tarball 
- Add make ceck to build
- Wrap description at 70 columns rather than 80

* Mon May 29 2006 Jonathan G. Underwood <jonathan.underwood at gmail.com> - 1.0-1
- Initial package



Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/sunifdef/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	5 Jun 2006 19:49:11 -0000	1.1
+++ .cvsignore	5 Jun 2006 19:50:29 -0000	1.2
@@ -0,0 +1 @@
+sunifdef_v1.0.1.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/sunifdef/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	5 Jun 2006 19:49:11 -0000	1.1
+++ sources	5 Jun 2006 19:50:29 -0000	1.2
@@ -0,0 +1 @@
+bebe912b720d9a672858c5886110442e  sunifdef_v1.0.1.tar.gz




More information about the fedora-extras-commits mailing list