]>
Commit | Line | Data |
---|---|---|
4246a824 | 1 | %include /usr/lib/rpm/macros.perl |
3c5d1f97 | 2 | Summary: Rxvt terminal with unicode support and some improvements |
2601297f | 3 | Summary(pl.UTF-8): Terminal Rxvt z obsługą unicode i kilkoma usprawnieniami |
60ac0bf0 | 4 | Name: urxvt |
1dfae784 | 5 | Version: 7.9 |
07e7a491 | 6 | Release: 3 |
60ac0bf0 | 7 | Group: X11/Applications |
66672474 | 8 | License: GPL |
60ac0bf0 | 9 | Source0: http://dist.schmorp.de/rxvt-unicode/rxvt-unicode-%{version}.tar.bz2 |
1dfae784 | 10 | # Source0-md5: 7a0c73ccf0e31808ad37b61e730cd10e |
60ac0bf0 | 11 | Source1: %{name}.desktop |
21767311 | 12 | Patch0: %{name}-link.patch |
209ec57c | 13 | Patch1: %{name}-utmp.patch |
21767311 | 14 | URL: http://software.schmorp.de/ |
60ac0bf0 | 15 | BuildRequires: autoconf |
16 | BuildRequires: automake | |
60152a50 | 17 | BuildRequires: fontconfig-devel |
4f749431 | 18 | BuildRequires: libstdc++-devel |
60ac0bf0 | 19 | BuildRequires: libtool |
a814059b | 20 | BuildRequires: perl-devel |
b0b0cbe7 | 21 | BuildRequires: sed >= 4.0 |
2040bb67 JB |
22 | BuildRequires: xorg-lib-libXext-devel |
23 | BuildRequires: xorg-lib-libXft-devel | |
24 | BuildRequires: xorg-lib-libXpm-devel | |
60152a50 | 25 | BuildRequires: zlib-devel |
f4b30b8d | 26 | Requires: terminfo |
60ac0bf0 | 27 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
28 | ||
29 | %description | |
3c5d1f97 | 30 | URxvt is a Rxvt modification which includes: |
31 | - unicode support | |
32 | - xft font support (antialiasing) | |
33 | - background pixmaps | |
34 | - background tinting | |
60152a50 | 35 | - real transparency |
60ac0bf0 | 36 | |
2601297f JR |
37 | %description -l pl.UTF-8 |
38 | URxvt jest modyfikacją Rxvt uwzględniającą: | |
39 | - obsługę unicode | |
40 | - obsługę czcionek xft (antialiasing) | |
41 | - możliwość ustawienia grafiki jako tła | |
42 | - cieniowanie tła | |
43 | - prawdziwą przezroczystość | |
60ac0bf0 | 44 | |
45 | %prep | |
66672474 | 46 | %setup -q -n rxvt-unicode-%{version} |
21767311 | 47 | %patch0 -p1 |
209ec57c | 48 | %patch1 -p1 |
21767311 | 49 | |
60ac0bf0 | 50 | %build |
60ac0bf0 | 51 | %{__autoheader} |
52 | %{__autoconf} | |
60ac0bf0 | 53 | %configure \ |
74e43ac9 JR |
54 | --enable-shared \ |
55 | --disable-static \ | |
60ac0bf0 | 56 | --enable-everything \ |
57 | --enable-xgetdefault \ | |
58 | --enable-mousewheel \ | |
59 | --disable-menubar \ | |
66672474 | 60 | --enable-next-scroll \ |
60ac0bf0 | 61 | --enable-ttygid \ |
3c5d1f97 | 62 | --with-term=rxvt \ |
60ac0bf0 | 63 | --enable-half-shadow \ |
64 | --enable-smart-resize \ | |
3c5d1f97 | 65 | --enable-256-color \ |
66 | --enable-24bit | |
b0b0cbe7 | 67 | %{__make} \ |
4fe41ea3 | 68 | CXXFLAGS="%{rpmcxxflags}" \ |
21767311 | 69 | CFLAGS="%{rpmcxxflags}" |
60ac0bf0 | 70 | |
71 | %install | |
72 | rm -rf $RPM_BUILD_ROOT | |
58a1ac19 | 73 | install -d $RPM_BUILD_ROOT%{_mandir}/man{1,7} |
60ac0bf0 | 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 | ||
74e43ac9 JR |
85 | %post -p /sbin/ldconfig |
86 | %postun -p /sbin/ldconfig | |
87 | ||
60ac0bf0 | 88 | %files |
89 | %defattr(644,root,root,755) | |
4246a824 | 90 | %doc Changes doc/README.* |
60ac0bf0 | 91 | %attr(755,root,root) %{_bindir}/* |
4246a824 | 92 | %{_libdir}/%{name} |
60ac0bf0 | 93 | %{_desktopdir}/urxvt.desktop |
58a1ac19 | 94 | %{_mandir}/man*/* |