rebuild with perl 5.34.0
[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
f6b674a0 9Version: 9.30
057819bf 10Release: 2
943ef98a 11License: GPL v3+
b4c7c0cb 12Group: X11/Applications
60ac0bf0 13Source0: http://dist.schmorp.de/rxvt-unicode/rxvt-unicode-%{version}.tar.bz2
f6b674a0 14# Source0-md5: 793ae8d59cf911fc6a93254234933d25
60ac0bf0 15Source1: %{name}.desktop
6f50e5a0 16URL: http://software.schmorp.de/
a1bcdda2 17BuildRequires: autoconf >= 2.71
0a040d64 18BuildRequires: automake
60152a50 19BuildRequires: fontconfig-devel
494888a2 20BuildRequires: gdk-pixbuf2-devel >= 2.0
553b74c4 21BuildRequires: libptytty-devel
4f749431 22BuildRequires: libstdc++-devel
5afe203a 23BuildRequires: perl-devel >= 1:5.8.0
80479010 24BuildRequires: pkgconfig
25BuildRequires: rpm-perlprov
0c931cd6 26BuildRequires: rpmbuild(macros) >= 1.745
b0b0cbe7 27BuildRequires: sed >= 4.0
6f50e5a0
JB
28BuildRequires: startup-notification-devel
29BuildRequires: xorg-lib-libX11-devel
2040bb67 30BuildRequires: xorg-lib-libXft-devel
a1bcdda2 31BuildRequires: xorg-lib-libXmu-devel
6f50e5a0 32BuildRequires: xorg-lib-libXrender-devel
f4b30b8d 33Requires: terminfo
60ac0bf0 34BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
35
36%description
3c5d1f97 37URxvt is a Rxvt modification which includes:
38- unicode support
39- xft font support (antialiasing)
40- background pixmaps
41- background tinting
60152a50 42- real transparency
60ac0bf0 43
2601297f
JR
44%description -l pl.UTF-8
45URxvt jest modyfikacją Rxvt uwzględniającą:
46- obsługę unicode
47- obsługę czcionek xft (antialiasing)
48- możliwość ustawienia grafiki jako tła
49- cieniowanie tła
50- prawdziwą przezroczystość
60ac0bf0 51
52%prep
66672474 53%setup -q -n rxvt-unicode-%{version}
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 \
a1bcdda2
JB
66 --enable-smart-resize \
67 --with-term=rxvt
1e49814b 68
502dca7e 69%{__make}
60ac0bf0 70
71%install
72rm -rf $RPM_BUILD_ROOT
73
74%{__make} install \
75 DESTDIR=$RPM_BUILD_ROOT
76
77install -d $RPM_BUILD_ROOT%{_desktopdir}
78install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
bcee6e37 79echo '.so urxvtc.1' >$RPM_BUILD_ROOT%{_mandir}/man1/urxvtd.1
60ac0bf0 80
81%clean
82rm -rf $RPM_BUILD_ROOT
83
84%files
85%defattr(644,root,root,755)
3ec874f3 86%doc Changes doc/README.xvt
a5279b70 87%attr(755,root,root) %{_bindir}/urclock
3ec874f3 88%attr(755,root,root) %{_bindir}/urxvt*
4246a824 89%{_libdir}/%{name}
60ac0bf0 90%{_desktopdir}/urxvt.desktop
553b74c4 91%{_mandir}/man1/urclock.1*
3ec874f3
JB
92%{_mandir}/man1/urxvt*.1*
93%{_mandir}/man3/urxvtperl.3*
94%{_mandir}/man7/urxvt.7*
This page took 0.106067 seconds and 5 git commands to generate.