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