]>
Commit | Line | Data |
---|---|---|
1 | %include /usr/lib/rpm/macros.perl | |
2 | Summary: Rxvt terminal with unicode support and some improvements | |
3 | Summary(pl.UTF-8): Terminal Rxvt z obsługą unicode i kilkoma usprawnieniami | |
4 | Name: urxvt | |
5 | Version: 9.09 | |
6 | Release: 1 | |
7 | License: GPL v2+ | |
8 | Group: X11/Applications | |
9 | Source0: http://dist.schmorp.de/rxvt-unicode/rxvt-unicode-%{version}.tar.bz2 | |
10 | # Source0-md5: 3505887adae710382edee90ed5538a01 | |
11 | Source1: %{name}.desktop | |
12 | Patch0: %{name}-fontconfig.patch | |
13 | URL: http://software.schmorp.de/ | |
14 | BuildRequires: autoconf >= 2.50 | |
15 | BuildRequires: fontconfig-devel | |
16 | BuildRequires: libev >= 4.0 | |
17 | BuildRequires: libstdc++-devel | |
18 | BuildRequires: perl-devel | |
19 | BuildRequires: pkgconfig | |
20 | BuildRequires: rpm-perlprov | |
21 | BuildRequires: sed >= 4.0 | |
22 | BuildRequires: xorg-lib-libXext-devel | |
23 | BuildRequires: xorg-lib-libXft-devel | |
24 | BuildRequires: xorg-lib-libXpm-devel | |
25 | BuildRequires: zlib-devel | |
26 | Requires: terminfo | |
27 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
28 | ||
29 | %description | |
30 | URxvt is a Rxvt modification which includes: | |
31 | - unicode support | |
32 | - xft font support (antialiasing) | |
33 | - background pixmaps | |
34 | - background tinting | |
35 | - real transparency | |
36 | ||
37 | %description -l pl.UTF-8 | |
38 | URxvt jest modyfikacją Rxvt uwzględniającą: | |
39 | - obsługę unicode | |
40 | - obsługę czcionek xft (antialiasing) | |
41 | - możliwość ustawienia grafiki jako tła | |
42 | - cieniowanie tła | |
43 | - prawdziwą przezroczystość | |
44 | ||
45 | %prep | |
46 | %setup -q -n rxvt-unicode-%{version} | |
47 | %patch0 -p1 | |
48 | ||
49 | %build | |
50 | %{__aclocal} -I. | |
51 | %{__autoheader} | |
52 | %{__autoconf} | |
53 | %configure \ | |
54 | --enable-everything \ | |
55 | --enable-mousewheel \ | |
56 | --enable-next-scroll \ | |
57 | --with-term=rxvt \ | |
58 | --disable-afterimage \ | |
59 | --enable-smart-resize | |
60 | ||
61 | %{__make} \ | |
62 | CXXFLAGS="%{rpmcxxflags}" \ | |
63 | CFLAGS="%{rpmcxxflags}" \ | |
64 | LDFLAGS="%{rpmldflags} -lfontconfig" | |
65 | ||
66 | %install | |
67 | rm -rf $RPM_BUILD_ROOT | |
68 | ||
69 | %{__make} install \ | |
70 | DESTDIR=$RPM_BUILD_ROOT | |
71 | ||
72 | install -d $RPM_BUILD_ROOT%{_desktopdir} | |
73 | install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir} | |
74 | echo '.so urxvtc.1' >$RPM_BUILD_ROOT%{_mandir}/man1/urxvtd.1 | |
75 | ||
76 | %clean | |
77 | rm -rf $RPM_BUILD_ROOT | |
78 | ||
79 | %files | |
80 | %defattr(644,root,root,755) | |
81 | %doc Changes doc/README.xvt | |
82 | %attr(755,root,root) %{_bindir}/urxvt* | |
83 | %{_libdir}/%{name} | |
84 | %{_desktopdir}/urxvt.desktop | |
85 | %{_mandir}/man1/urxvt*.1* | |
86 | %{_mandir}/man3/urxvtperl.3* | |
87 | %{_mandir}/man7/urxvt.7* |