Compare commits
1 commit
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0eec48cdcf |
6 changed files with 103 additions and 1 deletions
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
/appeditor-1.1.0.tar.gz
|
||||
/appeditor-1.1.1.tar.gz
|
||||
13
00-fix-vala-issues.patch
Normal file
13
00-fix-vala-issues.patch
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
diff --git a/src/DesktopApp.vala b/src/DesktopApp.vala
|
||||
index 0e6fa47..fc7a11e 100644
|
||||
--- a/src/DesktopApp.vala
|
||||
+++ b/src/DesktopApp.vala
|
||||
@@ -130,7 +130,7 @@ public class AppEditor.DesktopApp : Object {
|
||||
|
||||
public unowned string get_path () {
|
||||
if (path == null) {
|
||||
- unowned string _path = info.get_string (KeyFileDesktop.KEY_PATH);
|
||||
+ string _path = info.get_string (KeyFileDesktop.KEY_PATH);
|
||||
if (_path == null) {
|
||||
_path = "";
|
||||
}
|
||||
3
README.md
Normal file
3
README.md
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
# appeditor
|
||||
|
||||
The appeditor package
|
||||
84
appeditor.spec
Normal file
84
appeditor.spec
Normal file
|
|
@ -0,0 +1,84 @@
|
|||
%global appname com.github.donadigo.appeditor
|
||||
|
||||
Name: appeditor
|
||||
Summary: Edit application menu
|
||||
Version: 1.1.1
|
||||
Release: 1%{?dist}
|
||||
License: LGPLv2+
|
||||
|
||||
URL: https://github.com/donadigo/%{name}
|
||||
Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
|
||||
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: gettext
|
||||
BuildRequires: libappstream-glib
|
||||
BuildRequires: meson
|
||||
BuildRequires: vala
|
||||
|
||||
BuildRequires: pkgconfig(gee-0.8)
|
||||
BuildRequires: pkgconfig(granite)
|
||||
BuildRequires: pkgconfig(gtk+-3.0)
|
||||
|
||||
Requires: contractor
|
||||
Requires: hicolor-icon-theme
|
||||
|
||||
%description
|
||||
AppEditor allows you to edit application entries in the application menu. Some
|
||||
of it's features include:
|
||||
|
||||
- Hide and show applications from the application menu
|
||||
- Create new application entries
|
||||
- Change application's display name, icon and more
|
||||
|
||||
|
||||
%prep
|
||||
%autosetup -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
|
||||
|
||||
%{_bindir}/%{appname}
|
||||
|
||||
%{_datadir}/applications/%{appname}.desktop
|
||||
%{_datadir}/contractor/%{appname}.contract
|
||||
%{_datadir}/glib-2.0/schemas/%{appname}.gschema.xml
|
||||
%{_datadir}/icons/hicolor/*/apps/%{appname}.svg
|
||||
%{_datadir}/metainfo/%{appname}.appdata.xml
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Apr 17 2020 Fabio Valentini <decathorpe@gmail.com> - 1.1.1-1
|
||||
- Update to version 1.1.1.
|
||||
|
||||
* Sat Nov 02 2019 Fabio Valentini <decathorpe@gmail.com> - 1.1.0-4
|
||||
- Include a simple patch to fix compilation with newer vala versions.
|
||||
|
||||
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
* Sat Sep 01 2018 Fabio Valentini <decathorpe@gmail.com> - 1.1.0-1
|
||||
- Initial package for fedora.
|
||||
|
||||
|
|
@ -1 +0,0 @@
|
|||
Orphaned for 6+ weeks
|
||||
1
sources
Normal file
1
sources
Normal file
|
|
@ -0,0 +1 @@
|
|||
SHA512 (appeditor-1.1.1.tar.gz) = 7700fdc6cfcca71250d1da2d84640a6d8160034aace04a6ed9d7dcc3c77d4dde7e0ef3c4e21a1a847069f009d2e45bfac0a33bf5e0868da560415231c653d27a
|
||||
Reference in a new issue