## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec %global srcname code %global appname io.elementary.code %global __provides_exclude_from ^%{_libdir}/%{appname}/.*\\.so$ Name: elementary-code Summary: Code editor from elementary Version: 7.3.0 Release: %autorelease License: GPL-3.0-or-later AND LGPL-3.0-only AND LGPL-3.0-or-later AND GPL-2.0-or-later URL: https://github.com/elementary/%{srcname} Source0: %{url}/archive/%{version}/%{srcname}-%{version}.tar.gz BuildRequires: desktop-file-utils BuildRequires: gcc BuildRequires: gettext BuildRequires: libappstream-glib BuildRequires: meson >= 0.58.0 BuildRequires: vala BuildRequires: polkit-devel BuildRequires: pkgconfig(editorconfig) BuildRequires: pkgconfig(fontconfig) BuildRequires: pkgconfig(gee-0.8) >= 0.8.5 BuildRequires: pkgconfig(gio-unix-2.0) >= 2.20 BuildRequires: pkgconfig(glib-2.0) >= 2.30.0 BuildRequires: pkgconfig(granite) >= 6.0.0 BuildRequires: pkgconfig(gtksourceview-4) BuildRequires: pkgconfig(gtkspell3-3.0) BuildRequires: pkgconfig(gtk+-3.0) >= 3.6.0 BuildRequires: pkgconfig(libgit2-glib-1.0) BuildRequires: pkgconfig(libhandy-1) >= 0.90.0 BuildRequires: pkgconfig(libpeas-1.0) BuildRequires: pkgconfig(libpeas-gtk-1.0) BuildRequires: pkgconfig(libvala-0.56) BuildRequires: pkgconfig(libsoup-2.4) BuildRequires: pkgconfig(pangoft2) BuildRequires: pkgconfig(vte-2.91) Requires: hicolor-icon-theme Requires: polkit %description %{summary}. %package devel Summary: The text editor that works (development files) Requires: %{name}%{?_isa} = %{version}-%{release} %description devel %{summary}. This package contains the development headers. %prep %autosetup -n %{srcname}-%{version} -p1 %build %meson %meson_build %install %meson_install %find_lang %{appname} %check desktop-file-validate \ %{buildroot}/%{_datadir}/applications/%{appname}.desktop appstream-util validate-relax --nonet \ %{buildroot}/%{_datadir}/metainfo/%{appname}.metainfo.xml %files -f %{appname}.lang %license COPYING %doc README.md %{_bindir}/%{appname} %{_libdir}/%{appname}/ %{_libdir}/libcodecore.so.0 %{_libdir}/libcodecore.so.0.0 %{_datadir}/applications/%{appname}.desktop %{_datadir}/glib-2.0/schemas/%{appname}*.gschema.xml %{_datadir}/gtksourceview-4/styles/elementary-{dark,light}.xml %{_datadir}/icons/hicolor/*/apps/%{appname}.svg %{_datadir}/%{appname}/ %{_datadir}/metainfo/%{appname}.metainfo.xml %{_datadir}/polkit-1/actions/%{appname}.policy %{_mandir}/man1/%{appname}.1* %files devel %{_includedir}/codecore.h %{_libdir}/libcodecore.so %{_libdir}/pkgconfig/codecore.pc %{_datadir}/vala/vapi/codecore.deps %{_datadir}/vala/vapi/codecore.vapi %changelog ## START: Generated by rpmautospec * Wed Oct 16 2024 Fabio Valentini - 7.3.0-1 - Update to version 7.3.0; Fixes RHBZ#2299904 * Wed Jul 17 2024 Fedora Release Engineering - 7.2.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Thu Mar 14 2024 Fabio Valentini - 7.2.0-1 - Update to version 7.2.0; Fixes RHBZ#2259196 * Wed Jan 24 2024 Fedora Release Engineering - 7.1.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jan 19 2024 Fedora Release Engineering - 7.1.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Nov 27 2023 Fabio Valentini - 7.1.0-1 - Update to version 7.1.0 * Tue Apr 13 2021 Kalev Lember - 3.4.1-5.20210215gitccaa2f0 - Rebuilt for vala 0.52 * Thu Feb 18 2021 Fabio Valentini - 3.4.1-4.20210215gitccaa2f0 - Bump to commit ccaa2f0. Rebuilt for granite 6 soname bump. * Tue Jan 26 2021 Fedora Release Engineering - 3.4.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Mon Jul 27 2020 Fedora Release Engineering - 3.4.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Fri Jun 12 2020 Fabio Valentini - 3.4.1-1 - Update to version 3.4.1. * Thu Apr 02 2020 Fabio Valentini - 3.4.0-1 - Update to version 3.4.0. * Sat Feb 29 2020 Fabio Valentini - 3.3.0-1 - Update to version 3.3.0. * Tue Jan 28 2020 Fedora Release Engineering - 3.2.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Jan 24 2020 Kalev Lember - 3.2.0-2 - Rebuilt for vala 0.48 * Sat Jan 11 2020 Fabio Valentini - 3.2.0-1 - Update to version 3.2.0. * Wed Jul 24 2019 Fedora Release Engineering - 3.1.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri Jul 19 2019 Kalev Lember - 3.1.1-3 - Rebuilt for vala 0.46 * Tue Apr 16 2019 Adam Williamson - 3.1.1-2 - Rebuild with Meson fix for #1699099 * Sun Mar 17 2019 Fabio Valentini - 3.1.1-1 - Update to version 3.1.1. * Thu Mar 07 2019 Fabio Valentini - 3.1.0-1 - Update to version 3.1.0. * Thu Jan 31 2019 Fedora Release Engineering - 3.0.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Mon Jan 07 2019 Fabio Valentini - 3.0.2-1 - Update to version 3.0.2. * Mon Jan 07 2019 Kalev Lember - 3.0.1-2 - Rebuilt for vala 0.44 * Tue Dec 18 2018 Fabio Valentini - 3.0.1-1 - Update to version 3.0.1. * Thu Oct 18 2018 Fabio Valentini - 3.0-1 - Update to version 3.0. * Tue Aug 28 2018 Fabio Valentini - 2.4.1-13.20180825.gitdf6691c - Initial package renamed from scratch-text-editor. ## END: Generated by rpmautospec