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