2012-08-02 19:52:55 +00:00
|
|
|
Summary: A powerful open-source, cross platform code editor for C/C++
|
2014-02-14 17:49:38 +11:00
|
|
|
Name: codelite
|
|
|
|
Version: 5.4
|
2014-02-14 18:33:06 +11:00
|
|
|
Release: 2
|
2012-08-02 19:52:55 +00:00
|
|
|
License: GPLv2+
|
|
|
|
Group: Development/Other
|
2014-02-14 17:49:38 +11:00
|
|
|
Url: http://codelite.sourceforge.net
|
|
|
|
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}-gtk.src.tar.gz
|
2014-02-14 18:35:15 +11:00
|
|
|
Source10: %{name}.rpmlintrc
|
2014-02-14 17:49:38 +11:00
|
|
|
Patch0: codelite-5.4-desktop.patch
|
|
|
|
Patch1: codelite-5.4-linkage.patch
|
2014-02-14 18:33:06 +11:00
|
|
|
Patch2: codelite-5.4-libdir.patch
|
2014-02-14 17:49:38 +11:00
|
|
|
BuildRequires: cmake
|
|
|
|
BuildRequires: wxgtku3.0-devel
|
|
|
|
BuildRequires: pkgconfig(freetype2)
|
|
|
|
BuildRequires: pkgconfig(gtk+-2.0)
|
|
|
|
BuildRequires: pkgconfig(libssh)
|
|
|
|
Requires: wxgtk3.0
|
2012-08-02 19:52:55 +00:00
|
|
|
Requires: xterm
|
|
|
|
|
2012-02-01 19:44:30 +04:00
|
|
|
%description
|
2014-02-14 17:49:38 +11:00
|
|
|
CodeLite uses a sophisticated, yet intuitive interface which allows
|
2012-02-01 19:44:30 +04:00
|
|
|
users to easily create, build and debug complex projects.
|
|
|
|
|
2014-02-14 17:49:38 +11:00
|
|
|
%files -f %{name}.lang
|
2012-08-02 19:52:55 +00:00
|
|
|
%doc AUTHORS LICENSE COPYING
|
2014-02-14 17:49:38 +11:00
|
|
|
%{_bindir}/clg++
|
|
|
|
%{_bindir}/clgcc
|
2012-02-01 19:44:30 +04:00
|
|
|
%{_bindir}/codelite
|
2014-02-14 17:49:38 +11:00
|
|
|
%{_bindir}/codelite-clang
|
|
|
|
%{_bindir}/codelite-make
|
|
|
|
%{_bindir}/codelite-terminal
|
2012-02-01 19:44:30 +04:00
|
|
|
%{_bindir}/codelite_indexer
|
|
|
|
%{_bindir}/codelite_cppcheck
|
|
|
|
%{_bindir}/codelite_fix_files
|
|
|
|
%{_bindir}/codelite_exec
|
|
|
|
%{_bindir}/codelite_kill_children
|
|
|
|
%{_bindir}/codelite_xterm
|
2014-02-14 17:49:38 +11:00
|
|
|
%{_bindir}/codelitegcc
|
|
|
|
%{_datadir}/applications/%{name}.desktop
|
|
|
|
%{_datadir}/%{name}
|
|
|
|
%{_libdir}/%{name}/
|
2012-08-02 19:52:55 +00:00
|
|
|
|
2014-02-14 17:49:38 +11:00
|
|
|
#----------------------------------------------------------------------------
|
2012-08-02 19:52:55 +00:00
|
|
|
|
2014-02-14 17:49:38 +11:00
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
%patch0 -p1
|
|
|
|
%patch1 -p1
|
2014-02-14 18:33:06 +11:00
|
|
|
%patch2 -p1
|
2012-08-02 19:52:55 +00:00
|
|
|
|
2014-02-14 17:49:38 +11:00
|
|
|
%build
|
|
|
|
%cmake \
|
2014-02-14 18:33:06 +11:00
|
|
|
-DPREFIX:PATH=%{_prefix} \
|
|
|
|
-DCL_INSTALL_LIBDIR=%{_lib}
|
2014-02-14 17:49:38 +11:00
|
|
|
%make
|
2012-02-01 19:44:30 +04:00
|
|
|
|
2014-02-14 17:49:38 +11:00
|
|
|
%install
|
|
|
|
%makeinstall_std -C build
|
2012-02-01 19:44:30 +04:00
|
|
|
|
2014-02-14 17:49:38 +11:00
|
|
|
%find_lang %{name}
|
2012-02-01 19:44:30 +04:00
|
|
|
|
2014-02-14 17:49:38 +11:00
|
|
|
# To fix unstripped-binary-or-object
|
|
|
|
chmod 0755 %{buildroot}%{_libdir}/%{name}/*.so
|
2012-02-01 19:44:30 +04:00
|
|
|
|