1 Summary: An open source, cross platform, free C++ IDE
7 Group: Development/Languages
8 Source0: http://dl.sourceforge.net/codeblocks/%{name}-%{version}%{_rc}.tgz
10 URL: http://www.codeblocks.org/
11 BuildRequires: autoconf
12 BuildRequires: automake
13 BuildRequires: dos2unix
14 BuildRequires: libtool
15 BuildRequires: wxGTK2-devel
16 BuildRequires: wxWindows-devel
18 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21 Code::Blocks is a free C++ IDE built specifically to meet the most
22 demanding needs of its users. It was designed, right from the start,
23 to be extensible and configurable. Built around a plugin framework,
24 Code::Blocks can be extended with plugin DLLs. It includes a plugin
25 wizard so you can compile your own plugins!
31 - Open Source! GPL2, no hidden costs.
32 - Cross-platform. Runs on Linux or Windows (uses wxWidgets).
33 - Made in GNU C++. No interpreted languages or proprietary libs
35 - Comes in two presentations: Standalone, and MinGW bundle
36 - Devpack support (optional)
37 - Extensible thru plugins (SDK available in the downloads section)
39 Compiler-related features:
41 - Multiple compiler support:
42 - GCC (MingW / Linux GCC)
47 - Compiles directly or with makefiles
48 - Predefined project templates
49 - Custom template support
50 - Uses XML format for project files.
51 - Multi-target projects
53 - Imports MSVC projects and workspaces (NOTE: assembly code and
54 inter-project dependencies not supported yet)
55 - Imports Dev-C++ projects
56 - Integrates with GDB for debugging
60 - Syntax highlighting, customizable and extensible
61 - Code folding for C++ and XML files.
63 - Code completion plugin
66 - One-key swap between .h and .c/.cpp files
67 - Open files list for quick switching between files (optional)
68 - External customizable "Tools"
69 - To-do list management with different users
72 %setup -q -n %{name}-%{version}%{_rc}
73 find . -type f -and -not -name "*.cpp" -and -not -name "*.h" -and -not -name "*.png" -and -not -name "*.bmp" -and -not -name "*.c" -and -not -name "*.cxx" -and -not -name "*.ico" | sed "s/.*/\"\\0\"/" | xargs dos2unix
74 chmod a+x acinclude.m4 src/update
83 --with-wx-config=wx-gtk2-ansi-config
87 rm -rf $RPM_BUILD_ROOT
90 DESTDIR=$RPM_BUILD_ROOT
93 rm -rf $RPM_BUILD_ROOT
95 %post -p /sbin/ldconfig
96 %postun -p /sbin/ldconfig
99 %defattr(644,root,root,755)
100 #doc README COPYING AUTHORS BUGS COMPILERS TODO NEWS ChangeLog
101 %attr(755,root,root) %{_bindir}/codeblocks
102 %attr(755,root,root) %{_bindir}/console_runner
103 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
104 #{_datadir}/application-registry/codeblocks.applications
105 #{_datadir}/applications/codeblocks.desktop
106 #{_datadir}/icons/gnome/48x48/mimetypes/gnome-mime-application-x-codeblocks.png
107 #{_datadir}/mime-info/*
108 #{_datadir}/mime/packages/codeblocks.xml
109 #{_datadir}/pixmaps/codeblocks.png
110 #define pkgdata %{_datadir}/%{name}