Blame appeditor.spec

9c984bb
%global appname com.github.donadigo.appeditor
9c984bb
9c984bb
Name:           appeditor
9c984bb
Summary:        Edit application menu
9c984bb
Version:        1.1.0
060f383
Release:        4%{?dist}
9c984bb
License:        LGPLv2+
9c984bb
9c984bb
URL:            https://github.com/donadigo/%{name}
9c984bb
Source0:        %{url}/archive/%{version}/%{name}-%{version}.tar.gz
9c984bb
060f383
# simple patch to fix compilation with newer vala versions
060f383
Patch0:         00-fix-vala-issues.patch
060f383
9c984bb
BuildRequires:  desktop-file-utils
9c984bb
BuildRequires:  gettext
9c984bb
BuildRequires:  libappstream-glib
9c984bb
BuildRequires:  meson
9c984bb
BuildRequires:  vala
9c984bb
9c984bb
BuildRequires:  pkgconfig(gee-0.8)
9c984bb
BuildRequires:  pkgconfig(granite)
9c984bb
BuildRequires:  pkgconfig(gtk+-3.0)
9c984bb
9c984bb
Requires:       contractor
9c984bb
Requires:       hicolor-icon-theme
9c984bb
9c984bb
%description
9c984bb
AppEditor allows you to edit application entries in the application menu. Some
9c984bb
of it's features include:
9c984bb
9c984bb
- Hide and show applications from the application menu
9c984bb
- Create new application entries
9c984bb
- Change application's display name, icon and more
9c984bb
9c984bb
9c984bb
%prep
060f383
%autosetup -p1
9c984bb
9c984bb
9c984bb
%build
9c984bb
%meson
9c984bb
%meson_build
9c984bb
9c984bb
9c984bb
%install
9c984bb
%meson_install
9c984bb
9c984bb
%find_lang %{appname}
9c984bb
9c984bb
9c984bb
%check
9c984bb
desktop-file-validate \
9c984bb
    %{buildroot}/%{_datadir}/applications/%{appname}.desktop
9c984bb
9c984bb
appstream-util validate-relax --nonet \
9c984bb
    %{buildroot}/%{_datadir}/metainfo/%{appname}.appdata.xml
9c984bb
9c984bb
9c984bb
%files -f %{appname}.lang
9c984bb
%doc README.md
9c984bb
9c984bb
%{_bindir}/%{appname}
9c984bb
9c984bb
%{_datadir}/applications/%{appname}.desktop
9c984bb
%{_datadir}/contractor/%{appname}.contract
9c984bb
%{_datadir}/glib-2.0/schemas/%{appname}.gschema.xml
9c984bb
%{_datadir}/icons/hicolor/*/apps/%{appname}.svg
9c984bb
%{_datadir}/metainfo/%{appname}.appdata.xml
9c984bb
9c984bb
9c984bb
%changelog
060f383
* Sat Nov 02 2019 Fabio Valentini <decathorpe@gmail.com> - 1.1.0-4
060f383
- Include a simple patch to fix compilation with newer vala versions.
060f383
7eec04e
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-3
7eec04e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
7eec04e
0b4bcbc
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-2
0b4bcbc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
0b4bcbc
9c984bb
* Sat Sep 01 2018 Fabio Valentini <decathorpe@gmail.com> - 1.1.0-1
9c984bb
- Initial package for fedora.
9c984bb