]>
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 |
60152a50 | 15 | BuildRequires: fontconfig-devel |
4f749431 | 16 | BuildRequires: libstdc++-devel |
a814059b | 17 | BuildRequires: perl-devel |
80479010 | 18 | BuildRequires: pkgconfig |
19 | BuildRequires: rpm-perlprov | |
b0b0cbe7 | 20 | BuildRequires: sed >= 4.0 |
2040bb67 JB |
21 | BuildRequires: xorg-lib-libXext-devel |
22 | BuildRequires: xorg-lib-libXft-devel | |
23 | BuildRequires: xorg-lib-libXpm-devel | |
60152a50 | 24 | BuildRequires: zlib-devel |
f4b30b8d | 25 | Requires: terminfo |
60ac0bf0 | 26 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
27 | ||
28 | %description | |
3c5d1f97 | 29 | URxvt is a Rxvt modification which includes: |
30 | - unicode support | |
31 | - xft font support (antialiasing) | |
32 | - background pixmaps | |
33 | - background tinting | |
60152a50 | 34 | - real transparency |
60ac0bf0 | 35 | |
2601297f JR |
36 | %description -l pl.UTF-8 |
37 | URxvt jest modyfikacją Rxvt uwzględniającą: | |
38 | - obsługę unicode | |
39 | - obsługę czcionek xft (antialiasing) | |
40 | - możliwość ustawienia grafiki jako tła | |
41 | - cieniowanie tła | |
42 | - prawdziwą przezroczystość | |
60ac0bf0 | 43 | |
44 | %prep | |
66672474 | 45 | %setup -q -n rxvt-unicode-%{version} |
21767311 | 46 | |
60ac0bf0 | 47 | %build |
043ad891 | 48 | %{__aclocal} -I. |
60ac0bf0 | 49 | %{__autoheader} |
50 | %{__autoconf} | |
60ac0bf0 | 51 | %configure \ |
502dca7e JP |
52 | %if %{with 256colors} |
53 | --enable-256-color \ | |
54 | %endif | |
60ac0bf0 | 55 | --enable-everything \ |
60ac0bf0 | 56 | --enable-mousewheel \ |
66672474 | 57 | --enable-next-scroll \ |
3c5d1f97 | 58 | --with-term=rxvt \ |
6a5de310 | 59 | --disable-afterimage \ |
68863b35 | 60 | --enable-smart-resize |
1e49814b | 61 | |
502dca7e | 62 | %{__make} |
60ac0bf0 | 63 | |
64 | %install | |
65 | rm -rf $RPM_BUILD_ROOT | |
66 | ||
67 | %{__make} install \ | |
68 | DESTDIR=$RPM_BUILD_ROOT | |
69 | ||
70 | install -d $RPM_BUILD_ROOT%{_desktopdir} | |
71 | install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir} | |
bcee6e37 | 72 | echo '.so urxvtc.1' >$RPM_BUILD_ROOT%{_mandir}/man1/urxvtd.1 |
60ac0bf0 | 73 | |
74 | %clean | |
75 | rm -rf $RPM_BUILD_ROOT | |
76 | ||
77 | %files | |
78 | %defattr(644,root,root,755) | |
3ec874f3 JB |
79 | %doc Changes doc/README.xvt |
80 | %attr(755,root,root) %{_bindir}/urxvt* | |
4246a824 | 81 | %{_libdir}/%{name} |
60ac0bf0 | 82 | %{_desktopdir}/urxvt.desktop |
3ec874f3 JB |
83 | %{_mandir}/man1/urxvt*.1* |
84 | %{_mandir}/man3/urxvtperl.3* | |
85 | %{_mandir}/man7/urxvt.7* |