ALT repositories
Last updated at Fri, 24 Jul 2020 14:09:54 +0000 | SRPMs: 24113
en ru
SRPMs in branches
hide window
Group :: Development/Tools
Source RPM: codelite
Raw spec file

Name: codelite
Version: 14.0
Release: alt2

Summary: CodeLite is a powerful open-source, cross platform code editor for C/C++

License: GPLv2+
Group: Development/Tools
Url: http://codelite.sourceforge.net

Source: %name-%version.tar

Requires: libedit-devel

BuildRequires: cmake gcc-c++ libssh-devel libedit-devel libgtk+3-devel
BuildRequires: libsqlite3-devel libwxGTK3.1-devel libatk-devel libpango-devel
BuildRequires: libpcre-devel libffi-devel libfribidi-devel libtiff-devel
BuildRequires: libmount-devel libpixman-devel libblkid-devel libuuid-devel
BuildRequires: libselinux-devel bzlib-devel libexpat-devel libXdmcp-devel
BuildRequires: libXdamage-devel libXxf86vm-devel libdrm-devel libXinerama-devel
BuildRequires: libXi-devel libXrandr-devel libXcursor-devel libXcomposite-devel
BuildRequires: wayland-protocols libxkbcommon-devel libwayland-cursor-devel
BuildRequires: libwayland-egl-devel libepoxy-devel libhunspell-devel
BuildRequires: libwxGTK3.1-sqlite3-devel
BuildRequires: libXtst-devel at-spi2-atk-devel libat-spi2-core-devel

%add_python_req_skip gdb

%description
CodeLite uses a sophisticated, yet intuitive interface which allows
users to easily create, build and debug complex projects.

%prep
%setup

%build
%add_optflags %(pkg-config --cflags pango)
cmake . -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_CXX_FLAGS:STRING='%optflags'

%make_build

%install
%makeinstall_std

mkdir -p %buildroot%_datadir/mime/packages/
cp -p %name.xml %buildroot%_datadir/mime/packages/
rm -f %buildroot%_bindir/codelite_open_helper.py

%find_lang %name

%files -f %name.lang
%doc AUTHORS LICENSE COPYING
%_bindir/*
%_datadir/%name
%_datadir/applications/%name.desktop
%_datadir/mime/packages/%name.xml
%_datadir/icons/hicolor/*/apps/%name.png
%_libdir/%name
%_mandir/man1/%{name}*

# Fix post-install unowned files

%dir %_iconsdir/hicolor/128x128
%dir %_iconsdir/hicolor/128x128/apps
%dir %_iconsdir/hicolor/128x128@2x
%dir %_iconsdir/hicolor/128x128@2x/apps
%dir %_iconsdir/hicolor/256x256
%dir %_iconsdir/hicolor/256x256/apps
%dir %_iconsdir/hicolor/256x256@2x
%dir %_iconsdir/hicolor/256x256@2x/apps
%dir %_iconsdir/hicolor/32x32@2x
%dir %_iconsdir/hicolor/32x32@2x/apps
%dir %_iconsdir/hicolor/64x64
%dir %_iconsdir/hicolor/64x64/apps
%dir %_iconsdir/hicolor/64x64@2x
%dir %_iconsdir/hicolor/64x64@2x/apps

%changelog
* Wed Oct 14 2020 Anton Midyukov <antohami at altlinux.org> 14.0-alt2
- Fix BuildRequires

* Mon Apr 27 2020 Grigory Ustinov <grenka at altlinux.org> 14.0-alt1
- Automatically updated to 14.0.

* Tue Aug 20 2019 Anton Midyukov <antohami at altlinux.org> 13.0-alt2
- add_optflags (pkg-config --cflags pango) (Fix FTBFS)

* Wed Jun 19 2019 Grigory Ustinov <grenka at altlinux.org> 13.0-alt1
- Initial build for Sisyphus.
 
The Geyser project is based on code from Prometheus2.0, which had been made available under the MIT License.