]>
Commit | Line | Data |
---|---|---|
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 | 10 | Summary: Rxvt terminal with unicode support and some improvements |
3f694a96 | 11 | Summary(pl.UTF-8): Terminal Rxvt z obsługą unicode i kilkoma usprawnieniami |
60ac0bf0 | 12 | Name: urxvt |
1ac6a3fd CM |
13 | Version: 9.09 |
14 | Release: 0.1 | |
3ec874f3 | 15 | License: GPL v2+ |
b4c7c0cb | 16 | Group: X11/Applications |
60ac0bf0 | 17 | Source0: http://dist.schmorp.de/rxvt-unicode/rxvt-unicode-%{version}.tar.bz2 |
1ac6a3fd | 18 | # Source0-md5: 3505887adae710382edee90ed5538a01 |
60ac0bf0 | 19 | Source1: %{name}.desktop |
21767311 | 20 | URL: http://software.schmorp.de/ |
3ec874f3 | 21 | BuildRequires: autoconf >= 2.50 |
60152a50 | 22 | BuildRequires: fontconfig-devel |
1ac6a3fd CM |
23 | BuildRequires: fontconfig-libs |
24 | BuildRequires: libev >= 4.0 | |
4f749431 | 25 | BuildRequires: libstdc++-devel |
a814059b | 26 | BuildRequires: perl-devel |
80479010 | 27 | BuildRequires: pkgconfig |
28 | BuildRequires: rpm-perlprov | |
b0b0cbe7 | 29 | BuildRequires: sed >= 4.0 |
2040bb67 JB |
30 | BuildRequires: xorg-lib-libXext-devel |
31 | BuildRequires: xorg-lib-libXft-devel | |
32 | BuildRequires: xorg-lib-libXpm-devel | |
60152a50 | 33 | BuildRequires: zlib-devel |
f4b30b8d | 34 | Requires: terminfo |
60ac0bf0 | 35 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
36 | ||
37 | %description | |
3c5d1f97 | 38 | URxvt 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 |
46 | URxvt 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 | |
73 | rm -rf $RPM_BUILD_ROOT | |
74 | ||
75 | %{__make} install \ | |
76 | DESTDIR=$RPM_BUILD_ROOT | |
77 | ||
78 | install -d $RPM_BUILD_ROOT%{_desktopdir} | |
79 | install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir} | |
bcee6e37 | 80 | echo '.so urxvtc.1' >$RPM_BUILD_ROOT%{_mandir}/man1/urxvtd.1 |
60ac0bf0 | 81 | |
82 | %clean | |
83 | rm -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* |