File tilda.spec of Package tilda

#
# spec file for package tilda
#
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


Name:           tilda
Version:        1.3.3
Release:        0
Summary:        A Gtk based drop down terminal for Linux and Unix
License:        GPL-2.0+
Group:          System/X11/Terminals
Url:            https://github.com/lanoxx/tilda/
Source0:        https://github.com/lanoxx/%{name}/archive/%{name}-%{version}.tar.gz
BuildRequires:  automake
BuildRequires:  gtk3-devel
BuildRequires:  update-desktop-files
BuildRequires:  vte-devel
BuildRequires:  pkgconfig(libconfuse)
Recommends:     %{name}-lang
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
Tilda is a terminal emulator and can be compared with other popular terminal
emulators such as gnome-terminal (Gnome), Konsole (KDE), xterm and many others.
The specialities of Tilda are that it does not behave like a normal window
but instead it can be pulled up and down from the top of the screen with
a special hotkey. Additionally Tilda is highly configurable.
It is possible to configure the hotkeys for keybindings,
change the appearance and many options that affect the behavior of Tilda.
The screen shots below show some of the options that Tilda provides.

%lang_package
%prep
%setup -q -n %{name}-%{name}-%{version}

%build
NOCONFIGURE=1 ./autogen.sh
%if 0%{?suse_version} >= 1315
%configure
%else
%configure --disable-vte-2.91
%endif
make %{?_smp_mflags}

%install
%makeinstall
%suse_update_desktop_file %{name}
%find_lang %{name} %{?no_lang_C}

%post
%desktop_database_post

%postun
%desktop_database_postun

%files
%defattr(-,root,root,-)
%doc AUTHORS COPYING README.md ChangeLog HACKING.md TODO.md
%{_bindir}/%{name}
%{_datadir}/applications/%{name}.desktop
%{_datadir}/pixmaps/%{name}.png
%dir %{_datadir}/appdata
%{_datadir}/appdata/%{name}.appdata.xml

%files lang -f %{name}.lang

%changelog
openSUSE Build Service is sponsored by