File Terminal.spec of Package Terminal

#
# spec file for package Terminal (Version 0.2.8.3)
#
# Copyright (c) 2008 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 vte-devel
BuildRequires:  exo-devel >= 0.3.4 intltool
Summary:        This is the Terminal emulator application
Version:        0.2.8.3
Release:        1
License:        GPL v2 or later
Url:            http://www.xfce.org/
Source:         %{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}/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
* Wed Oct 29 2008 bwalle@suse.de
- update to Terminal 0.2.8.3
  o Update to latest trunk translations.
* Wed Dec 05 2007 prusnak@suse.cz
- added version to exo-devel in BuildRequires
* Mon Dec 03 2007 bwalle@suse.de
- update to Terminal 0.2.8
  o Close tabs with middle mouse click
  o Security fix: URL handling allowed remote shell command
  execution
  o The preferred application handling was completely removed from
  Terminal. Instead the Xfce Preferred Applications are invoked
  directly now. The URL highlighting can still be disabled via
  the hidden option "MiscHighlightUrls"
  o Test for support of -Wall, -Werror and -errwarn=%%all
  o Add support to disable the single line scrolling using
  Shift-Up/-Down
  o Embed the user interface description into the binary
  o Set $WINDOWID properly
  o Add support to close tabs with middle click
  o Updated translations
* Sun Oct 21 2007 bwalle@suse.de
- replaced group 'System/GUI/Other' by 'System/GUI/XFCE'
* Wed Aug 08 2007 bwalle@suse.de
- added "THANKS" and "NEWS" file to the package
* Sun Jul 22 2007 bwalle@suse.de
- fix build fix (chdir() returns 0 on success)
* Sun Jul 22 2007 bwalle@suse.de
- update to svn revision 25932
  o Close tabs with middle mouse click
  o Security fix: URL handling allowed remote shell command
  execution (#292988)
  o The preferred application handling was completely removed from
  Terminal.
* Tue Jun 19 2007 prusnak@suse.cz
- cleaned spec file, use %%find_lang
* Tue May 22 2007 prusnak@suse.cz
- call %%suse_update_desktop_file
* Tue May 22 2007 prusnak@suse.cz
- sync with BuildService
- fixed desktop file
* Sun Jan 21 2007 bwalle@suse.de
- updated to 0.2.6
- removed transparency and tab reordering patch because it's
  now upstream
* Fri Jan 19 2007 pnemec@suse.cz
- renamed all patches starting with 't' to 'T'
* Fri Jan 19 2007 pnemec@suse.cz
- package is ported from BuildService project in Autobuild
* Fri Jan 05 2007 bwalle@suse.de
- apply the Firefox fix from libexo also to Terminal
* Mon Dec 11 2006 bwalle@suse.de
- hacked a quick patch to enable real transparency (with Composite Extension)
  and included this patch (only openSUSE 10.2 and above)
* Fri Nov 17 2006 bwalle@suse.de
- applied tab reorder patch from Xfce Bugzilla
* Sun Nov 05 2006 bwalle@suse.de
- updated to 4.3.99.2 (4.4 rc2)
- removed patch because the fix is already in upstream
* Sun Sep 10 2006 bwalle@suse.de
- added patch from Bugzilla (http://bugzilla.xfce.org/show_bug.cgi?id=2284)
* Tue Sep 05 2006 pnemec@suse.cz
- updated to new version 0.2.5.6rc1
* Thu Aug 24 2006 pnemec@suse.cz
- added dbus-devel to build requires
* Wed Aug 02 2006 pnemec@suse.cz
- initial comment, version is 0.2.5.4beta2
- package moved into BuildService
- added Terminal-desktop.patch - small modification of desktop file
openSUSE Build Service is sponsored by