File rxvt-unicode.spec of Package rxvt-unicode

#
# spec file for package rxvt-unicode (Version 9.06)
#
# Copyright 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.


Summary: RXvt clone with extended Unicode support
Name: rxvt-unicode
Version: 9.06
Release: 2
Source0: %{name}-SVN.tar.bz2
#Source1: http://dist.schmorp.de/rxvt-unicode/%{name}-%{version}.tar.bz2
#Patch0: %{name}-%{version}-bad_interp_pl.patch
Vendor: %{vendor}
URL: http://dist.schmorp.de/rxvt-unicode/
License: GPL
Group: Productivity/Networking/Email/Clients
AutoReqProv: on
Requires: perl = %{perl_version}
BuildRequires: xorg-x11-libXpm-devel
BuildRequires:  freetype2-devel gcc-c++ pkgconfig xorg-x11-devel
Provides: urxvt
Provides: rxvt-unicode-light
Conflicts: rxvt-unicode-afterimage
BuildRoot: %{_builddir}/%{name}-%{version}-build


%description
rxvt-unicode is a clone of the well known terminal
emulator rxvt, modified to store text in Unicode
(either UCS-2 or UCS-4) and to use locale-correct
input and output. rxvt-unicode also supports
mixing multiple fonts at the same time.

This "light" version does not include Xft fonts
support nor virtual backgrounds but simple
transparency and just esential 8bit stuff.
Achieving almost a half of the original binary
size and hopefully more speed for
minimalist-keytyping oriented people.


%prep
%setup -q -n %{name}
#%patch0 -p1
#	--enable-shared \  
#	--disable-mousewheel \
#	--disable-slipwheeling \

%build
CFLAGS="$RPM_OPT_FLAGS -ffast-math" ./configure --prefix=%{_prefix} \
	--libdir=%{_libdir} \
	--disable-combining \
	--disable-xft \
	--enable-font-styles \
	--disable-afterimage \
	--enable-transparency \
	--enable-fading \
	--disable-rxvt-scroll \
	--disable-next-scroll \
	--disable-xterm-scroll \
	--enable-perl \
	--enable-xim \
	--disable-iso14755 \
	--enable-frills \
	--disable-keepscrolling \
	--enable-selectionscrolling \
	--disable-smart-resize \
	--enable-text-blink \
	--enable-pointer-blank \
	--enable-24bit

%{__make} %{?jobs:-j%jobs}

%debug_package


%install
%if %with_terminfo_files  
%{__install} -Dd -m 0755 "%{buildroot}%{_terminfo}/r" 
TERMINFO="%{buildroot}%{_terminfo}" %makeinstall  
%else  
%makeinstall  
%endif  
 
%{__mkdir} examples/  
%{__cp} -av doc/embed* doc/rxvt-tabbed doc/pty-fd examples/  


%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root,-)
%attr(0755,root,root)%{_bindir}/urxvt*
%{_libdir}/urxvt/*
%attr(0755,root,root)%{_libdir}/urxvt/perl/kuake
%attr(0755,root,root)%{_libdir}/urxvt/perl/selection-pastebin
%attr(0755,root,root)%{_libdir}/urxvt/perl/searchable-scrollback
%attr(0755,root,root)%{_libdir}/urxvt/perl/selection-popup
%attr(0755,root,root)%{_libdir}/urxvt/perl/digital-clock
%attr(0755,root,root)%{_libdir}/urxvt/perl/readline
%attr(0755,root,root)%{_libdir}/urxvt/perl/option-popup
%attr(0755,root,root)%{_libdir}/urxvt/perl/remote-clipboard
%attr(0755,root,root)%{_libdir}/urxvt/perl/tabbed
%attr(0755,root,root)%{_libdir}/urxvt/perl/example-refresh-hooks
%attr(0755,root,root)%{_libdir}/urxvt/perl/xim-onthespot
%attr(0755,root,root)%{_libdir}/urxvt/perl/selection
%attr(0755,root,root)%{_libdir}/urxvt/perl/overlay-osc
%attr(0755,root,root)%{_libdir}/urxvt/perl/urxvt-popup
%attr(0755,root,root)%{_libdir}/urxvt/perl/selection-autotransform
%attr(0755,root,root)%{_libdir}/urxvt/perl/macosx-clipboard
%attr(0755,root,root)%{_libdir}/urxvt/perl/matcher
%doc %{_mandir}/man1/urxvt*.gz
%doc %{_mandir}/man3/urxvt*.gz
%doc %{_mandir}/man7/urxvt*.gz


%changelog
* Thu Jul 16 2009 Mario García H. <code933k@gmail.com> - 9.06-2
- Corrected some aspects "terminfo" borrowed from buildservice

* Tue Jun 30 2009 Mario García H. <code933k@gmail.com> - 9.06-1
- Initial package.

openSUSE Build Service is sponsored by