LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File terminology.spec of Package terminology (Project X11:Enlightenment:Nightly)

#
# spec file for package terminology
#
# Copyright (c) 2010 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/
#

### # begin - this section is used for automatic updates
### REVISION=86cc375322e07a92b1c15858d546b388107a0b03
### SRC_REL_DIR=terminology
### pre_configure_hook() { dependency_hack; }
### # end - this section is used for automatic updates


Name:           terminology
Version:	0.5.99
Release:        0
License:        BSD-2-Clause
Summary:        EFL based terminal emulator
Url:            git://git.enlightenment.org/apps/terminology.git
Group:          System/X11/Terminals
Source:         %{name}-%{version}.tar.bz2
Source2:	terminology.desktop
BuildRequires:  automake
BuildRequires:  efl-devel
BuildRequires:  elementary-devel
%if 0%{?suse_version}
BuildRequires:	update-desktop-files
%endif
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Requires:       elementary >= 1.7.99
Requires:       evas-generic-loaders >= 1.7.99

%description
Fast and lightweight terminal emulator using EFL libraries.

%prep
%setup -q

%build
%configure --disable-silent-rules --disable-static
make %{?_smp_mflags}

%install
make install DESTDIR="%buildroot"
sed -i 's/.png[[:blank:]]*$//' %{buildroot}%{_datadir}/applications/terminology.desktop
#cp %SOURCE2 %{buildroot}%{_datadir}/applications/terminology.desktop
%if 0%{?suse_version}
%suse_update_desktop_file terminology TerminalEmulator
%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
%{_datadir}/man

%changelog