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