File Terminal.spec of Package Terminal

#
# spec file for package Terminal (Version 0.4.0)
#
# Copyright (c) 2009 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/
#

# norootforbuild


Name:           Terminal
BuildRequires:  dbus-1-devel gtk2-devel libpng-devel startup-notification update-desktop-files vte-devel
BuildRequires:  exo-devel intltool
Summary:        This is the Terminal emulator application
Version:        0.4.0
Release:        1
License:        GPL v2 or later
Url:            http://www.xfce.org/
Source:         http://goodies.xfce.org/releases/terminal/%{name}-%{version}.tar.bz2
Source1:        rpmlintrc
Group:          System/GUI/XFCE
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
This is the Terminal emulator application. Terminal is a lightweight
and easy to use terminal emulator for the X windowing system, with some
new ideas and features that makes it unique among X terminal emulators.



Authors:
--------
    Benedikt Meurer <benny@xfce.org>
    Francois Le Clainche <fleclainche@wanadoo.fr>

%prep
%setup -q -n Terminal-%{version}

%build
%configure
make %{?jobs:-j%jobs}

%install
make DESTDIR=$RPM_BUILD_ROOT install
%suse_update_desktop_file -i Terminal System TerminalEmulator Utility
install -m 0755 -d $RPM_BUILD_ROOT/usr/share/pixmaps/
install -c -m 644 icons/terminal.xpm $RPM_BUILD_ROOT/usr/share/pixmaps/Terminal.xpm
%find_lang %{name}

%clean
rm -rf $RPM_BUILD_ROOT

%files -f %name.lang
%defattr(-,root,root)
%doc README ChangeLog COPYING AUTHORS HACKING NEWS THANKS
%{_bindir}/Terminal
%{_bindir}/terminal
%{_libexecdir}/Terminal*
%{_datadir}/Terminal/*ui
%{_datadir}/Terminal/Terminal.glade
%{_datadir}/applications/Terminal.desktop
%{_datadir}/doc/Terminal/*/*
%{_datadir}/doc/Terminal/terminal.css
%dir %{_datadir}/Terminal
%dir %{_datadir}/doc/Terminal
%dir %{_datadir}/doc/Terminal/*
%dir %{_datadir}/icons/hicolor/*
%dir %{_datadir}/icons/hicolor/*/*
%{_datadir}/icons/hicolor/*/*/*
%{_datadir}/pixmaps/Terminal.xpm
%{_datadir}/pixmaps/terminal.xpm
%{_mandir}/*/*

%changelog
openSUSE Build Service is sponsored by