Compare commits

..

4 commits

Author SHA1 Message Date
Pat Riehecky
a0fdd280b6 drop package.cfg 2021-07-16 16:06:11 -05:00
Pat Riehecky
6bc0ce42c8 Merge branch 'rawhide' into epel8 2021-07-16 15:49:33 -05:00
Pat Riehecky
700f678058 Merge branch 'master' into epel8 2019-10-08 11:03:48 -05:00
Gwyn Ciesla
b7a6ade124 "Adding package.cfg file" 2019-10-08 09:35:55 -05:00
2 changed files with 30 additions and 170 deletions

View file

@ -1 +1 @@
SHA512 (xed-3.8.9.tar.gz) = bd72b1b4f41ecd352366cf193ebfbdd49f6bcdd8f0b347adc91c25ad1cc315cff8b13956dee51a43754cd81e508f06b2a592da2276bdb8f2ef43a12c516ea76d
SHA512 (xed-3.0.2.tar.gz) = 43d70c2b4bfe1ea36ec1a1cb6f7a092af38201c8901c91ff33717058b31693bdf53b81d7192ed9839d7e63835fd3689207dcc62ac597172a1c99750850021bdc

198
xed.spec
View file

@ -1,45 +1,41 @@
# Filter provides from plugins.
%global __provides_exclude_from ^%{_libdir}/%{name}/plugins/.*$
Name: xed
Version: 3.8.9
Release: 4%{?dist}
Version: 3.0.2
Release: 1%{?dist}
Summary: X-Apps [Text] Editor (Cross-DE, backward-compatible, GTK3, traditional UI)
# Automatically converted from old format: GPLv2+ - review is highly recommended.
License: GPL-2.0-or-later
License: GPLv2+
URL: https://github.com/linuxmint/%{name}
Source0: %url/archive/%{version}/%{name}-%{version}.tar.gz
ExcludeArch: %{ix86}
Source0: %url/archive/%{version}/%{name}-%{version}.tar.gz
BuildRequires: meson
BuildRequires: desktop-file-utils
BuildRequires: gettext
BuildRequires: gnome-common
# Required for meson's gnome.generate_gir
BuildRequires: gobject-introspection-devel
BuildRequires: gtk-doc
BuildRequires: intltool
BuildRequires: libappstream-glib
BuildRequires: pkgconfig(enchant)
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(gspell-1)
BuildRequires: pkgconfig(gtk+-3.0)
BuildRequires: pkgconfig(gtksourceview-4)
BuildRequires: pkgconfig(libpeas-gtk-1.0)
BuildRequires: pkgconfig(libxml-2.0)
BuildRequires: python3-gobject-devel
BuildRequires: pkgconfig(iso-codes)
BuildRequires: python3-gobject-base
BuildRequires: pkgconfig(sm)
BuildRequires: pkgconfig(xapp) >= 1.4.0
BuildRequires: python%{python3_pkgversion}-devel
Requires: iso-codes
Requires: libpeas1-loader-python3%{?_isa}
Requires: libpeas-loader-python%{python3_pkgversion}%{?_isa}
Requires: python%{python3_pkgversion}-gobject%{?_isa}
Requires: xapps%{?_isa}
Requires: xapp-symbolic-icons
Suggests: hunspell-en
Requires: zenity%{?_isa}
%description
Xed is a small, but powerful text editor. It has most standard text
@ -51,6 +47,7 @@ Xed is extensible through a plugin system, which currently includes
support for spell checking, comparing files, viewing CVS ChangeLogs, and
adjusting indentation levels.
%package devel
Summary: Files needed to develop plugins for %{name}
Requires: %{name}%{?_isa} == %{version}-%{release}
@ -58,6 +55,7 @@ Requires: %{name}%{?_isa} == %{version}-%{release}
%description devel
This package contains files needed to develop plugins for %{name}.
%package doc
Summary: Documentation files for %{name}
BuildArch: noarch
@ -65,11 +63,12 @@ BuildArch: noarch
%description doc
This package contains the documentation files for %{name}.
%prep
%setup -q
%autosetup -p 1
# Use 'classic'-theme by default.
%{__sed} -i -e 's!xed!classic!g' data/org.x.editor.gschema.xml.in
%{__sed} -i -e 's!tango!classic!g' data/org.x.editor.gschema.xml.in
# Make source-files noexec.
%{_bindir}/find . -type f -name '*.c' | %{_bindir}/xargs %{__chmod} -c 0644
@ -81,26 +80,25 @@ This package contains the documentation files for %{name}.
-Ddeprecated_warnings=false
%meson_build
%install
%meson_install
%{__sed} -i -e '/.*<project_group>.*/d' \
%{buildroot}%{_metainfodir}/org.x.editor.metainfo.xml
%{buildroot}%{_metainfodir}/%{name}.appdata.xml
%{_bindir}/find %{buildroot} -name '*.a' -print -delete
%{_bindir}/find %{buildroot} -name '*.la' -print -delete
%find_lang %{name}
%if 0%{?fedora} > 42
# libpeas is broken
#rm -rf %{buildroot}%{_libdir}/%{name}/plugins/{bracket-complete,joinlines*,open-uri-context-menu,textsize*}
%endif
%find_lang %{name} --with-gnome
%check
# Validate desktop-files.
%{_bindir}/desktop-file-validate \
%{buildroot}%{_datadir}/applications/org.x.editor.desktop
%{buildroot}%{_datadir}/applications/%{name}.desktop
# Validate AppData-files.
%{_bindir}/appstream-util validate-relax --nonet \
%{buildroot}%{_metainfodir}/org.x.editor.metainfo.xml
%{buildroot}%{_metainfodir}/%{name}.appdata.xml
%files -f %{name}.lang
%license AUTHORS COPYING debian/copyright
@ -108,167 +106,29 @@ This package contains the documentation files for %{name}.
%exclude %{_datadir}/%{name}/gir-1.0
%exclude %{_datadir}/%{name}/gir-1.0/*
%{_bindir}/%{name}
%{_metainfodir}/org.x.editor.metainfo.xml
%{_datadir}/applications/org.x.editor.desktop
%{_metainfodir}/%{name}.appdata.xml
%{_datadir}/applications/%{name}.desktop
%{_datadir}/dbus-1/services/org.x.editor.*service
%{_datadir}/glib-2.0/schemas/org.x.editor.*gschema.xml
%{_datadir}/gtksourceview-4/styles/xed.xml
%{_datadir}/help/*/%{name}/
%{_datadir}/%{name}/
%{_libdir}/%{name}/
%{_mandir}/man1/%{name}.1*
%files devel
%{_datadir}/%{name}/gir-1.0
%{_includedir}/%{name}/
%{_libdir}/pkgconfig/%{name}.pc
%files doc
%license %{_datadir}/licenses/%{name}*
%doc %{_datadir}/doc/%{name}*
%doc %{_datadir}/gtk-doc/*
%doc %{_datadir}/gtk-doc
%changelog
* Wed Aug 26 2026 Leigh Scott <leigh123linux@gmail.com> - 3.8.9-4
- Add requires xapp-symbolic-icons
* Fri Jul 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 3.8.9-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
* Sat Jan 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 3.8.9-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
* Fri Jan 09 2026 Leigh Scott <leigh123linux@gmail.com> - 3.8.9-1
- Update to 3.8.9
* Sat Dec 13 2025 Leigh Scott <leigh123linux@gmail.com> - 3.8.7-1
- Update to 3.8.7
* Fri Dec 12 2025 Leigh Scott <leigh123linux@gmail.com> - 3.8.6-1
- Update to 3.8.6
* Wed Sep 10 2025 Leigh Scott <leigh123linux@gmail.com> - 3.8.4-2
- Rebuild for libpeas1 changes
* Sat Sep 06 2025 Leigh Scott <leigh123linux@gmail.com> - 3.8.4-1
- Update to 3.8.4
* Fri Jul 25 2025 Fedora Release Engineering <releng@fedoraproject.org> - 3.8.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
* Sun Jan 19 2025 Fedora Release Engineering <releng@fedoraproject.org> - 3.8.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
* Mon Jan 06 2025 Leigh Scott <leigh123linux@gmail.com> - 3.8.2-1
- Update to 3.8.2
* Fri Dec 20 2024 Leigh Scott <leigh123linux@gmail.com> - 3.8.1-1
- Update to 3.8.1
* Fri Dec 06 2024 Leigh Scott <leigh123linux@gmail.com> - 3.8.0-1
- Update to 3.8.0
* Mon Dec 02 2024 Leigh Scott <leigh123linux@gmail.com> - 3.6.9-1
- Update to 3.6.9
* Mon Nov 25 2024 Leigh Scott <leigh123linux@gmail.com> - 3.6.7-1
- Update to 3.6.7
* Mon Aug 26 2024 David King <amigadave@amigadave.com> - 3.6.6-2
- Rebuild against gspell
* Tue Aug 20 2024 Leigh Scott <leigh123linux@gmail.com> - 3.6.6-1
- Update to 3.6.6
* Fri Jul 26 2024 Miroslav Suchý <msuchy@redhat.com> - 3.6.5-2
- convert license to SPDX
* Sat Jul 20 2024 Leigh Scott <leigh123linux@gmail.com> - 3.6.5-1
- Update to 3.6.5
* Sat Jul 20 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.6.4-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
* Thu Jul 04 2024 Leigh Scott <leigh123linux@gmail.com> - 3.6.4-2
- Restore classic theme default
* Thu Jul 04 2024 Leigh Scott <leigh123linux@gmail.com> - 3.6.4-1
- Update to 3.6.4
* Tue Jun 18 2024 Leigh Scott <leigh123linux@gmail.com> - 3.6.3-1
- Update to 3.6.3
* Tue Jun 11 2024 Leigh Scott <leigh123linux@gmail.com> - 3.6.2-1
- Update to 3.6.2
* Wed Jun 05 2024 Leigh Scott <leigh123linux@gmail.com> - 3.6.1-1
- Update to 3.6.1
* Tue Jun 04 2024 Leigh Scott <leigh123linux@gmail.com> - 3.6.0-1
- Update to 3.6.0
* Sat Jan 27 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.5-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Thu Jan 04 2024 Leigh Scott <leigh123linux@gmail.com> - 3.4.5-1
- Update to 3.4.5 release
* Tue Dec 05 2023 Leigh Scott <leigh123linux@gmail.com> - 3.4.4-1
- Update to 3.4.4 release
* Sat Jul 22 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Tue Jun 27 2023 Leigh Scott <leigh123linux@gmail.com> - 3.4.2-1
- Update to 3.4.2 release
* Thu Jun 08 2023 Leigh Scott <leigh123linux@gmail.com> - 3.4.1-1
- Update to 3.4.1 release
* Fri Jun 02 2023 Leigh Scott <leigh123linux@gmail.com> - 3.4.0-1
- Update to 3.4.0 release
* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.8-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Fri Dec 16 2022 Leigh Scott <leigh123linux@gmail.com> - 3.2.8-1
- Update to 3.2.8 release
* Sun Jul 24 2022 Leigh Scott <leigh123linux@gmail.com> - 3.2.7-1
- Update to 3.2.7 release
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.5-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Sun Jul 17 2022 Leigh Scott <leigh123linux@gmail.com> - 3.2.5-1
- Update to 3.2.5 release
* Sun Jul 17 2022 Leigh Scott <leigh123linux@gmail.com> - 3.2.4-1
- Update to 3.2.4 release
* Sun Jun 19 2022 Leigh Scott <leigh123linux@gmail.com> - 3.2.3-1
- Update to 3.2.3 release
* Sun Feb 13 2022 Leigh Scott <leigh123linux@gmail.com> - 3.2.2-4
- Fix last commit
* Sun Feb 13 2022 Leigh Scott <leigh123linux@gmail.com> - 3.2.2-3
- Fix (rhbz#2053951)
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Sat Jan 01 2022 Leigh Scott <leigh123linux@gmail.com> - 3.2.2-1
- Update to 3.2.2 release
* Mon Dec 06 2021 Leigh Scott <leigh123linux@gmail.com> - 3.2.1-1
- Update to 3.2.1 release
* Wed Nov 24 2021 Leigh Scott <leigh123linux@gmail.com> - 3.2.0-1
- Update to 3.2.0 release
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Fri Jun 25 2021 Leigh Scott <leigh123linux@gmail.com> - 3.0.2-1
- Update to 3.0.2 release