]>
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 |
5f5fc08d | 5 | Version: 8.4 |
8eb137ff | 6 | Release: 1 |
60ac0bf0 | 7 | Group: X11/Applications |
66672474 | 8 | License: GPL |
60ac0bf0 | 9 | Source0: http://dist.schmorp.de/rxvt-unicode/rxvt-unicode-%{version}.tar.bz2 |
5f5fc08d | 10 | # Source0-md5: d15ba0ea7cb54ce7a2a41650e2a5e6ab |
60ac0bf0 | 11 | Source1: %{name}.desktop |
21767311 | 12 | URL: http://software.schmorp.de/ |
60ac0bf0 | 13 | BuildRequires: autoconf |
14 | BuildRequires: automake | |
60152a50 | 15 | BuildRequires: fontconfig-devel |
4f749431 | 16 | BuildRequires: libstdc++-devel |
60ac0bf0 | 17 | BuildRequires: libtool |
a814059b | 18 | BuildRequires: perl-devel |
b0b0cbe7 | 19 | BuildRequires: sed >= 4.0 |
2040bb67 JB |
20 | BuildRequires: xorg-lib-libXext-devel |
21 | BuildRequires: xorg-lib-libXft-devel | |
22 | BuildRequires: xorg-lib-libXpm-devel | |
60152a50 | 23 | BuildRequires: zlib-devel |
f4b30b8d | 24 | Requires: terminfo |
60ac0bf0 | 25 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
26 | ||
27 | %description | |
3c5d1f97 | 28 | URxvt is a Rxvt modification which includes: |
29 | - unicode support | |
30 | - xft font support (antialiasing) | |
31 | - background pixmaps | |
32 | - background tinting | |
60152a50 | 33 | - real transparency |
60ac0bf0 | 34 | |
2601297f JR |
35 | %description -l pl.UTF-8 |
36 | URxvt jest modyfikacją Rxvt uwzględniającą: | |
37 | - obsługę unicode | |
38 | - obsługę czcionek xft (antialiasing) | |
39 | - możliwość ustawienia grafiki jako tła | |
40 | - cieniowanie tła | |
41 | - prawdziwą przezroczystość | |
60ac0bf0 | 42 | |
43 | %prep | |
66672474 | 44 | %setup -q -n rxvt-unicode-%{version} |
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 | |
58a1ac19 | 69 | install -d $RPM_BUILD_ROOT%{_mandir}/man{1,7} |
60ac0bf0 | 70 | |
71 | %{__make} install \ | |
72 | DESTDIR=$RPM_BUILD_ROOT | |
73 | ||
74 | install -d $RPM_BUILD_ROOT%{_desktopdir} | |
75 | install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir} | |
bcee6e37 | 76 | echo '.so urxvtc.1' >$RPM_BUILD_ROOT%{_mandir}/man1/urxvtd.1 |
60ac0bf0 | 77 | |
78 | %clean | |
79 | rm -rf $RPM_BUILD_ROOT | |
80 | ||
74e43ac9 JR |
81 | %post -p /sbin/ldconfig |
82 | %postun -p /sbin/ldconfig | |
83 | ||
60ac0bf0 | 84 | %files |
85 | %defattr(644,root,root,755) | |
4246a824 | 86 | %doc Changes doc/README.* |
60ac0bf0 | 87 | %attr(755,root,root) %{_bindir}/* |
4246a824 | 88 | %{_libdir}/%{name} |
60ac0bf0 | 89 | %{_desktopdir}/urxvt.desktop |
58a1ac19 | 90 | %{_mandir}/man*/* |