Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
openSUSE:Evergreen:11.2:Test
unifdef
unifdef.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File unifdef.spec of Package unifdef
# # spec file for package unifdef (Version 1.0) # # Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: unifdef License: BSD 3-Clause Group: Development/Libraries/C and C++ Summary: Removes ifdefs from C files Version: 1.0 Release: 142 Source: http://www.cs.cmu.edu/~ajw/dist/unifdef-1.0.tar.gz Patch: unifdef-codecleanup.diff Source1: Makefile.am Source2: configure.ac BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Unifdef is useful for removing ifdef'ed 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 to know when one of these is inactive because it is inside a comment, or a single or double quote. %prep %setup -q rm -f Makefile unifdef *.o cp %{S:1} %{S:2} . %patch %build autoreconf -fi export CFLAGS="$RPM_OPT_FLAGS -W -Wall" ./configure --prefix=/usr --mandir=%{_mandir} make %install make DESTDIR=%{buildroot} install %files %defattr(-,root,root) %{_bindir}/unifdef %{_mandir}/man1/unifdef.1* %doc LICENSE README unifdef.1 %changelog * Fri Feb 16 2007 pth@suse.de - Redo cleanup patch to get unifdef working again. * Fri Sep 29 2006 pth@suse.de - Remove nasm from BuildRequires. * Wed Jan 25 2006 mls@suse.de - converted neededforbuild to BuildRequires * Mon Nov 07 2005 pth@suse.de - Fix defattr * Sat Nov 05 2005 dmueller@suse.de - fix filelist * Wed Nov 02 2005 dmueller@suse.de - don't build as root * Fri Jan 07 2005 pth@suse.de - Initial package creation - clean up the code. - autoconfiscate the package
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor