File posix_cc.spec of Package posix_cc
#
# spec file for package posix_cc (Version 1.4)
#
# Copyright (c) 2004 SuSE Linux AG, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://www.suse.de/feedback/
#
# norootforbuild
# usedforbuild aaa_base acl attr bash bind-utils bison bzip2 coreutils cpio cpp cvs cyrus-sasl db devs diffutils e2fsprogs file filesystem fillup findutils flex gawk gdbm-devel glibc glibc-devel glibc-locale gpm grep groff gzip info insserv kbd less libacl libattr libgcc libstdc++ libxcrypt m4 make man mktemp modutils ncurses ncurses-devel net-tools netcfg openldap2-client openssl pam pam-devel pam-modules patch permissions popt ps rcs readline sed sendmail shadow strace syslogd sysvinit tar texinfo timezone unzip util-linux vim zlib zlib-devel autoconf automake binutils cracklib gcc gdbm gettext libtool perl rpm
Name: posix_cc
Summary: POSIX 1003.2 and 1003.1 2001 C Language Compilers
Version: 1.4
Release: 303
License: BSD
Group: Development/Languages/C and C++
Source: %{name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
c89 is the name of the C language compiler as required by the POSIX
1003.2 standard, while c99 is the name required by the POSIX 1003.1
2001 standard. Both are actually wrappers for gcc, passing it the
options required to make it conform to said standards in addition to
the options passed via the command line.
Both will only accept those options mandated by the respective
standards.
Authors:
--------
Jens Schweikhardt
%prep
%setup
%{?suse_update_config:%{suse_update_config -f}}
%build
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr --mandir=%{_mandir} --infodir=%{_infodir}
%install
make DESTDIR=$RPM_BUILD_ROOT install
%clean
rm -rf ${RPM_BUILD_ROOT}
%files
%defattr(-, root, root)
/usr/bin/c89
/usr/bin/c99
%{_mandir}/man1/c89.1.gz
%{_mandir}/man1/c99.1.gz
%changelog -n posix_cc
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Sun Jan 11 2004 - adrian@suse.de
- build as user
* Wed Dec 12 2001 - pthomas@suse.de
- Initial package creation based on c89.c from the
FreeBSD CVS.
- Add a c99 for POSIX 1003.1 2001 conformance
including a matching man page.
- Call /usr/bin/gcc and not /usr/bin/cc as the latter
could point to a Compiler other then gcc.