Group :: Development/Tcl
RPM: frink
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
%def_disable debug
%def_disable tcc
%define Name Frink
Name: frink
URL: http://catless.ncl.ac.uk/Programs/%Name
Version: 2.2.2
%define subver p4
Release: alt1.qa1
Summary: Static Testing and Formatting for Tcl Programs
Group: Development/Tcl
License: BSD
Source: ftp://catless.ncl.ac.uk/pub/%name-%version%subver.tar.bz2
%{?_enable_tcc:BuildRequires: tcc}
%description
%Name is a Tcl formatting and static check program. It can prettify
your program, and minimize, obfuscate, or sanity check it. It can also
do some rewriting.
%prep
%setup -q
subst '/^CFLAGS=/ s/\(-ansi\)i/\1/' configure.ac
%{?_enable_tcc:subst '/^CFLAGS=/ s/-ansi[[:blank:]]*//' configure.ac}
%{!?_enable_debug:subst '/^CFLAGS=/ s/-g[[:blank:]]*//g' configure.ac}
%build
%add_optflags -fno-strict-aliasing
autoreconf -fisv
%configure %{?_enable_tcc:CC=tcc}
%make_build
bzip2 --best --keep --force ChangeLog
%install
%make_install DESTDIR=%buildroot install
%files
%doc AUTHORS ChangeLog.* README
%_bindir/*
%changelog -n frink
…
Full changelog you can see here
%def_disable tcc
%define Name Frink
Name: frink
URL: http://catless.ncl.ac.uk/Programs/%Name
Version: 2.2.2
%define subver p4
Release: alt1.qa1
Summary: Static Testing and Formatting for Tcl Programs
Group: Development/Tcl
License: BSD
Source: ftp://catless.ncl.ac.uk/pub/%name-%version%subver.tar.bz2
%{?_enable_tcc:BuildRequires: tcc}
%description
%Name is a Tcl formatting and static check program. It can prettify
your program, and minimize, obfuscate, or sanity check it. It can also
do some rewriting.
%prep
%setup -q
subst '/^CFLAGS=/ s/\(-ansi\)i/\1/' configure.ac
%{?_enable_tcc:subst '/^CFLAGS=/ s/-ansi[[:blank:]]*//' configure.ac}
%{!?_enable_debug:subst '/^CFLAGS=/ s/-g[[:blank:]]*//g' configure.ac}
%build
%add_optflags -fno-strict-aliasing
autoreconf -fisv
%configure %{?_enable_tcc:CC=tcc}
%make_build
bzip2 --best --keep --force ChangeLog
%install
%make_install DESTDIR=%buildroot install
%files
%doc AUTHORS ChangeLog.* README
%_bindir/*
%changelog -n frink
…
Full changelog you can see here