]> git.pld-linux.org Git - packages/urxvt.git/blame - urxvt.spec
- fontconfig linking patch (fixes TODO)
[packages/urxvt.git] / urxvt.spec
CommitLineData
4246a824 1%include /usr/lib/rpm/macros.perl
3c5d1f97 2Summary: Rxvt terminal with unicode support and some improvements
3f694a96 3Summary(pl.UTF-8): Terminal Rxvt z obsługą unicode i kilkoma usprawnieniami
60ac0bf0 4Name: urxvt
1ac6a3fd 5Version: 9.09
043ad891 6Release: 1
3ec874f3 7License: GPL v2+
b4c7c0cb 8Group: X11/Applications
60ac0bf0 9Source0: http://dist.schmorp.de/rxvt-unicode/rxvt-unicode-%{version}.tar.bz2
1ac6a3fd 10# Source0-md5: 3505887adae710382edee90ed5538a01
60ac0bf0 11Source1: %{name}.desktop
043ad891 12Patch0: %{name}-fontconfig.patch
21767311 13URL: http://software.schmorp.de/
3ec874f3 14BuildRequires: autoconf >= 2.50
60152a50 15BuildRequires: fontconfig-devel
1ac6a3fd 16BuildRequires: libev >= 4.0
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}
043ad891 47%patch0 -p1
21767311 48
60ac0bf0 49%build
043ad891 50%{__aclocal} -I.
60ac0bf0 51%{__autoheader}
52%{__autoconf}
60ac0bf0 53%configure \
60ac0bf0 54 --enable-everything \
60ac0bf0 55 --enable-mousewheel \
66672474 56 --enable-next-scroll \
3c5d1f97 57 --with-term=rxvt \
6a5de310 58 --disable-afterimage \
68863b35 59 --enable-smart-resize
1e49814b 60
b0b0cbe7 61%{__make} \
4fe41ea3 62 CXXFLAGS="%{rpmcxxflags}" \
1ac6a3fd
CM
63 CFLAGS="%{rpmcxxflags}" \
64 LDFLAGS="%{rpmldflags} -lfontconfig"
60ac0bf0 65
66%install
67rm -rf $RPM_BUILD_ROOT
68
69%{__make} install \
70 DESTDIR=$RPM_BUILD_ROOT
71
72install -d $RPM_BUILD_ROOT%{_desktopdir}
73install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
bcee6e37 74echo '.so urxvtc.1' >$RPM_BUILD_ROOT%{_mandir}/man1/urxvtd.1
60ac0bf0 75
76%clean
77rm -rf $RPM_BUILD_ROOT
78
79%files
80%defattr(644,root,root,755)
3ec874f3
JB
81%doc Changes doc/README.xvt
82%attr(755,root,root) %{_bindir}/urxvt*
4246a824 83%{_libdir}/%{name}
60ac0bf0 84%{_desktopdir}/urxvt.desktop
3ec874f3
JB
85%{_mandir}/man1/urxvt*.1*
86%{_mandir}/man3/urxvtperl.3*
87%{_mandir}/man7/urxvt.7*
This page took 0.068719 seconds and 4 git commands to generate.