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