- up to 9.07
[packages/urxvt.git] / urxvt.spec
CommitLineData
68863b35
ŁK
1#
2# Conditional build:
3#
4%bcond_with 256colors # unsupported 256 colors patch (see FAQ)
4246a824 5%include /usr/lib/rpm/macros.perl
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
6a5de310 9Version: 9.07
96b7e6b2 10Release: 1
3ec874f3 11License: GPL v2+
b4c7c0cb 12Group: X11/Applications
60ac0bf0 13Source0: http://dist.schmorp.de/rxvt-unicode/rxvt-unicode-%{version}.tar.bz2
6a5de310 14# Source0-md5: 49bb52c99e002bf85eb41d8385d903b5
60ac0bf0 15Source1: %{name}.desktop
21767311 16URL: http://software.schmorp.de/
3ec874f3 17BuildRequires: autoconf >= 2.50
60152a50 18BuildRequires: fontconfig-devel
4f749431 19BuildRequires: libstdc++-devel
a814059b 20BuildRequires: perl-devel
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}
68863b35
ŁK
47%if %{with 256colors}
48patch -p1 < doc/urxvt-8.2-256color.patch
49%endif
21767311 50
60ac0bf0 51%build
60ac0bf0 52%{__autoheader}
53%{__autoconf}
60ac0bf0 54%configure \
68863b35
ŁK
55%if %{with 256colors}
56 --enable-xterm-colors=256 \
57%endif
60ac0bf0 58 --enable-everything \
60ac0bf0 59 --enable-mousewheel \
66672474 60 --enable-next-scroll \
3c5d1f97 61 --with-term=rxvt \
6a5de310 62 --disable-afterimage \
68863b35 63 --enable-smart-resize
1e49814b 64
b0b0cbe7 65%{__make} \
4fe41ea3 66 CXXFLAGS="%{rpmcxxflags}" \
21767311 67 CFLAGS="%{rpmcxxflags}"
60ac0bf0 68
69%install
70rm -rf $RPM_BUILD_ROOT
71
72%{__make} install \
73 DESTDIR=$RPM_BUILD_ROOT
74
75install -d $RPM_BUILD_ROOT%{_desktopdir}
76install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
bcee6e37 77echo '.so urxvtc.1' >$RPM_BUILD_ROOT%{_mandir}/man1/urxvtd.1
60ac0bf0 78
79%clean
80rm -rf $RPM_BUILD_ROOT
81
82%files
83%defattr(644,root,root,755)
3ec874f3
JB
84%doc Changes doc/README.xvt
85%attr(755,root,root) %{_bindir}/urxvt*
4246a824 86%{_libdir}/%{name}
60ac0bf0 87%{_desktopdir}/urxvt.desktop
3ec874f3
JB
88%{_mandir}/man1/urxvt*.1*
89%{_mandir}/man3/urxvtperl.3*
90%{_mandir}/man7/urxvt.7*
This page took 0.088985 seconds and 4 git commands to generate.