- up to 9.15 + fix tic
[packages/urxvt.git] / urxvt.spec
CommitLineData
494888a2
JB
1# TODO: utempter support
2#
3# Conditional build:
502dca7e 4%bcond_with 256colors # build with 256 color support
494888a2 5#
4246a824 6%include /usr/lib/rpm/macros.perl
3c5d1f97 7Summary: Rxvt terminal with unicode support and some improvements
3f694a96 8Summary(pl.UTF-8): Terminal Rxvt z obsługą unicode i kilkoma usprawnieniami
60ac0bf0 9Name: urxvt
3c553f76 10Version: 9.15
043ad891 11Release: 1
3ec874f3 12License: GPL v2+
b4c7c0cb 13Group: X11/Applications
60ac0bf0 14Source0: http://dist.schmorp.de/rxvt-unicode/rxvt-unicode-%{version}.tar.bz2
3c553f76 15# Source0-md5: 15595aa326167ac5eb68c28d95432faf
60ac0bf0 16Source1: %{name}.desktop
21767311 17URL: http://software.schmorp.de/
3c553f76 18Patch0: %{name}-tic.patch
3ec874f3 19BuildRequires: autoconf >= 2.50
0a040d64 20BuildRequires: automake
60152a50 21BuildRequires: fontconfig-devel
494888a2 22BuildRequires: gdk-pixbuf2-devel >= 2.0
4f749431 23BuildRequires: libstdc++-devel
5afe203a 24BuildRequires: perl-devel >= 1:5.8.0
80479010 25BuildRequires: pkgconfig
26BuildRequires: rpm-perlprov
b0b0cbe7 27BuildRequires: sed >= 4.0
2040bb67
JB
28BuildRequires: xorg-lib-libXext-devel
29BuildRequires: xorg-lib-libXft-devel
30BuildRequires: xorg-lib-libXpm-devel
60152a50 31BuildRequires: zlib-devel
f4b30b8d 32Requires: terminfo
60ac0bf0 33BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
34
35%description
3c5d1f97 36URxvt is a Rxvt modification which includes:
37- unicode support
38- xft font support (antialiasing)
39- background pixmaps
40- background tinting
60152a50 41- real transparency
60ac0bf0 42
2601297f
JR
43%description -l pl.UTF-8
44URxvt 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ść
60ac0bf0 50
51%prep
66672474 52%setup -q -n rxvt-unicode-%{version}
3c553f76 53%patch0 -p1
21767311 54
60ac0bf0 55%build
043ad891 56%{__aclocal} -I.
60ac0bf0 57%{__autoheader}
58%{__autoconf}
60ac0bf0 59%configure \
502dca7e
JP
60%if %{with 256colors}
61 --enable-256-color \
62%endif
60ac0bf0 63 --enable-everything \
60ac0bf0 64 --enable-mousewheel \
66672474 65 --enable-next-scroll \
3c5d1f97 66 --with-term=rxvt \
6a5de310 67 --disable-afterimage \
68863b35 68 --enable-smart-resize
1e49814b 69
502dca7e 70%{__make}
60ac0bf0 71
72%install
73rm -rf $RPM_BUILD_ROOT
74
75%{__make} install \
76 DESTDIR=$RPM_BUILD_ROOT
77
78install -d $RPM_BUILD_ROOT%{_desktopdir}
79install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
bcee6e37 80echo '.so urxvtc.1' >$RPM_BUILD_ROOT%{_mandir}/man1/urxvtd.1
60ac0bf0 81
82%clean
83rm -rf $RPM_BUILD_ROOT
84
85%files
86%defattr(644,root,root,755)
3ec874f3
JB
87%doc Changes doc/README.xvt
88%attr(755,root,root) %{_bindir}/urxvt*
4246a824 89%{_libdir}/%{name}
60ac0bf0 90%{_desktopdir}/urxvt.desktop
3ec874f3
JB
91%{_mandir}/man1/urxvt*.1*
92%{_mandir}/man3/urxvtperl.3*
93%{_mandir}/man7/urxvt.7*
This page took 0.048341 seconds and 4 git commands to generate.