]>
Commit | Line | Data |
---|---|---|
4246a824 | 1 | %include /usr/lib/rpm/macros.perl |
3c5d1f97 | 2 | Summary: Rxvt terminal with unicode support and some improvements |
3f694a96 | 3 | Summary(pl.UTF-8): Terminal Rxvt z obsługą unicode i kilkoma usprawnieniami |
60ac0bf0 | 4 | Name: urxvt |
b4c7c0cb | 5 | Version: 8.8 |
8eb137ff | 6 | Release: 1 |
3ec874f3 | 7 | License: GPL v2+ |
b4c7c0cb | 8 | Group: X11/Applications |
60ac0bf0 | 9 | Source0: http://dist.schmorp.de/rxvt-unicode/rxvt-unicode-%{version}.tar.bz2 |
b4c7c0cb | 10 | # Source0-md5: a009fa049c4d3dddacd37f8328b6be20 |
60ac0bf0 | 11 | Source1: %{name}.desktop |
b4c7c0cb | 12 | Patch0: %{name}-m4.patch |
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 |
b0b0cbe7 | 18 | BuildRequires: sed >= 4.0 |
2040bb67 JB |
19 | BuildRequires: xorg-lib-libXext-devel |
20 | BuildRequires: xorg-lib-libXft-devel | |
21 | BuildRequires: xorg-lib-libXpm-devel | |
60152a50 | 22 | BuildRequires: zlib-devel |
f4b30b8d | 23 | Requires: terminfo |
60ac0bf0 | 24 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
25 | ||
26 | %description | |
3c5d1f97 | 27 | URxvt is a Rxvt modification which includes: |
28 | - unicode support | |
29 | - xft font support (antialiasing) | |
30 | - background pixmaps | |
31 | - background tinting | |
60152a50 | 32 | - real transparency |
60ac0bf0 | 33 | |
2601297f JR |
34 | %description -l pl.UTF-8 |
35 | URxvt jest modyfikacją Rxvt uwzględniającą: | |
36 | - obsługę unicode | |
37 | - obsługę czcionek xft (antialiasing) | |
38 | - możliwość ustawienia grafiki jako tła | |
39 | - cieniowanie tła | |
40 | - prawdziwą przezroczystość | |
60ac0bf0 | 41 | |
42 | %prep | |
66672474 | 43 | %setup -q -n rxvt-unicode-%{version} |
b4c7c0cb | 44 | %patch0 -p1 |
21767311 | 45 | |
60ac0bf0 | 46 | %build |
60ac0bf0 | 47 | %{__autoheader} |
48 | %{__autoconf} | |
60ac0bf0 | 49 | %configure \ |
74e43ac9 JR |
50 | --enable-shared \ |
51 | --disable-static \ | |
60ac0bf0 | 52 | --enable-everything \ |
53 | --enable-xgetdefault \ | |
54 | --enable-mousewheel \ | |
55 | --disable-menubar \ | |
66672474 | 56 | --enable-next-scroll \ |
60ac0bf0 | 57 | --enable-ttygid \ |
3c5d1f97 | 58 | --with-term=rxvt \ |
60ac0bf0 | 59 | --enable-half-shadow \ |
60 | --enable-smart-resize \ | |
3c5d1f97 | 61 | --enable-256-color \ |
62 | --enable-24bit | |
b0b0cbe7 | 63 | %{__make} \ |
4fe41ea3 | 64 | CXXFLAGS="%{rpmcxxflags}" \ |
21767311 | 65 | CFLAGS="%{rpmcxxflags}" |
60ac0bf0 | 66 | |
67 | %install | |
68 | rm -rf $RPM_BUILD_ROOT | |
69 | ||
70 | %{__make} install \ | |
71 | DESTDIR=$RPM_BUILD_ROOT | |
72 | ||
73 | install -d $RPM_BUILD_ROOT%{_desktopdir} | |
74 | install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir} | |
bcee6e37 | 75 | echo '.so urxvtc.1' >$RPM_BUILD_ROOT%{_mandir}/man1/urxvtd.1 |
60ac0bf0 | 76 | |
77 | %clean | |
78 | rm -rf $RPM_BUILD_ROOT | |
79 | ||
80 | %files | |
81 | %defattr(644,root,root,755) | |
3ec874f3 JB |
82 | %doc Changes doc/README.xvt |
83 | %attr(755,root,root) %{_bindir}/urxvt* | |
4246a824 | 84 | %{_libdir}/%{name} |
60ac0bf0 | 85 | %{_desktopdir}/urxvt.desktop |
3ec874f3 JB |
86 | %{_mandir}/man1/urxvt*.1* |
87 | %{_mandir}/man3/urxvtperl.3* | |
88 | %{_mandir}/man7/urxvt.7* |