Group :: Desenvolvimento/Outros
RPM: flex-old
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Name: flex-old
Version: 2.5.4a
Release: alt1
Summary: The old version of the fast lexical analyzer generator
License: BSD
Group: Development/Other
Url: ftp://ftp.gnu.org/non-gnu/flex
Source: %url/flex-%version.tar.bz2
Patch1: flex-2.5.4-rh-glibc22.patch
Patch2: flex-2.5.4a-rh-skel.patch
Patch3: flex-2.5.4a-alt-texinfo.patch
Patch4: flex-2.5.4-mdk-gcc31.patch
Requires(post): %install_info
Requires(preun): %uninstall_info
#Provides: flex = 2.5.4a-ipl16mdk
Conflicts: flex
%description
flex is a tool for generating scanners: programs which recognize lexical
patterns in text. This is the old 2.5.4a version, which is no longer
being developed. You should normally choose flex, unless you have
legacy lexer files that do not work with a modern flex.
%prep
%setup -q -n flex-2.5.4
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p1
%build
# Force regeneration of skel.c
rm skel.c
%__autoconf
%configure
%make_build
cd MISC/texinfo
makeinfo --no-split flex
%install
%makeinstall mandir="%buildroot%_man1dir"
%__install -pD -m644 MISC/texinfo/flex.info %buildroot%_infodir/flex.info
%__ln_s flex %buildroot%_bindir/lex
%__ln_s libfl.a %buildroot%_libdir/libl.a
%__ln_s flex.1 %buildroot%_man1dir/lex.1
%__ln_s flex.1 %buildroot%_man1dir/flex++.1
%post
%install_info flex.info
%preun
%uninstall_info flex.info
%files
%_bindir/*
%_libdir/*.*a
%_includedir/*
%_mandir/man?/*
%_infodir/*.info*
%doc COPYING NEWS README MISC/testxxLexer.l
%changelog
…
Todas as alterações você pod ver aqui
Version: 2.5.4a
Release: alt1
Summary: The old version of the fast lexical analyzer generator
License: BSD
Group: Development/Other
Url: ftp://ftp.gnu.org/non-gnu/flex
Source: %url/flex-%version.tar.bz2
Patch1: flex-2.5.4-rh-glibc22.patch
Patch2: flex-2.5.4a-rh-skel.patch
Patch3: flex-2.5.4a-alt-texinfo.patch
Patch4: flex-2.5.4-mdk-gcc31.patch
Requires(post): %install_info
Requires(preun): %uninstall_info
#Provides: flex = 2.5.4a-ipl16mdk
Conflicts: flex
%description
flex is a tool for generating scanners: programs which recognize lexical
patterns in text. This is the old 2.5.4a version, which is no longer
being developed. You should normally choose flex, unless you have
legacy lexer files that do not work with a modern flex.
%prep
%setup -q -n flex-2.5.4
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p1
%build
# Force regeneration of skel.c
rm skel.c
%__autoconf
%configure
%make_build
cd MISC/texinfo
makeinfo --no-split flex
%install
%makeinstall mandir="%buildroot%_man1dir"
%__install -pD -m644 MISC/texinfo/flex.info %buildroot%_infodir/flex.info
%__ln_s flex %buildroot%_bindir/lex
%__ln_s libfl.a %buildroot%_libdir/libl.a
%__ln_s flex.1 %buildroot%_man1dir/lex.1
%__ln_s flex.1 %buildroot%_man1dir/flex++.1
%post
%install_info flex.info
%preun
%uninstall_info flex.info
%files
%_bindir/*
%_libdir/*.*a
%_includedir/*
%_mandir/man?/*
%_infodir/*.info*
%doc COPYING NEWS README MISC/testxxLexer.l
%changelog
…
Todas as alterações você pod ver aqui