File terminix.spec of Package terminix

#
# spec file for package terminix
#

Summary: A tiling terminal emulator based on GTK+ 3
Name:    terminix
Version: 1.2.0
Release: 1%{dist}
License: MPL
Group:   Applications/Utilities
Url:     http://github.com/gnunn1/terminix
Source:  https://github.com/gnunn1/terminix/releases/download/%{version}/terminix.zip

BuildRequires: gtk3-devel
BuildRequires: gsettings-desktop-schemas-devel
BuildRequires: dconf
BuildRequires: unzip
%if 0%{?fedora}
BuildRequires: vte3-devel
BuildRequires: desktop-file-utils
Requires:      nautilus-python
Requires:      vte3
%else
BuildRequires: vte-devel
BuildRequires: update-desktop-files
Requires:      python-nautilus
Requires:      libvte-2_91-0
%endif

Requires: gtk3
Requires: gsettings-desktop-schemas
Requires: dconf

%description
A tiling terminal emulator for Linux using GTK+ 3

%prep
exit 0

%build
exit 0

%install
unzip -x -d %buildroot %{SOURCE0}

%post
%desktop_database_post
%icon_theme_cache_post
/usr/bin/glib-compile-schemas %{_datadir}/glib-2.0/schemas

%postun
%desktop_database_postun
%icon_theme_cache_postun
/usr/bin/glib-compile-schemas %{_datadir}/glib-2.0/schemas

%files
%defattr(755,root,root)
%{_bindir}/%{name}        
%{_datadir}/applications/com.gexperts.Terminix.desktop
%{_datadir}/%{name}
%{_datadir}/%{name}/resources/terminix.gresource
%{_datadir}/%{name}/schemes/*.json
%{_datadir}/glib-2.0/schemas/com.gexperts.Terminix.gschema.xml
%{_datadir}/dbus-1/services/com.gexperts.Terminix.service
%{_datadir}/locale/*/LC_MESSAGES/terminix.mo
%{_datadir}/nautilus-python/
%{_datadir}/nautilus-python/extensions
%{_datadir}/nautilus-python/extensions/open-terminix.py
%{_datadir}/metainfo/
%{_datadir}/metainfo/com.gexperts.Terminix.appdata.xml
%{_datadir}/icons/hicolor/
%{_datadir}/icons/hicolor/*/apps/com.gexperts.Terminix.png

%changelog
openSUSE Build Service is sponsored by