]> git.pld-linux.org Git - packages/urxvt.git/blob - urxvt.spec
- up to 9.10
[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:  fontconfig-devel
16 BuildRequires:  libstdc++-devel
17 BuildRequires:  perl-devel
18 BuildRequires:  pkgconfig
19 BuildRequires:  rpm-perlprov
20 BuildRequires:  sed >= 4.0
21 BuildRequires:  xorg-lib-libXext-devel
22 BuildRequires:  xorg-lib-libXft-devel
23 BuildRequires:  xorg-lib-libXpm-devel
24 BuildRequires:  zlib-devel
25 Requires:       terminfo
26 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
28 %description
29 URxvt is a Rxvt modification which includes:
30 - unicode support
31 - xft font support (antialiasing)
32 - background pixmaps
33 - background tinting
34 - real transparency
35
36 %description -l pl.UTF-8
37 URxvt jest modyfikacją Rxvt uwzględniającą:
38 - obsługę unicode
39 - obsługę czcionek xft (antialiasing)
40 - możliwość ustawienia grafiki jako tła
41 - cieniowanie tła
42 - prawdziwą przezroczystość
43
44 %prep
45 %setup -q -n rxvt-unicode-%{version}
46
47 %build
48 %{__aclocal} -I.
49 %{__autoheader}
50 %{__autoconf}
51 %configure \
52 %if %{with 256colors}
53         --enable-256-color \
54 %endif
55         --enable-everything \
56         --enable-mousewheel \
57         --enable-next-scroll \
58         --with-term=rxvt \
59         --disable-afterimage \
60         --enable-smart-resize
61
62 %{__make}
63
64 %install
65 rm -rf $RPM_BUILD_ROOT
66
67 %{__make} install \
68         DESTDIR=$RPM_BUILD_ROOT
69
70 install -d $RPM_BUILD_ROOT%{_desktopdir}
71 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
72 echo '.so urxvtc.1' >$RPM_BUILD_ROOT%{_mandir}/man1/urxvtd.1
73
74 %clean
75 rm -rf $RPM_BUILD_ROOT
76
77 %files
78 %defattr(644,root,root,755)
79 %doc Changes doc/README.xvt
80 %attr(755,root,root) %{_bindir}/urxvt*
81 %{_libdir}/%{name}
82 %{_desktopdir}/urxvt.desktop
83 %{_mandir}/man1/urxvt*.1*
84 %{_mandir}/man3/urxvtperl.3*
85 %{_mandir}/man7/urxvt.7*
This page took 0.042215 seconds and 3 git commands to generate.