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