head 1.18;
access;
symbols
OPENPKG_E1_MP_HEAD:1.14
OPENPKG_E1_MP:1.14
OPENPKG_E1_MP_2_STABLE:1.12.2.2
OPENPKG_E1_FP:1.12.2.2
OPENPKG_2_STABLE_MP:1.12
OPENPKG_2_STABLE_20061018:1.12.2.2
OPENPKG_2_STABLE:1.12.0.2;
locks; strict;
comment @-- @;
1.18
date 2009.05.17.09.32.32; author rse; state dead;
branches;
next 1.17;
commitid 4aXKQHspCSkvUcOt;
1.17
date 2009.04.18.13.10.19; author rse; state Exp;
branches;
next 1.16;
commitid 4pHXU27WTIGCZuKt;
1.16
date 2008.01.01.14.53.51; author rse; state Exp;
branches;
next 1.15;
commitid B8esaHJHoduuKILs;
1.15
date 2007.08.03.08.20.57; author rse; state Exp;
branches;
next 1.14;
commitid Co21ppmCEJ9kvhss;
1.14
date 2007.01.01.17.37.52; author rse; state Exp;
branches;
next 1.13;
commitid BicZD6VUl7GuqP0s;
1.13
date 2006.12.12.17.59.10; author rse; state Exp;
branches;
next 1.12;
commitid jwXRxsAZSn72egYr;
1.12
date 2006.10.13.17.28.02; author thl; state Exp;
branches
1.12.2.1;
next 1.11;
commitid q5GSxzsSDX29XxQr;
1.11
date 2006.09.23.11.08.54; author rse; state Exp;
branches;
next 1.10;
commitid rN24oRqp9lUFwWNr;
1.10
date 2006.09.23.08.05.05; author rse; state Exp;
branches;
next 1.9;
commitid xuXRimYzXUeEvVNr;
1.9
date 2006.01.06.20.00.41; author rse; state Exp;
branches;
next 1.8;
commitid ZKk6hDrDYVmiPzgr;
1.8
date 2006.01.01.13.13.35; author rse; state Exp;
branches;
next 1.7;
commitid otZG8yKMCw1JFTfr;
1.7
date 2005.10.12.17.47.47; author rse; state Exp;
branches;
next 1.6;
1.6
date 2005.08.23.07.22.59; author rse; state Exp;
branches;
next 1.5;
1.5
date 2005.08.13.08.20.37; author rse; state Exp;
branches;
next 1.4;
1.4
date 2005.03.30.10.30.57; author ms; state Exp;
branches;
next 1.3;
1.3
date 2005.03.30.09.32.27; author ms; state Exp;
branches;
next 1.2;
1.2
date 2005.03.29.16.56.43; author rse; state Exp;
branches;
next 1.1;
1.1
date 2005.03.27.19.12.28; author rse; state Exp;
branches;
next ;
1.12.2.1
date 2006.10.13.17.28.02; author rse; state dead;
branches;
next 1.12.2.2;
commitid iZxwRSmmWscPXUQr;
1.12.2.2
date 2006.10.16.14.50.00; author rse; state Exp;
branches;
next ;
commitid iZxwRSmmWscPXUQr;
desc
@@
1.18
log
@remove commercial tool from public repository
@
text
@##
## flexelint.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: flexelint
Summary: Flexible C/C++ Lint
URL: http://www.gimpel.com/html/flex.htm
Vendor: Gimpel Software
Packager: OpenPKG Foundation e.V.
Distribution: OpenPKG Community
Class: EVAL
Group: Debugging
License: Commercial
Version: 8.00w
Release: 20080101
# list of sources
Source0: http://www.gimpel.com/::/flexelint-%{version}.tar.gz
Source1: http://www.gimpel.com/html/pub80/env-xml.lnt
Source2: http://www.gimpel.com/html/pub80/lib-nstd.lnt
Source3: flexelint.sh
Source4: flexelint.lnt
Source5: flexelint.txt
%NoSource 0
# build information
Prefix: %{l_prefix}
BuildRoot: %{l_buildroot}
BuildPreReq: OpenPKG, openpkg >= 20040130
PreReq: OpenPKG, openpkg >= 20040130
AutoReq: no
AutoReqProv: no
%description
FlexeLint is a flexible C/C++ source code checker. It thoroughly
checks C/C++ source code for bugs, glitches, inconsistencies,
unportable constructs, and much more.
%track
prog flexelint = {
comment = "rse: commercial product, no direct download possible"
version = %{version}
url = http://www.gimpel.com/html/ptch80.htm
regex = to\s+(8.00[a-z])
}
%prep
%setup -q
# fixup directory permissions, so RPM can remove the files later on
find . -type d -print | xargs chmod u+w
%build
# build program from obfuscated source code
( cd src
%{l_cc} %{l_cflags -O} -I. -o flexelint *.c
) || exit $?
%install
# create installation hierarchy
rm -rf $RPM_BUILD_ROOT
%{l_shtool} mkdir -f -p -m 755 \
$RPM_BUILD_ROOT%{l_prefix}/bin \
$RPM_BUILD_ROOT%{l_prefix}/etc/flexelint \
$RPM_BUILD_ROOT%{l_prefix}/libexec/flexelint \
$RPM_BUILD_ROOT%{l_prefix}/include/flexelint \
$RPM_BUILD_ROOT%{l_prefix}/share/flexelint/doc \
$RPM_BUILD_ROOT%{l_prefix}/share/flexelint/lnt \
$RPM_BUILD_ROOT%{l_prefix}/man/cat1
# install program and run-time wrapper
%{l_shtool} install -c -s -m 755 \
src/flexelint $RPM_BUILD_ROOT%{l_prefix}/libexec/flexelint/
%{l_shtool} install -c -m 755 %{l_value -s -a} \
%{SOURCE flexelint.sh} $RPM_BUILD_ROOT%{l_prefix}/bin/flexelint
# install minimum manual page and reference document
%{l_shtool} install -c -m 644 %{l_value -s -a} \
%{SOURCE flexelint.txt} $RPM_BUILD_ROOT%{l_prefix}/man/cat1/flexelint.1
%{l_shtool} install -c -m 644 \
flex.pdf $RPM_BUILD_ROOT%{l_prefix}/share/flexelint/doc/flexelint.pdf
# install default configuration
%{l_shtool} install -c -m 644 %{l_value -s -a} \
%{SOURCE flexelint.lnt} $RPM_BUILD_ROOT%{l_prefix}/etc/flexelint/
# install additional prepared configurations
( cd supp
cp -r ansi posix $RPM_BUILD_ROOT%{l_prefix}/include/flexelint/
%{l_shtool} install -c -m 644 \
generic/co.lnt $RPM_BUILD_ROOT%{l_prefix}/share/flexelint/lnt/co-generic.lnt
%{l_shtool} install -c -m 644 \
linux/co-gnu3.lnt $RPM_BUILD_ROOT%{l_prefix}/share/flexelint/lnt/co-gcc.lnt
%{l_shtool} install -c -m 644 \
sun/co-sun6.lnt $RPM_BUILD_ROOT%{l_prefix}/share/flexelint/lnt/co-sun.lnt
%{l_shtool} install -c -m 644 \
hp/co-hpacc.lnt $RPM_BUILD_ROOT%{l_prefix}/share/flexelint/lnt/co-hpacc.lnt
%{l_shtool} install -c -m 644 \
unix/co-unix.lnt unix/lib-curs.lnt stl/lib-stl.lnt \
$RPM_BUILD_ROOT%{l_prefix}/share/flexelint/lnt/
%{l_shtool} install -c -m 644 \
%{SOURCE env-xml.lnt} %{SOURCE lib-nstd.lnt} \
$RPM_BUILD_ROOT%{l_prefix}/share/flexelint/lnt/
) || exit $?
# determine installation files
%{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT \
%{l_files_std} \
'%config %{l_prefix}/etc/flexelint/flexelint.lnt' \
'%doc %{l_prefix}/share/flexelint/doc/flexelint.pdf'
%files -f files
%clean
rm -rf $RPM_BUILD_ROOT
@
1.17
log
@bump years in copyright messages
@
text
@@
1.16
log
@Update package specifications according to OpenPKG year 2008 world order:
http://www.mail-archive.com/openpkg-announce@@openpkg.org/msg00221.html
@
text
@d3 1
a3 1
## Copyright (c) 2000-2008 OpenPKG Foundation e.V.
@
1.15
log
@upgrading package: flexelint 8.00v -> 8.00w
@
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: 20070803
@
1.14
log
@Welcome Year 2007!
@
text
@d35 2
a36 2
Version: 8.00v
Release: 20061212
@
1.13
log
@upgrade to FlexeLint 8.00v
@
text
@d3 2
a4 2
## Copyright (c) 2000-2006 OpenPKG Foundation e.V.
## Copyright (c) 2000-2006 Ralf S. Engelschall
@
1.12
log
@new world order for "Packager" and "Distribution" headers
@
text
@d35 2
a36 2
Version: 8.00u
Release: 20061013
@
1.12.2.1
log
@file flexelint.spec was added on branch OPENPKG_2_STABLE on 2006-10-16 14:50:00 +0000
@
text
@d1 137
@
1.12.2.2
log
@Mass merge from CURRENT to 2-STABLE (all packages except those of JUNK class)
@
text
@a0 137
##
## flexelint.spec -- OpenPKG RPM Package Specification
## Copyright (c) 2000-2006 OpenPKG Foundation e.V.
## Copyright (c) 2000-2006 Ralf S. Engelschall
##
## 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: flexelint
Summary: Flexible C/C++ Lint
URL: http://www.gimpel.com/html/flex.htm
Vendor: Gimpel Software
Packager: OpenPKG Foundation e.V.
Distribution: OpenPKG Community
Class: EVAL
Group: Debugging
License: Commercial
Version: 8.00u
Release: 2.20061018
# list of sources
Source0: http://www.gimpel.com/::/flexelint-%{version}.tar.gz
Source1: http://www.gimpel.com/html/pub80/env-xml.lnt
Source2: http://www.gimpel.com/html/pub80/lib-nstd.lnt
Source3: flexelint.sh
Source4: flexelint.lnt
Source5: flexelint.txt
%NoSource 0
# build information
Prefix: %{l_prefix}
BuildRoot: %{l_buildroot}
BuildPreReq: OpenPKG, openpkg >= 2.20061018
PreReq: OpenPKG, openpkg >= 2.20061018
AutoReq: no
AutoReqProv: no
%description
FlexeLint is a flexible C/C++ source code checker. It thoroughly
checks C/C++ source code for bugs, glitches, inconsistencies,
unportable constructs, and much more.
%track
prog flexelint = {
comment = "rse: commercial product, no direct download possible"
version = %{version}
url = http://www.gimpel.com/html/ptch80.htm
regex = to\s+(8.00[a-z])
}
%prep
%setup -q
# fixup directory permissions, so RPM can remove the files later on
find . -type d -print | xargs chmod u+w
%build
# build program from obfuscated source code
( cd src
%{l_cc} %{l_cflags -O} -I. -o flexelint *.c
) || exit $?
%install
# create installation hierarchy
rm -rf $RPM_BUILD_ROOT
%{l_shtool} mkdir -f -p -m 755 \
$RPM_BUILD_ROOT%{l_prefix}/bin \
$RPM_BUILD_ROOT%{l_prefix}/etc/flexelint \
$RPM_BUILD_ROOT%{l_prefix}/libexec/flexelint \
$RPM_BUILD_ROOT%{l_prefix}/include/flexelint \
$RPM_BUILD_ROOT%{l_prefix}/share/flexelint/doc \
$RPM_BUILD_ROOT%{l_prefix}/share/flexelint/lnt \
$RPM_BUILD_ROOT%{l_prefix}/man/cat1
# install program and run-time wrapper
%{l_shtool} install -c -s -m 755 \
src/flexelint $RPM_BUILD_ROOT%{l_prefix}/libexec/flexelint/
%{l_shtool} install -c -m 755 %{l_value -s -a} \
%{SOURCE flexelint.sh} $RPM_BUILD_ROOT%{l_prefix}/bin/flexelint
# install minimum manual page and reference document
%{l_shtool} install -c -m 644 %{l_value -s -a} \
%{SOURCE flexelint.txt} $RPM_BUILD_ROOT%{l_prefix}/man/cat1/flexelint.1
%{l_shtool} install -c -m 644 \
flex.pdf $RPM_BUILD_ROOT%{l_prefix}/share/flexelint/doc/flexelint.pdf
# install default configuration
%{l_shtool} install -c -m 644 %{l_value -s -a} \
%{SOURCE flexelint.lnt} $RPM_BUILD_ROOT%{l_prefix}/etc/flexelint/
# install additional prepared configurations
( cd supp
cp -r ansi posix $RPM_BUILD_ROOT%{l_prefix}/include/flexelint/
%{l_shtool} install -c -m 644 \
generic/co.lnt $RPM_BUILD_ROOT%{l_prefix}/share/flexelint/lnt/co-generic.lnt
%{l_shtool} install -c -m 644 \
linux/co-gnu3.lnt $RPM_BUILD_ROOT%{l_prefix}/share/flexelint/lnt/co-gcc.lnt
%{l_shtool} install -c -m 644 \
sun/co-sun6.lnt $RPM_BUILD_ROOT%{l_prefix}/share/flexelint/lnt/co-sun.lnt
%{l_shtool} install -c -m 644 \
hp/co-hpacc.lnt $RPM_BUILD_ROOT%{l_prefix}/share/flexelint/lnt/co-hpacc.lnt
%{l_shtool} install -c -m 644 \
unix/co-unix.lnt unix/lib-curs.lnt stl/lib-stl.lnt \
$RPM_BUILD_ROOT%{l_prefix}/share/flexelint/lnt/
%{l_shtool} install -c -m 644 \
%{SOURCE env-xml.lnt} %{SOURCE lib-nstd.lnt} \
$RPM_BUILD_ROOT%{l_prefix}/share/flexelint/lnt/
) || exit $?
# determine installation files
%{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT \
%{l_files_std} \
'%config %{l_prefix}/etc/flexelint/flexelint.lnt' \
'%doc %{l_prefix}/share/flexelint/doc/flexelint.pdf'
%files -f files
%clean
rm -rf $RPM_BUILD_ROOT
@
1.11
log
@adjust Group header
@
text
@d30 2
a31 2
Packager: OpenPKG
Distribution: OpenPKG
d36 1
a36 1
Release: 20060923
@
1.10
log
@fix group
@
text
@d33 1
a33 1
Group: Development
@
1.9
log
@upgrading package: flexelint 8.00t -> 8.00u
@
text
@d33 1
a33 1
Group: Language
d36 1
a36 1
Release: 20060106
@
1.8
log
@adjust copyrights for new year 2006
@
text
@d35 2
a36 2
Version: 8.00t
Release: 20051012
a44 1
Patch0: flexelint.patch
a69 1
%patch -p0
@
1.7
log
@upgrading package: flexelint 8.00s -> 8.00t
@
text
@d3 2
a4 2
## Copyright (c) 2000-2005 OpenPKG Foundation e.V.
## Copyright (c) 2000-2005 Ralf S. Engelschall
@
1.6
log
@upgrading package: flexelint 8.00r -> 8.00s
@
text
@d35 2
a36 2
Version: 8.00s
Release: 20050823
d45 1
d71 1
@
1.5
log
@upgrading package: flexelint 8.00q -> 8.00r
@
text
@d35 2
a36 2
Version: 8.00r
Release: 20050813
d69 1
a69 1
%setup -q -c
@
1.4
log
@correct spelling of 'unportable'
@
text
@d35 2
a36 2
Version: 8.00q
Release: 20050330
d62 1
@
1.3
log
@remove flawed dashes after prefixes (non-), correct spelling (thoroughlys), correct verb association (check), remove excess article (the), and remove commercial license indication in description (which belongs in header)
@
text
@d58 1
a58 1
nonportable constructs, and much more.
@
1.2
log
@upgrading package: flexelint 8.00p -> 8.00q
@
text
@d36 1
a36 1
Release: 20050329
d56 3
a58 4
FlexeLint is a flexible C/C++ source code checker. It thoroughlys
check the C/C++ source code for bugs, glitches, inconsistencies,
non-portable constructs, and much more. FlexeLint is a commercial
software product.
@
1.1
log
@new package: flexelint 8.00p (Flexible C/C++ Lint)
@
text
@d35 2
a36 2
Version: 8.00p
Release: 20050327
d76 1
a76 1
( cd flexelint/src
d94 1
a94 1
flexelint/src/flexelint $RPM_BUILD_ROOT%{l_prefix}/libexec/flexelint/
d102 1
a102 1
flexelint/flex.pdf $RPM_BUILD_ROOT%{l_prefix}/share/flexelint/doc/flexelint.pdf
d109 1
a109 1
( cd flexelint/supp
@