]> git.pld-linux.org Git - packages/urxvt.git/blob - urxvt.spec
1505ddbd796996557daf8a24e76a70d09a04e204
[packages/urxvt.git] / urxvt.spec
1 %bcond_with     256colors       # build with 256 color support
2 %include        /usr/lib/rpm/macros.perl
3 Summary:        Rxvt terminal with unicode support and some improvements
4 Summary(pl.UTF-8):      Terminal Rxvt z obsługą unicode i kilkoma usprawnieniami
5 Name:           urxvt
6 Version:        9.10
7 Release:        1
8 License:        GPL v2+
9 Group:          X11/Applications
10 Source0:        http://dist.schmorp.de/rxvt-unicode/rxvt-unicode-%{version}.tar.bz2
11 # Source0-md5:  a23aa40b31e843878b6f9c44768de430
12 Source1:        %{name}.desktop
13 URL:            http://software.schmorp.de/
14 BuildRequires:  autoconf >= 2.50
15 BuildRequires:  automake
16 BuildRequires:  fontconfig-devel
17 BuildRequires:  libstdc++-devel
18 BuildRequires:  perl-devel
19 BuildRequires:  pkgconfig
20 BuildRequires:  rpm-perlprov
21 BuildRequires:  sed >= 4.0
22 BuildRequires:  xorg-lib-libXext-devel
23 BuildRequires:  xorg-lib-libXft-devel
24 BuildRequires:  xorg-lib-libXpm-devel
25 BuildRequires:  zlib-devel
26 Requires:       terminfo
27 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
29 %description
30 URxvt is a Rxvt modification which includes:
31 - unicode support
32 - xft font support (antialiasing)
33 - background pixmaps
34 - background tinting
35 - real transparency
36
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ść
44
45 %prep
46 %setup -q -n rxvt-unicode-%{version}
47
48 %build
49 %{__aclocal} -I.
50 %{__autoheader}
51 %{__autoconf}
52 %configure \
53 %if %{with 256colors}
54         --enable-256-color \
55 %endif
56         --enable-everything \
57         --enable-mousewheel \
58         --enable-next-scroll \
59         --with-term=rxvt \
60         --disable-afterimage \
61         --enable-smart-resize
62
63 %{__make}
64
65 %install
66 rm -rf $RPM_BUILD_ROOT
67
68 %{__make} install \
69         DESTDIR=$RPM_BUILD_ROOT
70
71 install -d $RPM_BUILD_ROOT%{_desktopdir}
72 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
73 echo '.so urxvtc.1' >$RPM_BUILD_ROOT%{_mandir}/man1/urxvtd.1
74
75 %clean
76 rm -rf $RPM_BUILD_ROOT
77
78 %files
79 %defattr(644,root,root,755)
80 %doc Changes doc/README.xvt
81 %attr(755,root,root) %{_bindir}/urxvt*
82 %{_libdir}/%{name}
83 %{_desktopdir}/urxvt.desktop
84 %{_mandir}/man1/urxvt*.1*
85 %{_mandir}/man3/urxvtperl.3*
86 %{_mandir}/man7/urxvt.7*
This page took 0.784047 seconds and 3 git commands to generate.