lxterminal/lxterminal.spec
OBS User autobuild d9f7431db3 Accepting request 33728 from X11:lxde
Copy from X11:lxde/lxterminal based on submit request 33728 from user anubisg1

OBS-URL: https://build.opensuse.org/request/show/33728
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lxterminal?expand=0&rev=2
2010-03-02 00:41:16 +00:00

71 lines
2.0 KiB
RPMSpec

#
# spec file for package lxterminal (Version 0.1.7)
#
# 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/
#
# norootforbuild
Name: lxterminal
Version: 0.1.7
Release: 1
Summary: Lightweight LXDE Terminal
Group: System/X11/Utilities
License: GPL
Url: http://www.lxde.org/
Source0: %name-%version.tar.bz2
Patch0: %name-0.1.6-disable-f10.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: fdupes gtk2-devel intltool pkg-config update-desktop-files
BuildRequires: docbook-utils docbook-xsl-stylesheets libxslt-devel vte-devel
%description
LXTerminal is a lightweight Terminal Emulator.
This package even if DE independent it's part
of the LXDE project
%prep
%setup -q
%patch0 -p1
%build
export CFLAGS="$RPM_OPT_FLAGS"
export CXXFLAGS="$RPM_OPT_FLAGS"
%configure --enable-man
%__make %{?jobs:-j%jobs}
%install
%makeinstall
# remove not available languages
%__rm -rf %buildroot/%_datadir/locale/frp
%suse_update_desktop_file %name System
%find_lang %{name}
%fdupes -s %{buildroot}
%clean
%__rm -rf $RPM_BUILD_ROOT
%files -f %{name}.lang
%defattr(-,root,root,0755)
%doc COPYING
%_bindir/%name
%_datadir/applications/lxterminal.desktop
%dir %_datadir/lxterminal
%_datadir/lxterminal/lxterminal.conf
%_mandir/man1/lxterminal.1.gz
%_datadir/pixmaps/lxterminal.png
%changelog