- Up to 9.09, NFY
[packages/urxvt.git] / urxvt.spec
CommitLineData
1ac6a3fd
CM
1# TODO:
2# - Build fails on all platforms, same error for previous TH/TI built version 9.07
3# /usr/bin/ld: rxvtfont.o: undefined reference to symbol 'FcPatternDel'
4# /usr/bin/ld: note: 'FcPatternDel' is defined in DSO /usr/lib64/libfontconfig.so so try adding it to the linker command line
5# /usr/lib64/libfontconfig.so: could not read symbols: Invalid operation
68863b35
ŁK
6#
7# Conditional build:
8#
4246a824 9%include /usr/lib/rpm/macros.perl
3c5d1f97 10Summary: Rxvt terminal with unicode support and some improvements
3f694a96 11Summary(pl.UTF-8): Terminal Rxvt z obsługą unicode i kilkoma usprawnieniami
60ac0bf0 12Name: urxvt
1ac6a3fd
CM
13Version: 9.09
14Release: 0.1
3ec874f3 15License: GPL v2+
b4c7c0cb 16Group: X11/Applications
60ac0bf0 17Source0: http://dist.schmorp.de/rxvt-unicode/rxvt-unicode-%{version}.tar.bz2
1ac6a3fd 18# Source0-md5: 3505887adae710382edee90ed5538a01
60ac0bf0 19Source1: %{name}.desktop
21767311 20URL: http://software.schmorp.de/
3ec874f3 21BuildRequires: autoconf >= 2.50
60152a50 22BuildRequires: fontconfig-devel
1ac6a3fd
CM
23BuildRequires: fontconfig-libs
24BuildRequires: libev >= 4.0
4f749431 25BuildRequires: libstdc++-devel
a814059b 26BuildRequires: perl-devel
80479010 27BuildRequires: pkgconfig
28BuildRequires: rpm-perlprov
b0b0cbe7 29BuildRequires: sed >= 4.0
2040bb67
JB
30BuildRequires: xorg-lib-libXext-devel
31BuildRequires: xorg-lib-libXft-devel
32BuildRequires: xorg-lib-libXpm-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}
21767311 55
60ac0bf0 56%build
60ac0bf0 57%{__autoheader}
58%{__autoconf}
60ac0bf0 59%configure \
60ac0bf0 60 --enable-everything \
60ac0bf0 61 --enable-mousewheel \
66672474 62 --enable-next-scroll \
3c5d1f97 63 --with-term=rxvt \
6a5de310 64 --disable-afterimage \
68863b35 65 --enable-smart-resize
1e49814b 66
b0b0cbe7 67%{__make} \
4fe41ea3 68 CXXFLAGS="%{rpmcxxflags}" \
1ac6a3fd
CM
69 CFLAGS="%{rpmcxxflags}" \
70 LDFLAGS="%{rpmldflags} -lfontconfig"
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.113939 seconds and 4 git commands to generate.