Search
SailfishOS Open Build Service
>
Projects
>
home:nielnielsen
>
flex
> flex.spec
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File flex.spec of Package flex
# # spec file for package flex # # Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %define debug_package %{nil} Name: flex BuildRequires: automake BuildRequires: bison BuildRequires: gcc-c++ #BuildRequires: help2man #BuildRequires: makeinfo Url: http://flex.sourceforge.net/ Requires: m4 #PreReq: %install_info_prereq # bug437293 %ifarch ppc64 Obsoletes: flex-64bit %endif # Version: 2.5.39 Release: 0 Summary: Fast Lexical Analyzer Generator License: BSD-3-Clause Group: Development/Languages/C and C++ Source: http://prdownloads.sourceforge.net/flex/flex-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-build %description FLEX is a tool for generating scanners: programs that recognize lexical patterns in text. %prep %setup -q %build #autoreconf -fi %configure --docdir=%{_docdir}/%{name} make %{?_smp_mflags} %install make install DESTDIR=$RPM_BUILD_ROOT ln -s flex.1.gz $RPM_BUILD_ROOT/%{_mandir}/man1/lex.1.gz %find_lang %{name} %files -f %{name}.lang %defattr(-,root,root) %{_bindir}/flex %{_bindir}/flex++ %{_includedir}/FlexLexer.h %{_libdir}/libfl.a %{_libdir}/libfl.la %{_libdir}/libfl.so %{_libdir}/libfl.so.2 %{_libdir}/libfl.so.2.0.0 %{_libdir}/libfl_pic.a %{_libdir}/libfl_pic.la %{_libdir}/libfl_pic.so %{_libdir}/libfl_pic.so.2 %{_libdir}/libfl_pic.so.2.0.0 %{_mandir}/man1/flex.1.gz %{_mandir}/man1/lex.1.gz %{_infodir}/flex* %{_docdir}/%name %ifarch armv7hl %exclude %{_infodir}/dir %endif %changelog