]>
Commit | Line | Data |
---|---|---|
1 | %include /usr/lib/rpm/macros.perl | |
2 | Summary: Rxvt terminal with unicode support and some improvements | |
3 | Summary(pl.UTF-8): Terminal Rxvt z obsługą unicode i kilkoma usprawnieniami | |
4 | Name: urxvt | |
5 | Version: 8.4 | |
6 | Release: 1 | |
7 | Group: X11/Applications | |
8 | License: GPL | |
9 | Source0: http://dist.schmorp.de/rxvt-unicode/rxvt-unicode-%{version}.tar.bz2 | |
10 | # Source0-md5: d15ba0ea7cb54ce7a2a41650e2a5e6ab | |
11 | Source1: %{name}.desktop | |
12 | URL: http://software.schmorp.de/ | |
13 | BuildRequires: autoconf | |
14 | BuildRequires: automake | |
15 | BuildRequires: fontconfig-devel | |
16 | BuildRequires: libstdc++-devel | |
17 | BuildRequires: libtool | |
18 | BuildRequires: perl-devel | |
19 | BuildRequires: sed >= 4.0 | |
20 | BuildRequires: xorg-lib-libXext-devel | |
21 | BuildRequires: xorg-lib-libXft-devel | |
22 | BuildRequires: xorg-lib-libXpm-devel | |
23 | BuildRequires: zlib-devel | |
24 | Requires: terminfo | |
25 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
26 | ||
27 | %description | |
28 | URxvt is a Rxvt modification which includes: | |
29 | - unicode support | |
30 | - xft font support (antialiasing) | |
31 | - background pixmaps | |
32 | - background tinting | |
33 | - real transparency | |
34 | ||
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ść | |
42 | ||
43 | %prep | |
44 | %setup -q -n rxvt-unicode-%{version} | |
45 | ||
46 | %build | |
47 | %{__autoheader} | |
48 | %{__autoconf} | |
49 | %configure \ | |
50 | --enable-shared \ | |
51 | --disable-static \ | |
52 | --enable-everything \ | |
53 | --enable-xgetdefault \ | |
54 | --enable-mousewheel \ | |
55 | --disable-menubar \ | |
56 | --enable-next-scroll \ | |
57 | --enable-ttygid \ | |
58 | --with-term=rxvt \ | |
59 | --enable-half-shadow \ | |
60 | --enable-smart-resize \ | |
61 | --enable-256-color \ | |
62 | --enable-24bit | |
63 | %{__make} \ | |
64 | CXXFLAGS="%{rpmcxxflags}" \ | |
65 | CFLAGS="%{rpmcxxflags}" | |
66 | ||
67 | %install | |
68 | rm -rf $RPM_BUILD_ROOT | |
69 | install -d $RPM_BUILD_ROOT%{_mandir}/man{1,7} | |
70 | ||
71 | %{__make} install \ | |
72 | DESTDIR=$RPM_BUILD_ROOT | |
73 | ||
74 | install -d $RPM_BUILD_ROOT%{_desktopdir} | |
75 | install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir} | |
76 | echo '.so urxvtc.1' >$RPM_BUILD_ROOT%{_mandir}/man1/urxvtd.1 | |
77 | ||
78 | %clean | |
79 | rm -rf $RPM_BUILD_ROOT | |
80 | ||
81 | %post -p /sbin/ldconfig | |
82 | %postun -p /sbin/ldconfig | |
83 | ||
84 | %files | |
85 | %defattr(644,root,root,755) | |
86 | %doc Changes doc/README.* | |
87 | %attr(755,root,root) %{_bindir}/* | |
88 | %{_libdir}/%{name} | |
89 | %{_desktopdir}/urxvt.desktop | |
90 | %{_mandir}/man*/* |