Author: twittner Date: Fri Nov 7 17:13:07 2008 GMT Module: SPECS Tag: HEAD ---- Log message: - up to 2.1 - I don't know if there is a better solution for current cmake for fixing --as-needed issue than reordering gcc options in link.txt file
---- Files affected: SPECS: termit.spec (1.11 -> 1.12) ---- Diffs: ================================================================ Index: SPECS/termit.spec diff -u SPECS/termit.spec:1.11 SPECS/termit.spec:1.12 --- SPECS/termit.spec:1.11 Fri Sep 12 19:31:15 2008 +++ SPECS/termit.spec Fri Nov 7 18:13:01 2008 @@ -2,17 +2,20 @@ Summary: TermIt - terminal emulator based on the vte library Summary(pl.UTF-8): TermIt - emulator terminala oparty na bibliotece vte Name: termit -Version: 1.3.5 -Release: 2 +Version: 2.1 +Release: 1 License: GPL v2 Group: X11/Applications Source0: http://termit.googlecode.com/files/%{name}-%{version}.tar.bz2 -# Source0-md5: 3b54551b6b829006607f3f69beddbf84 +# Source0-md5: 7f386b4745080cfa544296890e85f4e7 Source1: %{name}.desktop Source2: %{name}.png +Patch0: %{name}-FindLua51.patch URL: http://code.google.com/p/termit/wiki/TermIt -BuildRequires: cmake +BuildRequires: cmake >= 2.6.1 BuildRequires: gtk+2-devel >= 2:2.8 +BuildRequires: lua51-devel +BuildRequires: perl-base BuildRequires: pkgconfig BuildRequires: vte-devel >= 0.12 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) @@ -41,10 +44,13 @@ %prep %setup -q +%patch0 -p1 %build %{cmake} -D CMAKE_INSTALL_PREFIX:PATH="%{_prefix}" . -%{__make} +# fix --as-needed issue - ref: http://pld-linux.org/DevelopingPLD/AdvancedDeveloping/FixingAsNeeded +%{__perl} -i -p -e 's/((\s-l\S+\s*?)+)((\s\S+\.o\s*?)+)(\s-o termit\s)/\5 \3 \1 /' src/CMakeFiles/termit.dir/link.txt +%{__make} VERBOSE=1 %install rm -rf $RPM_BUILD_ROOT @@ -62,8 +68,9 @@ %files -f %{name}.lang %defattr(644,root,root,755) -%doc BUGS ChangeLog TODO doc/README doc/session.example doc/termit.example +%doc ChangeLog TODO doc/README doc/init.lua.example doc/lua_api.txt %attr(755,root,root) %{_bindir}/* +%{_mandir}/man1/* %{_desktopdir}/%{name}.desktop %{_pixmapsdir}/%{name}.png @@ -73,6 +80,11 @@ All persons listed below can be reached at <cvs_login>@pld-linux.org $Log$ +Revision 1.12 2008/11/07 17:13:01 twittner +- up to 2.1 +- I don't know if there is a better solution for current cmake + for fixing --as-needed issue than reordering gcc options in link.txt file + Revision 1.11 2008/09/12 17:31:15 twittner - more doc files added ================================================================ ---- CVS-web: http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/termit.spec?r1=1.11&r2=1.12&f=u _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
