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