1 %include /usr/lib/rpm/macros.perl
2 Summary: Rxvt terminal with unicode support and some improvements
3 Summary(pl): Terminal Rxvt z obs³ug± unicode i kilkoma usprawnieniami
7 Group: X11/Applications
9 Source0: http://dist.schmorp.de/rxvt-unicode/rxvt-unicode-%{version}.tar.bz2
10 # Source0-md5: 41b8b19da031846c6a60bf8f36a16fd7
11 Source1: %{name}.desktop
12 Patch0: %{name}-link.patch
13 URL: http://software.schmorp.de/
14 BuildRequires: XFree86-devel
15 BuildRequires: autoconf
16 BuildRequires: automake
17 BuildRequires: libstdc++-devel
18 BuildRequires: libtool
19 BuildRequires: sed >= 4.0
20 BuildRequires: xft-devel
22 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25 URxvt is a Rxvt modification which includes:
27 - xft font support (antialiasing)
32 URxvt jest modyfikacj± Rxvt uwzglêdniaj±c±:
34 - obs³ugê czcionek xft (antialiasing)
35 - mo¿liwo¶æ ustawienia grafiki jako t³a
39 %setup -q -n rxvt-unicode-%{version}
49 --enable-xgetdefault \
52 --enable-next-scroll \
55 --enable-half-shadow \
56 --enable-smart-resize \
60 CXXFLAGS="%{rpmcxxflags}" \
61 CFLAGS="%{rpmcxxflags}"
64 rm -rf $RPM_BUILD_ROOT
65 install -d $RPM_BUILD_ROOT%{_mandir}/man{1,7}
68 DESTDIR=$RPM_BUILD_ROOT
70 install -d $RPM_BUILD_ROOT%{_desktopdir}
71 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
72 echo '.so urxvtc.1' >$RPM_BUILD_ROOT%{_mandir}/man1/urxvtd.1
75 rm -rf $RPM_BUILD_ROOT
77 %post -p /sbin/ldconfig
78 %postun -p /sbin/ldconfig
81 %defattr(644,root,root,755)
82 %doc Changes doc/README.*
83 %attr(755,root,root) %{_bindir}/*
85 %{_desktopdir}/urxvt.desktop