File terminology.spec of Package terminology
#
# spec file for package terminology
#
# Copyright (c) 2013 SUSE LINUX Products 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: terminology
Version: 0.3.0
Release: 0
Summary: EFL based terminal emulator
License: BSD-2-Clause and OFL-1.1
Group: System/X11/Terminals
Url: http://enlightenment.org
Source: %{name}-%{version}.tar.bz2
BuildRequires: ecore-devel
BuildRequires: edje-devel
BuildRequires: eet-devel
BuildRequires: efreet-devel
BuildRequires: eina-devel
BuildRequires: elementary-devel >= 1.6.99
BuildRequires: evas-devel
%if 0%{?suse_version}
BuildRequires: fdupes
BuildRequires: update-desktop-files
%endif
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires: elementary >= 1.7.0
%description
Fast and lightweight terminal emulator using EFL libraries.
%prep
%setup -q
%build
%configure --disable-silent-rules --disable-static
make %{?_smp_mflags}
%install
%makeinstall
sed -i 's/.png[[:blank:]]*$//' %{buildroot}%{_datadir}/applications/terminology.desktop
%if 0%{?suse_version}
%suse_update_desktop_file terminology TerminalEmulator
%fdupes %{buildroot}/%{_datadir}
%endif
mv %{buildroot}%{_datadir}/icons %{buildroot}%{_datadir}/pixmaps
%clean
%{?buildroot:rm -rf %{buildroot}}
%files
%defattr(-,root,root)
%doc README COPYING
%{_bindir}/terminology
%{_bindir}/ty*
%{_datadir}/applications/terminology.desktop
%{_datadir}/pixmaps/terminology.png
%{_datadir}/terminology
%changelog