mirror of
https://abf.rosa.ru/djam/codelite.git
synced 2025-02-23 22:52:55 +00:00
Automatic import for version 3.5.5375
This commit is contained in:
parent
3a17aea1ec
commit
8fe0eaea03
3 changed files with 45 additions and 26 deletions
2
.abf.yml
2
.abf.yml
|
@ -1,2 +1,2 @@
|
|||
sources:
|
||||
"codelite-2.8.0.4537.tar.gz": caea75b667d228ee624f24af2bdfb3945ff3b147
|
||||
"codelite-3.5.5375-gtk.src.tar.gz": c319988ea8569e8083eb4d03d1eded14cfac1e5f
|
||||
|
|
11
codelite-3.5.5375-link.patch
Normal file
11
codelite-3.5.5375-link.patch
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- configure.link 2012-03-03 19:04:22.652654950 +0100
|
||||
+++ configure 2012-03-03 19:04:56.563609036 +0100
|
||||
@@ -517,7 +517,7 @@ createRules_sharedObject ()
|
||||
echo "${rule_name}: \$(${object_list_name})" >> Makefile
|
||||
fi
|
||||
|
||||
- echo " \$(CMP) -fPIC ${shared_obj_switch} -o ${base_dir}/\$(OUTPUT_DIR)/${libname}.so \$(${object_list_name}) \$(PLUGIN_LINK_FLAGS) ${additional_link_libs} -lutil" >> Makefile
|
||||
+ echo " \$(CMP) -fPIC ${shared_obj_switch} -o ${base_dir}/\$(OUTPUT_DIR)/${libname}.so \$(${object_list_name}) \$(PLUGIN_LINK_FLAGS) ${additional_link_libs} -lutil -ldl" >> Makefile
|
||||
if [ $dont_copy != "dont_copy" ]; then
|
||||
echo " cp -f ${base_dir}/\$(OUTPUT_DIR)/${libname}.so ${runtime_path}/." >> Makefile
|
||||
fi
|
|
@ -1,18 +1,17 @@
|
|||
%define name codelite
|
||||
%define version 2.8.0.4537
|
||||
%define release %mkrel 1
|
||||
|
||||
Name: %{name}
|
||||
Version: %{version}
|
||||
Release: %{release}
|
||||
Name: codelite
|
||||
Version: 3.5.5375
|
||||
Release: %mkrel 1
|
||||
Summary: A powerful open-source, cross platform code editor for C/C++
|
||||
License: GPLv2+
|
||||
Group: Development/Other
|
||||
URL: http://codelite.sourceforge.net
|
||||
Source: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
|
||||
Requires: wxgtk2.8 xterm
|
||||
Source: http://downloads.sourceforge.net/%{name}/%{name}-%{version}-gtk.src.tar.gz
|
||||
Patch0: codelite-3.5.5375-link.patch
|
||||
BuildRequires: wxgtku2.8-devel
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
BuildRequires: desktop-file-utils
|
||||
Requires: wxgtk2.8
|
||||
Requires: xterm
|
||||
|
||||
|
||||
%description
|
||||
CodeLite uses a sophisticated, yet intuitive interface which allows
|
||||
|
@ -20,29 +19,29 @@ users to easily create, build and debug complex projects.
|
|||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p0
|
||||
|
||||
%build
|
||||
./configure --prefix=%{_prefix} \
|
||||
--libdir=%{_libdir} \
|
||||
--plugins-dir=%{_libdir}/%{name} \
|
||||
%configure2_5x --plugins-dir=%{_libdir}/%{name} \
|
||||
--disable-debian \
|
||||
--disable-desktop_icon \
|
||||
--disable-make_symlink
|
||||
%{__make}
|
||||
%__make
|
||||
|
||||
%install
|
||||
%{__rm} -rf %{buildroot}
|
||||
%{__make} DESTDIR=%{buildroot} install
|
||||
desktop-file-install --delete-original \
|
||||
%__rm -rf %{buildroot}
|
||||
%makeinstall_std
|
||||
|
||||
desktop-file-install --delete-original \
|
||||
--copy-generic-name-to-name \
|
||||
--add-category="IDE" \
|
||||
--dir %{buildroot}/%{_datadir}/applications \
|
||||
%{buildroot}/%{_datadir}/applications/codelite.desktop
|
||||
|
||||
%clean
|
||||
%{__rm} -rf %{buildroot}
|
||||
%__rm -rf %{buildroot}
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc AUTHORS LICENSE COPYING
|
||||
%{_bindir}/codelite
|
||||
%{_bindir}/codelite_indexer
|
||||
|
@ -56,7 +55,16 @@ users to easily create, build and debug complex projects.
|
|||
%{_libdir}/%{name}
|
||||
|
||||
|
||||
|
||||
%changelog
|
||||
* Tue Mar 13 2012 Andrey Bondrov <abondrov@mandriva.org> 3.5.5375-1mdv2011.0
|
||||
+ Revision: 784503
|
||||
- New version 3.5.5375
|
||||
|
||||
* Wed Oct 05 2011 Andrey Bondrov <abondrov@mandriva.org> 3.0.0.5041-1
|
||||
+ Revision: 703068
|
||||
- New version: 3.0.0.5041
|
||||
|
||||
* Sun Dec 05 2010 Yuri Myasoedov <omerta13@mandriva.org> 2.8.0.4537-1mdv2011.0
|
||||
+ Revision: 610614
|
||||
- New version 2.8.0.4537
|
||||
|
|
Loading…
Add table
Reference in a new issue