summaryrefslogtreecommitdiff
path: root/mozo.spec
diff options
context:
space:
mode:
Diffstat (limited to 'mozo.spec')
-rw-r--r--mozo.spec56
1 files changed, 56 insertions, 0 deletions
diff --git a/mozo.spec b/mozo.spec
new file mode 100644
index 0000000..eeed576
--- /dev/null
+++ b/mozo.spec
@@ -0,0 +1,56 @@
+%global branch 1.28
+
+Name: mozo
+Version: %{branch}.0
+Release: 1
+Summary: MATE Desktop menu editor
+License: LGPLv2+
+URL: http://mate-desktop.org
+Source0: http://pub.mate-desktop.org/releases/%{branch}/%{name}-%{version}.tar.xz
+
+BuildRequires: desktop-file-utils
+BuildRequires: make
+BuildRequires: mate-common
+BuildRequires: mate-menus-devel
+BuildRequires: pkgconfig(pygobject-3.0)
+BuildRequires: python3-devel
+
+Requires: mate-menus
+
+BuildArch: noarch
+
+%description
+MATE Desktop menu editor
+
+%prep
+%autosetup -p1
+
+%build
+%configure
+
+make %{?_smp_mflags} V=1
+
+%install
+%{make_install}
+
+desktop-file-install \
+ --dir=%{buildroot}%{_datadir}/applications \
+%{buildroot}%{_datadir}/applications/mozo.desktop
+
+%find_lang %{name} --with-gnome --all-name
+
+
+%files -f %{name}.lang
+%doc AUTHORS COPYING README
+%{_bindir}/mozo
+%{_datadir}/icons/hicolor/*x*/apps/mozo.png
+%{_datadir}/mozo/
+%{_datadir}/applications/mozo.desktop
+%{_mandir}/man1/mozo.1.*
+%dir %{python3_sitelib}/Mozo
+%{python3_sitelib}/Mozo/*
+
+
+%changelog
+* Sun Dec 01 2024 sqfu <dev01203@linx-info.com> - 1.28.0-1
+- package init.