head 1.13;
access;
symbols
OPENPKG_E1_MP:1.3
OPENPKG_E1_MP_HEAD:1.3;
locks; strict;
comment @-- @;
1.13
date 2009.12.24.21.11.44; author rse; state Exp;
branches;
next 1.12;
commitid eBgi9QeijZlXFFgu;
1.12
date 2009.10.01.21.08.41; author rse; state Exp;
branches;
next 1.11;
commitid uQJrnGBO1RJjmS5u;
1.11
date 2009.06.14.17.42.20; author rse; state Exp;
branches;
next 1.10;
commitid 8moMeqQfjdmKIQRt;
1.10
date 2009.04.18.13.10.38; author rse; state Exp;
branches;
next 1.9;
commitid 4pHXU27WTIGCZuKt;
1.9
date 2008.04.27.07.13.17; author rse; state Exp;
branches;
next 1.8;
commitid pChRdN5iBbE0wI0t;
1.8
date 2008.01.14.18.36.44; author rse; state Exp;
branches;
next 1.7;
commitid xerQPXUWM5KJDpNs;
1.7
date 2008.01.01.14.54.21; author rse; state Exp;
branches;
next 1.6;
commitid B8esaHJHoduuKILs;
1.6
date 2007.08.04.18.17.28; author rse; state Exp;
branches;
next 1.5;
commitid yUXvgxnNs0YXLsss;
1.5
date 2007.07.03.15.35.32; author cs; state Exp;
branches;
next 1.4;
commitid JXBwvD3a3MIbUkos;
1.4
date 2007.01.18.17.57.36; author cs; state Exp;
branches;
next 1.3;
commitid Nw5ho1aOob2L113s;
1.3
date 2007.01.03.09.06.26; author rse; state Exp;
branches;
next 1.2;
commitid tH3nbrUHq79qz21s;
1.2
date 2007.01.01.17.38.04; author rse; state Exp;
branches;
next 1.1;
commitid BicZD6VUl7GuqP0s;
1.1
date 2006.12.10.15.32.42; author rse; state Exp;
branches;
next ;
commitid VudBnCcrd5tLtZXr;
desc
@@
1.13
log
@upgrading package: gengetopt 2.22.3 -> 2.22.4
@
text
@##
## gengetopt.spec -- OpenPKG RPM Package Specification
## Copyright (c) 2000-2009 OpenPKG Foundation e.V.
##
## Permission to use, copy, modify, and distribute this software for
## any purpose with or without fee is hereby granted, provided that
## the above copyright notice and this permission notice appear in all
## copies.
##
## THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
## WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
## MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
## IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR
## CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
## USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
## ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
## OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
## OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
## SUCH DAMAGE.
##
# package information
Name: gengetopt
Summary: GNU Option Parsing Generator
URL: http://www.gnu.org/software/gengetopt/
Vendor: Roberto Arturo Tena Sanchez, Lorenzo Bettini
Packager: OpenPKG Foundation e.V.
Distribution: OpenPKG Community
Class: EVAL
Group: CompilerCompiler
License: GPL
Version: 2.22.4
Release: 20091224
# list of sources
Source0: ftp://ftp.gnu.org/gnu/gengetopt/gengetopt-%{version}.tar.gz
Patch0: gengetopt.patch
# build information
Prefix: %{l_prefix}
BuildRoot: %{l_buildroot}
BuildPreReq: OpenPKG, openpkg >= 20040130, flex, bison, make, gcc, gcc::with_cxx = yes
PreReq: OpenPKG, openpkg >= 20040130
AutoReq: no
AutoReqProv: no
%description
GNU gengetopt generates a C function that uses the "getopt_long" GNU
function to parse the command line options of a program, to validate
them and fills a C "struct".
%track
prog gengetopt = {
version = %{version}
url = ftp://ftp.gnu.org/gnu/gengetopt/
regex = gengetopt-(__VER__)\.tar\.gz
}
%prep
%setup -q
%patch -p0
%build
CC="%{l_cc}" \
CXX="%{l_cxx}" \
CFLAGS="%{l_cflags -O}" \
CXXFLAGS="%{l_cxxflags -O}" \
CPPFLAGS="%{l_cppflags}" \
LDFLAGS="%{l_ldflags}" \
./configure \
--prefix=%{l_prefix} \
--docdir=%{l_prefix}/share/gengetopt \
--infodir=%{l_prefix}/info \
--mandir=%{l_prefix}/man
%{l_make} %{l_mflags}
%install
rm -rf $RPM_BUILD_ROOT
%{l_make} %{l_mflags} install AM_MAKEFLAGS="DESTDIR=$RPM_BUILD_ROOT"
strip $RPM_BUILD_ROOT%{l_prefix}/bin/* >/dev/null 2>&1 || true
rm -f $RPM_BUILD_ROOT%{l_prefix}/info/dir
rm -rf $RPM_BUILD_ROOT%{l_prefix}/share/doc
%{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT \
%{l_files_std} \
'%doc %{l_prefix}/share/gengetopt/*.html'
%files -f files
%clean
rm -rf $RPM_BUILD_ROOT
@
1.12
log
@upgrading package: gengetopt 2.22.2 -> 2.22.3
@
text
@d34 2
a35 2
Version: 2.22.3
Release: 20091001
@
1.11
log
@upgrading package: gengetopt 2.22.1 -> 2.22.2
@
text
@d34 2
a35 2
Version: 2.22.2
Release: 20090614
@
1.10
log
@bump years in copyright messages
@
text
@d34 2
a35 2
Version: 2.22.1
Release: 20080427
@
1.9
log
@upgrading package: gengetopt 2.22 -> 2.22.1
@
text
@d3 1
a3 1
## Copyright (c) 2000-2008 OpenPKG Foundation e.V.
@
1.8
log
@upgrading package: gengetopt 2.21 -> 2.22
@
text
@d34 2
a35 2
Version: 2.22
Release: 20080114
@
1.7
log
@Update package specifications according to OpenPKG year 2008 world order:
http://www.mail-archive.com/openpkg-announce@@openpkg.org/msg00221.html
@
text
@d34 2
a35 2
Version: 2.21
Release: 20080101
@
1.6
log
@upgrading package: gengetopt 2.20 -> 2.21
@
text
@d3 1
a3 2
## Copyright (c) 2000-2007 OpenPKG Foundation e.V.
## Copyright (c) 2000-2007 Ralf S. Engelschall
d35 1
a35 1
Release: 20070804
@
1.5
log
@upgrading package: gengetopt 2.19.1 -> 2.20
@
text
@d35 2
a36 2
Version: 2.20
Release: 20070703
@
1.4
log
@upgrading package: gengetopt 2.19 -> 2.19.1
@
text
@d35 2
a36 2
Version: 2.19.1
Release: 20070118
@
1.3
log
@upgrading package: gengetopt 2.18 -> 2.19
@
text
@d35 2
a36 2
Version: 2.19
Release: 20070103
@
1.2
log
@Welcome Year 2007!
@
text
@d35 2
a36 2
Version: 2.18
Release: 20061210
@
1.1
log
@new package: gengetopt 2.18 (GNU Option Parsing Generator)
@
text
@d3 2
a4 2
## Copyright (c) 2000-2006 OpenPKG Foundation e.V.
## Copyright (c) 2000-2006 Ralf S. Engelschall
@