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