Репозитории ALT
S: | 2.6.4.0.88.9801-alt2 |
5.1: | 2.5.35-alt4 |
4.1: | 2.5.33-alt3 |
4.0: | 2.5.33-alt3 |
3.0: | 2.5.4a-ipl16mdk |
Группа :: Разработка/Прочее
Пакет: flex
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Name: flex
Version: 2.5.4a
Release: ipl16mdk
Summary: A tool for creating scanners (text pattern recognizers)
License: BSD
Group: Development/Other
Url: ftp://ftp.gnu.org/non-gnu/%name
Source: %url/%name-%version.tar.bz2
Patch1: %name-2.5.4-rh-glibc22.patch
Patch2: %name-2.5.4a-rh-skel.patch
Patch3: %name-2.5.4a-alt-texinfo.patch
Patch4: %name-2.5.4-mdk-gcc31.patch
PreReq: %__install_info
%description
The %name program generates scanners. Scanners are programs which can recognize
lexical patterns in text.
Flex takes pairs of regular expressions and C code as input and generates a C
source file as output. The output file is compiled and linked with a library
to produce an executable.
The executable searches through its input for occurrences of the regular
expressions. When a match is found, it executes the corresponding C code.
Flex was designed to work with both Yacc and Bison, and is used by many programs
as part of their build process.
You should install %name if you are going to use your system for application
development.
%prep
%setup -q -n %name-2.5.4
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p1
%build
# Force regeneration of skel.c
%__rm -f skel.c
autoconf
%configure
%make_build
cd MISC/texinfo
makeinfo --no-split %name
%install
%makeinstall mandir="$RPM_BUILD_ROOT%_man1dir"
%__install -pD -m644 MISC/texinfo/%name.info $RPM_BUILD_ROOT%_infodir/%name.info
%__ln_s flex $RPM_BUILD_ROOT%_bindir/lex
%__ln_s libfl.a $RPM_BUILD_ROOT%_libdir/libl.a
%__ln_s flex.1 $RPM_BUILD_ROOT%_man1dir/lex.1
%__ln_s flex.1 $RPM_BUILD_ROOT%_man1dir/flex++.1
%post
%install_info %name.info
%preun
%uninstall_info %name.info
%files
%_bindir/*
%_libdir/*.*a
%_includedir/*
%_mandir/man?/*
%_infodir/*.info*
%doc COPYING NEWS README MISC/testxxLexer.l
%changelog
…
Полный changelog можно просмотреть здесь
Version: 2.5.4a
Release: ipl16mdk
Summary: A tool for creating scanners (text pattern recognizers)
License: BSD
Group: Development/Other
Url: ftp://ftp.gnu.org/non-gnu/%name
Source: %url/%name-%version.tar.bz2
Patch1: %name-2.5.4-rh-glibc22.patch
Patch2: %name-2.5.4a-rh-skel.patch
Patch3: %name-2.5.4a-alt-texinfo.patch
Patch4: %name-2.5.4-mdk-gcc31.patch
PreReq: %__install_info
%description
The %name program generates scanners. Scanners are programs which can recognize
lexical patterns in text.
Flex takes pairs of regular expressions and C code as input and generates a C
source file as output. The output file is compiled and linked with a library
to produce an executable.
The executable searches through its input for occurrences of the regular
expressions. When a match is found, it executes the corresponding C code.
Flex was designed to work with both Yacc and Bison, and is used by many programs
as part of their build process.
You should install %name if you are going to use your system for application
development.
%prep
%setup -q -n %name-2.5.4
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p1
%build
# Force regeneration of skel.c
%__rm -f skel.c
autoconf
%configure
%make_build
cd MISC/texinfo
makeinfo --no-split %name
%install
%makeinstall mandir="$RPM_BUILD_ROOT%_man1dir"
%__install -pD -m644 MISC/texinfo/%name.info $RPM_BUILD_ROOT%_infodir/%name.info
%__ln_s flex $RPM_BUILD_ROOT%_bindir/lex
%__ln_s libfl.a $RPM_BUILD_ROOT%_libdir/libl.a
%__ln_s flex.1 $RPM_BUILD_ROOT%_man1dir/lex.1
%__ln_s flex.1 $RPM_BUILD_ROOT%_man1dir/flex++.1
%post
%install_info %name.info
%preun
%uninstall_info %name.info
%files
%_bindir/*
%_libdir/*.*a
%_includedir/*
%_mandir/man?/*
%_infodir/*.info*
%doc COPYING NEWS README MISC/testxxLexer.l
%changelog
…
Полный changelog можно просмотреть здесь