]>
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 |
f6b674a0 | 9 | Version: 9.30 |
057819bf | 10 | Release: 2 |
943ef98a | 11 | License: GPL v3+ |
b4c7c0cb | 12 | Group: X11/Applications |
60ac0bf0 | 13 | Source0: http://dist.schmorp.de/rxvt-unicode/rxvt-unicode-%{version}.tar.bz2 |
f6b674a0 | 14 | # Source0-md5: 793ae8d59cf911fc6a93254234933d25 |
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 | |
2040bb67 | 30 | BuildRequires: xorg-lib-libXft-devel |
a1bcdda2 | 31 | BuildRequires: xorg-lib-libXmu-devel |
6f50e5a0 | 32 | BuildRequires: xorg-lib-libXrender-devel |
f4b30b8d | 33 | Requires: terminfo |
60ac0bf0 | 34 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
35 | ||
36 | %description | |
3c5d1f97 | 37 | URxvt is a Rxvt modification which includes: |
38 | - unicode support | |
39 | - xft font support (antialiasing) | |
40 | - background pixmaps | |
41 | - background tinting | |
60152a50 | 42 | - real transparency |
60ac0bf0 | 43 | |
2601297f JR |
44 | %description -l pl.UTF-8 |
45 | URxvt jest modyfikacją Rxvt uwzględniającą: | |
46 | - obsługę unicode | |
47 | - obsługę czcionek xft (antialiasing) | |
48 | - możliwość ustawienia grafiki jako tła | |
49 | - cieniowanie tła | |
50 | - prawdziwą przezroczystość | |
60ac0bf0 | 51 | |
52 | %prep | |
66672474 | 53 | %setup -q -n rxvt-unicode-%{version} |
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 \ |
a1bcdda2 JB |
66 | --enable-smart-resize \ |
67 | --with-term=rxvt | |
1e49814b | 68 | |
502dca7e | 69 | %{__make} |
60ac0bf0 | 70 | |
71 | %install | |
72 | rm -rf $RPM_BUILD_ROOT | |
73 | ||
74 | %{__make} install \ | |
75 | DESTDIR=$RPM_BUILD_ROOT | |
76 | ||
77 | install -d $RPM_BUILD_ROOT%{_desktopdir} | |
78 | install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir} | |
bcee6e37 | 79 | echo '.so urxvtc.1' >$RPM_BUILD_ROOT%{_mandir}/man1/urxvtd.1 |
60ac0bf0 | 80 | |
81 | %clean | |
82 | rm -rf $RPM_BUILD_ROOT | |
83 | ||
84 | %files | |
85 | %defattr(644,root,root,755) | |
3ec874f3 | 86 | %doc Changes doc/README.xvt |
a5279b70 | 87 | %attr(755,root,root) %{_bindir}/urclock |
3ec874f3 | 88 | %attr(755,root,root) %{_bindir}/urxvt* |
4246a824 | 89 | %{_libdir}/%{name} |
60ac0bf0 | 90 | %{_desktopdir}/urxvt.desktop |
553b74c4 | 91 | %{_mandir}/man1/urclock.1* |
3ec874f3 JB |
92 | %{_mandir}/man1/urxvt*.1* |
93 | %{_mandir}/man3/urxvtperl.3* | |
94 | %{_mandir}/man7/urxvt.7* |