]>
Commit | Line | Data |
---|---|---|
494888a2 JB |
1 | # TODO: utempter support |
2 | # | |
3 | # Conditional build: | |
87aa0ada | 4 | %bcond_without 256colors # build without 256 color support |
494888a2 | 5 | # |
3c5d1f97 | 6 | Summary: Rxvt terminal with unicode support and some improvements |
3f694a96 | 7 | Summary(pl.UTF-8): Terminal Rxvt z obsługą unicode i kilkoma usprawnieniami |
60ac0bf0 | 8 | Name: urxvt |
0a727708 JP |
9 | Version: 9.31 |
10 | Release: 1 | |
943ef98a | 11 | License: GPL v3+ |
b4c7c0cb | 12 | Group: X11/Applications |
60ac0bf0 | 13 | Source0: http://dist.schmorp.de/rxvt-unicode/rxvt-unicode-%{version}.tar.bz2 |
0a727708 | 14 | # Source0-md5: 3d0ec83705c9b9ff301a4b9965b3cd9f |
60ac0bf0 | 15 | Source1: %{name}.desktop |
6f50e5a0 | 16 | URL: http://software.schmorp.de/ |
a1bcdda2 | 17 | BuildRequires: autoconf >= 2.71 |
0a040d64 | 18 | BuildRequires: automake |
60152a50 | 19 | BuildRequires: fontconfig-devel |
494888a2 | 20 | BuildRequires: gdk-pixbuf2-devel >= 2.0 |
553b74c4 | 21 | BuildRequires: libptytty-devel |
4f749431 | 22 | BuildRequires: libstdc++-devel |
5afe203a | 23 | BuildRequires: perl-devel >= 1:5.8.0 |
80479010 | 24 | BuildRequires: pkgconfig |
25 | BuildRequires: rpm-perlprov | |
0c931cd6 | 26 | BuildRequires: rpmbuild(macros) >= 1.745 |
b0b0cbe7 | 27 | BuildRequires: sed >= 4.0 |
6f50e5a0 JB |
28 | BuildRequires: startup-notification-devel |
29 | BuildRequires: xorg-lib-libX11-devel | |
0a727708 | 30 | BuildRequires: xorg-lib-libXext-devel |
2040bb67 | 31 | BuildRequires: xorg-lib-libXft-devel |
a1bcdda2 | 32 | BuildRequires: xorg-lib-libXmu-devel |
6f50e5a0 | 33 | BuildRequires: xorg-lib-libXrender-devel |
f4b30b8d | 34 | Requires: terminfo |
60ac0bf0 | 35 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
36 | ||
37 | %description | |
3c5d1f97 | 38 | URxvt is a Rxvt modification which includes: |
39 | - unicode support | |
40 | - xft font support (antialiasing) | |
41 | - background pixmaps | |
42 | - background tinting | |
60152a50 | 43 | - real transparency |
60ac0bf0 | 44 | |
2601297f JR |
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ść | |
60ac0bf0 | 52 | |
53 | %prep | |
66672474 | 54 | %setup -q -n rxvt-unicode-%{version} |
21767311 | 55 | |
60ac0bf0 | 56 | %build |
043ad891 | 57 | %{__aclocal} -I. |
60ac0bf0 | 58 | %{__autoheader} |
59 | %{__autoconf} | |
60ac0bf0 | 60 | %configure \ |
502dca7e JP |
61 | %if %{with 256colors} |
62 | --enable-256-color \ | |
63 | %endif | |
60ac0bf0 | 64 | --enable-everything \ |
60ac0bf0 | 65 | --enable-mousewheel \ |
66672474 | 66 | --enable-next-scroll \ |
a1bcdda2 JB |
67 | --enable-smart-resize \ |
68 | --with-term=rxvt | |
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 | 87 | %doc Changes doc/README.xvt |
a5279b70 | 88 | %attr(755,root,root) %{_bindir}/urclock |
3ec874f3 | 89 | %attr(755,root,root) %{_bindir}/urxvt* |
4246a824 | 90 | %{_libdir}/%{name} |
60ac0bf0 | 91 | %{_desktopdir}/urxvt.desktop |
553b74c4 | 92 | %{_mandir}/man1/urclock.1* |
3ec874f3 JB |
93 | %{_mandir}/man1/urxvt*.1* |
94 | %{_mandir}/man3/urxvtperl.3* | |
95 | %{_mandir}/man7/urxvt.7* |