* Include themes from geany-themes.
* Fix silently truncating files containing NUL bytes.
* Improve compatibility focusing the editor window when opening
a file externally.
* Update placeholders for external printing command to use the
same ones as build commands.
* Improve corner-case encoding detection and conversion.
* Fix losing session after opening several projects.
* Fix emission of the "document-activate" signal, leading to
glitches in UI and plugins.
* Fix spurious CPU load after running a build command.
* Use a more reliable method for saving preferences and other
auxiliary files.
* Fix focusing the symbol list through key binding.
* Fix search entry after editing the toolbar.
* Fix non-deterministic anonymous symbol names.
* Fix displaying symbols declared out of order.
* Fix possible invalid memory access when generating user
initials on first startup.
* Fix replacing placeholders in filenames in build commands.
* Add support for searching the Messages and Compiler output.
* Add support for modern platform-native file selection dialogs.
* Regroup filetypes by letter.
* Add filter for open documents sidebar.
* Add filter for keybindings preferences.
* Add various pref to skip "replace in session" confirmation
dialog.
* Make it easier to wrap search when the confirmation dialog is
shown.
* Fix spurious selection when clicking an externally-modified
file.
* Fix translation of the Various preferences tab.
* Do not show redundant None encoding.
* Do not display encodings not supported on the system.
* Move "Virtual Spaces" preference to "Editor -> Features".
* Various UI tweaks.
* Allow pasting and autocompletion for multiple carets.
* Increase minimal number margin width.
- Drop upstreamed reproducible.patch.
- Drop upstreamed geany-2.0-gcc15.patch.
OBS-URL: https://build.opensuse.org/package/show/GNOME:Apps/geany?expand=0&rev=87
134 lines
3.5 KiB
RPMSpec
134 lines
3.5 KiB
RPMSpec
#
|
|
# spec file for package geany
|
|
#
|
|
# Copyright (c) 2025 SUSE LLC and contributors
|
|
#
|
|
# All modifications and additions to the file contributed by third parties
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
Name: geany
|
|
Version: 2.1
|
|
Release: 0
|
|
Summary: GTK-based integrated development environment
|
|
License: GPL-2.0-or-later
|
|
Group: Development/Tools/IDE
|
|
URL: https://geany.org
|
|
Source0: https://download.geany.org/%{name}-%{version}.tar.bz2
|
|
Source1: %{name}-rpmlintrc
|
|
|
|
# PATCH-FIX-UPSTREAM geany-appstream.patch gh#geany/geany#1142 badshah400@gmail.com -- Downstream created appstream file, submitted upstream
|
|
Patch1: geany-appstream.patch
|
|
|
|
BuildRequires: autoconf
|
|
BuildRequires: automake
|
|
BuildRequires: desktop-file-utils
|
|
BuildRequires: docutils
|
|
BuildRequires: doxygen
|
|
BuildRequires: fdupes
|
|
BuildRequires: gcc-c++
|
|
BuildRequires: intltool
|
|
BuildRequires: libtool
|
|
BuildRequires: pkgconfig
|
|
BuildRequires: pkgconfig(gtk+-3.0) >= 3.24
|
|
%lang_package
|
|
|
|
%description
|
|
Geany is a text editor using the GTK+ toolkit with basic features of
|
|
an integrated development environment. It can do syntax highlighting
|
|
for many formats, case folding, symbol name autocompletion, autoclose
|
|
XML/HTML tags, provides code navigation and has a plugin interface.
|
|
|
|
%package devel
|
|
Summary: Development files for the Geany IDE
|
|
Group: Development/Libraries/C and C++
|
|
Requires: %{name} = %{version}
|
|
Requires: gtk3-devel
|
|
Requires: libgeany0 = %{version}
|
|
|
|
%description devel
|
|
Geany is a text editor using the GTK+ toolkit with basic features of
|
|
an integrated development environment.
|
|
|
|
%package -n libgeany0
|
|
Summary: Geany libraries
|
|
Group: System/Libraries
|
|
|
|
%description -n libgeany0
|
|
Geany's core library
|
|
|
|
%package doc
|
|
Summary: Geany documentation
|
|
Group: Documentation/Other
|
|
Requires: %{name} >= %{version}
|
|
|
|
%description doc
|
|
Geany's developers documentation
|
|
|
|
%prep
|
|
%autosetup -p1
|
|
|
|
%build
|
|
autoreconf -fi
|
|
%configure \
|
|
--docdir=%{_defaultdocdir}/%{name}
|
|
make %{?_smp_mflags}
|
|
|
|
%install
|
|
%make_install
|
|
# FIXME: add lb to filesystem?
|
|
rm %{buildroot}%{_datadir}/locale/lb/LC_MESSAGES/*
|
|
find %{buildroot} -type f -name "*.la" -delete -print
|
|
%find_lang %{name} %{?no_lang_C}
|
|
%fdupes %{buildroot}%{_datadir}
|
|
|
|
%post
|
|
%desktop_database_post
|
|
%icon_theme_cache_post
|
|
%icon_theme_cache_post Tango
|
|
|
|
%postun
|
|
%desktop_database_postun
|
|
%icon_theme_cache_postun
|
|
%icon_theme_cache_postun Tango
|
|
|
|
%post -n libgeany0 -p /sbin/ldconfig
|
|
%postun -n libgeany0 -p /sbin/ldconfig
|
|
|
|
%files
|
|
%{_mandir}/man1/geany.1%{ext_man}
|
|
%{_bindir}/geany
|
|
%{_datadir}/applications/geany.desktop
|
|
%{_datadir}/geany/
|
|
%{_datadir}/icons/hicolor/
|
|
%{_datadir}/icons/Tango/
|
|
%dir %{_libdir}/geany
|
|
%{_libdir}/geany/*.so
|
|
%dir %{_datadir}/appdata
|
|
%{_datadir}/appdata/geany.appdata.xml
|
|
|
|
%files -n libgeany0
|
|
%{_libdir}/libgeany.so.*
|
|
|
|
%files doc
|
|
# AUTHORS, COPYING, README, etc. are installed during make install
|
|
%doc %{_defaultdocdir}/geany/
|
|
|
|
%files devel
|
|
%{_includedir}/geany/
|
|
%{_libdir}/pkgconfig/geany.pc
|
|
%{_libdir}/libgeany.so
|
|
|
|
%files lang -f %{name}.lang
|
|
|
|
%changelog
|