commit 4f9ea5f524cc0b4af660add841ceae74ec2ee25a Author: Sofia Boldyreva Date: Thu Mar 16 16:19:58 2023 +0100 Import elementary-code-6.2.0-2.el9 diff --git a/.elementary-code.metadata b/.elementary-code.metadata new file mode 100644 index 0000000..afcea4b --- /dev/null +++ b/.elementary-code.metadata @@ -0,0 +1 @@ +72fb359787742fe59b111c6c8075e956aad4a7a1 SOURCES/code-6.2.0.tar.gz diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..cdf1aac --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/code-6.2.0.tar.gz diff --git a/SPECS/elementary-code.spec b/SPECS/elementary-code.spec new file mode 100644 index 0000000..446f198 --- /dev/null +++ b/SPECS/elementary-code.spec @@ -0,0 +1,212 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.2.6) +%define autorelease(e:s:pb:) %{?-p:0.}%{lua: + release_number = 2; + base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); + print(release_number + base_release_number - 1); +}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{?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: 6.2.0 +Release: %autorelease +License: GPLv3 + +URL: https://github.com/elementary/%{srcname} +Source0: %{url}/archive/%{version}/%{srcname}-%{version}.tar.gz + +BuildRequires: desktop-file-utils +BuildRequires: gettext +BuildRequires: libappstream-glib +BuildRequires: meson +BuildRequires: vala + +BuildRequires: polkit-devel +# keep in sync with the available version of vala +BuildRequires: pkgconfig(libvala-0.48) + +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(libsoup-2.4) +BuildRequires: pkgconfig(pangoft2) +BuildRequires: pkgconfig(vte-2.91) + +Requires: hicolor-icon-theme + +%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}.appdata.xml + + +%files -f %{appname}.lang +%doc README.md +%license COPYING + +%{_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}/icons/hicolor/*/apps/%{appname}.svg +%{_datadir}/%{appname}/ +%{_datadir}/metainfo/%{appname}.appdata.xml +%{_datadir}/polkit-1/actions/%{appname}.policy + +%files devel +%{_includedir}/codecore.h + +%{_libdir}/libcodecore.so +%{_libdir}/pkgconfig/codecore.pc + +%{_datadir}/vala/vapi/codecore.deps +%{_datadir}/vala/vapi/codecore.vapi + + +%changelog +* Thu Mar 16 2023 Sofia Boldyreva 6.2.0-2 +- Replaced libvala required version to 0.48 to match AlmaLinux 9 repositories + +* Thu Jul 21 2022 Fedora Release Engineering 6.2.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Thu Apr 07 2022 Fabio Valentini 6.2.0-1 +- Update to version 6.2.0; Fixes RHBZ#2071891 + +* Thu Jan 20 2022 Fedora Release Engineering 6.1.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Fri Jan 14 2022 David King 6.1.0-2 +- Rebuilt for vala 0.56 + +* Wed Nov 24 2021 Fabio Valentini 6.1.0-1 +- Update to version 6.1.0; Fixes RHBZ#2026394 + +* Wed Sep 29 2021 Fabio Valentini 6.0.1-1 +- Update to version 6.0.1; Fixes RHBZ#2008839 + +* Mon Aug 23 2021 Kalev Lember 6.0.0-4 +- Rebuilt for vala 0.54 + +* Wed Jul 21 2021 Fedora Release Engineering 6.0.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Fri Jul 16 2021 Fabio Valentini 6.0.0-2 +- Make sure correct version of libvala is installed + +* Fri Jul 16 2021 Fabio Valentini 6.0.0-1 +- Update to version 6.0.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. +