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