-* Wed Aug 10 2011 Junfeng Dong <junfeng.dong@intel.com> - 2.5.35
-- clean.
+* Wed May 30 2012 Anas Nashif <anas.nashif@intel.com> 30489d0
+- Do not use macro for installation
+[ Ryan Ware ]
+- Add default Smack manifest for flex.spec
+
+* Wed May 30 2012 Anas Nashif <anas.nashif@intel.com> 2bb52a0
+- Do not use macro for installation
+
+* Mon May 21 2012 Kim Kibum <kb0929.kim@samsung.com> 2ae147a
+- Upload Tizen:Base source
+[ Hyesook Choi ]
+- Initial empty repository
+
-#
-# Please submit bugfixes or comments via http://bugs.meego.com/
-#
-
Name: flex
Version: 2.5.35
Release: 2
Url: http://flex.sourceforge.net/
Group: Development/Tools
Source: http://prdownloads.sourceforge.net/flex/flex-%{version}.tar.bz2
-Source1001: packaging/flex.manifest
+Source1001: flex.manifest
Patch0: flex-2.5.35-sign.patch
# borrowed from fc12
Patch1: flex-2.5.35-hardening.patch
make %{?_smp_mflags}
%install
-%make_install
+make install DESTDIR=%{buildroot}
rm -f %{buildroot}/%{_infodir}/*
( cd %{buildroot}
ln -sf flex .%{_bindir}/lex
ln -sf flex .%{_bindir}/flex++
- ln -s flex.1 .%{_mandir}/man1/lex.1
- ln -s flex.1 .%{_mandir}/man1/flex++.1
ln -s libfl.a .%{_libdir}/libl.a
)
-%check
-%if0
-echo ============TESTING===============
-make check
-echo ============END TESTING===========
-%endif
-
-%clean
-rm -rf %{buildroot}
+%remove_docs
%files
%manifest flex.manifest
-%defattr(-,root,root)
%doc COPYING
%{_bindir}/*
-%doc %{_mandir}/man1/*
%{_libdir}/*.a
%{_includedir}/FlexLexer.h