## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-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*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec %global uuid com.github.fabiocolacio.%{name} %global vergit 2023.05.02 # Git submodules # * scidown %global submodule1 scidown %global submodule1_commit a7b7f063de4f272ef0ec12d00b98470888e8cb32 %global submodule1_shortcommit %(c=%{submodule1_commit}; echo ${c:0:7}) # * charter %global submodule2 charter %global submodule2_commit a25dee1214ea9ba5882325066555cb813efbb489 %global submodule2_shortcommit %(c=%{submodule2_commit}; echo ${c:0:7}) # * tinyexpr %global submodule3 tinyexpr %global submodule3_commit 9476568b69de4c384903f1d5f255907b92592f45 %global submodule3_shortcommit %(c=%{submodule3_commit}; echo ${c:0:7}) Name: marker Version: 0.0.%{vergit} Release: %autorelease Summary: GTK 3 markdown editor # The entire source code is GPLv3+ except: # # Apache License (v2.0) # ------------------------------------ # data/scripts/mathjax/ # # Creative Commons Attribution-ShareAlike Public License (v3.0) # ---------------------------------------------------------------------------- # help/C/legal.xml # # Creative Commons Attribution-ShareAlike Public License (v4.0) # ---------------------------------------------------------------------------- # data/scripts/highlight/styles/ # # Creative Commons CC0 Public License (v1.0) # --------------------------------------------------------- # data/scripts/highlight/styles/hopscotch.css # # zlib/libpng license # ---------------------------------- # src/scidown/src/charter/src/tinyexpr/README.md # # BSD 3-clause "New" or "Revised" License # --------------------------------------- # data/scripts/highlight/LICENSE # # Creative Commons CC0 Public License (v5) # ---------------------------------------- # data/scripts/mathjax/fonts/HTML-CSS/TeX/png/SansSerif/Regular/336/0035.png # # Expat License # ------------- # data/scripts/highlight/styles/dracula.css # data/scripts/mathjax/extensions/a11y/wgxpath.install.js # # ISC License # ----------- # src/scidown/LICENSE # # SIL Open Font License # --------------------- # data/scripts/mathjax/fonts/HTML-CSS/STIX-Web/ # # SIL Open Font License (v1.1) # ---------------------------- # data/scripts/katex/fonts/ # data/scripts/mathjax/fonts/HTML-CSS/Asana-Math/ # data/scripts/mathjax/fonts/HTML-CSS/Neo-Euler/ # data/scripts/mathjax/fonts/HTML-CSS/STIX-Web/ # data/scripts/mathjax/fonts/HTML-CSS/TeX/ # License: GPLv3+ and GPLv2 and LGPLv3+ and CC-BY-SA and ISC and BSD and ASL 2.0 and MIT and CC0 and OFL and zlib URL: https://github.com/fabiocolacio/Marker Source0: %{url}/archive/%{vergit}/%{name}-%{vergit}.tar.gz Source1: https://github.com/Mandarancio/%{submodule1}/archive/%{submodule1_commit}/%{submodule1}-%{submodule1_shortcommit}.tar.gz Source2: https://github.com/Mandarancio/%{submodule2}/archive/%{submodule2_commit}/%{submodule2}-%{submodule2_shortcommit}.tar.gz Source3: https://github.com/codeplea/%{submodule3}/archive/%{submodule3_commit}/%{submodule3}-%{submodule3_shortcommit}.tar.gz BuildRequires: desktop-file-utils BuildRequires: gcc BuildRequires: intltool BuildRequires: itstool BuildRequires: libappstream-glib BuildRequires: meson BuildRequires: pkgconfig(gtk+-3.0) BuildRequires: pkgconfig(gtksourceview-3.0) BuildRequires: pkgconfig(gtkspell3-3.0) BuildRequires: pkgconfig(webkit2gtk-4.1) Requires: %{name}-data = %{version}-%{release} Requires: hicolor-icon-theme Provides: bundled(highlight-js) = 9.12.0 Provides: bundled(katex) Provides: bundled(mathjax) = 2.7.4 Provides: bundled(scidown) = 0.1.0~a7b7f06 # Fonts Provides: bundled(asana-math-fonts) Provides: bundled(gyre-pagella-fonts) Provides: bundled(gyre-termes-fonts) Provides: bundled(katex-fonts) Provides: bundled(latin-modern-fonts) Provides: bundled(neo-euler-fonts) Provides: bundled(stix-web-fonts) Provides: bundled(tex-fonts) %description Marker is a markdown editor for Linux made with Gtk+-3.0. %package data Summary: Data files for %{name} BuildArch: noarch Requires: %{name} = %{version}-%{release} %description data Data files for %{name}. %prep %autosetup -n Marker-%{vergit} -p1 %autosetup -n Marker-%{vergit} -D -T -a1 %autosetup -n Marker-%{vergit} -D -T -a2 %autosetup -n Marker-%{vergit} -D -T -a3 mv %{submodule1}-%{submodule1_commit}/* src/%{submodule1}/ mv %{submodule2}-%{submodule2_commit}/* src/%{submodule1}/src/%{submodule2}/ mv %{submodule3}-%{submodule3_commit}/* src/%{submodule1}/src/%{submodule2}/src/%{submodule3}/ %build %meson %meson_build %install %meson_install %find_lang %{name} %find_lang Marker --with-gnome rm %{buildroot}%{_datadir}/%{uuid}/icons/hicolor/generate.sh %check appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/*.xml desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop %files -f %{name}.lang -f Marker.lang %license LICENSE.md %doc README.md CONTRIBUTING.md example.md %{_bindir}/%{name} # FIXME # Still incorrect place for libraries. Need to report upstream. Continuation of # https://github.com/fabiocolacio/Marker/issues/293 %{_prefix}/lib/Marker.extensions/*.so %{_datadir}/applications/*.desktop %{_datadir}/glib-2.0/schemas/*.gschema.xml %{_datadir}/icons/hicolor/*/*/*.svg %{_metainfodir}/*.xml %files data %{_datadir}/%{uuid}/ %changelog ## START: Generated by rpmautospec * Thu Jul 20 2023 Fedora Release Engineering - 0.0.2023.05.02-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Wed May 03 2023 Artem Polishchuk - 0.0.2023.05.02-1 - build: Update to 2023.05.02 * Thu Jan 19 2023 Fedora Release Engineering - 0.0.2020.04.04-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Sun Oct 09 2022 Artem Polishchuk - 0.0.2020.04.04-9 - build: Add BR: itstool * Thu Jul 21 2022 Fedora Release Engineering - 0.0.2020.04.04-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Thu Jan 20 2022 Fedora Release Engineering - 0.0.2020.04.04-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 0.0.2020.04.04-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering - 0.0.2020.04.04-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Sep 2 2020 Artem Polishchuk - 0.0.2020.04.04-3 - Remove old LTO macros * Tue Jul 28 2020 Fedora Release Engineering - 0.0.2020.04.04-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Sat Apr 04 2020 Artem Polishchuk - 0.0.2020.04.04-1 - Update to 2020.04.04 * Wed Jan 29 2020 Fedora Release Engineering - 0.0.2019.11.06-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Sat Jan 04 2020 Artem Polishchuk - 2019.11.06-5 - Switch to release tarballs - Provides all bundled components * Tue Dec 10 2019 Artem Polishchuk - 2019.11.06-1.20191210git49a7e14 - Update to 2019.11.06 * Tue Apr 30 2019 Artem Polishchuk - 2018.07.03-1.20190430gitc0f8c7e - Update to latest snapshot * Fri Apr 05 2019 Artem Polishchuk - 2018.07.03-3.20190227gited56a04 - Initial package ## END: Generated by rpmautospec