]> git.pld-linux.org Git - packages/urxvt.git/blob - urxvt.spec
5f402899f038a9bf726974740bf3b70af0256de9
[packages/urxvt.git] / urxvt.spec
1 # TODO: utempter support
2 #
3 # Conditional build:
4 %bcond_with     256colors       # build with 256 color support
5 #
6 %include        /usr/lib/rpm/macros.perl
7 Summary:        Rxvt terminal with unicode support and some improvements
8 Summary(pl.UTF-8):      Terminal Rxvt z obsługą unicode i kilkoma usprawnieniami
9 Name:           urxvt
10 Version:        9.18
11 Release:        3
12 License:        GPL v2+
13 Group:          X11/Applications
14 Source0:        http://dist.schmorp.de/rxvt-unicode/rxvt-unicode-%{version}.tar.bz2
15 # Source0-md5:  963ccc748fe5bca925e7b92c0404d68b
16 Source1:        %{name}.desktop
17 Patch0:         %{name}-tic.patch
18 Patch1:         %{name}-tabbed_syntax.patch
19 URL:            http://software.schmorp.de/
20 BuildRequires:  autoconf >= 2.50
21 BuildRequires:  automake
22 BuildRequires:  fontconfig-devel
23 BuildRequires:  gdk-pixbuf2-devel >= 2.0
24 BuildRequires:  libstdc++-devel
25 BuildRequires:  perl-devel >= 1:5.8.0
26 BuildRequires:  pkgconfig
27 BuildRequires:  rpm-perlprov
28 BuildRequires:  sed >= 4.0
29 BuildRequires:  startup-notification-devel
30 BuildRequires:  xorg-lib-libX11-devel
31 BuildRequires:  xorg-lib-libXext-devel
32 BuildRequires:  xorg-lib-libXft-devel
33 BuildRequires:  xorg-lib-libXpm-devel
34 BuildRequires:  xorg-lib-libXrender-devel
35 BuildRequires:  zlib-devel
36 Requires:       terminfo
37 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
38
39 %description
40 URxvt is a Rxvt modification which includes:
41 - unicode support
42 - xft font support (antialiasing)
43 - background pixmaps
44 - background tinting
45 - real transparency
46
47 %description -l pl.UTF-8
48 URxvt jest modyfikacją Rxvt uwzględniającą:
49 - obsługę unicode
50 - obsługę czcionek xft (antialiasing)
51 - możliwość ustawienia grafiki jako tła
52 - cieniowanie tła
53 - prawdziwą przezroczystość
54
55 %prep
56 %setup -q -n rxvt-unicode-%{version}
57 %patch0 -p1
58 %patch1 -p1
59
60 %build
61 %{__aclocal} -I.
62 %{__autoheader}
63 %{__autoconf}
64 %configure \
65 %if %{with 256colors}
66         --enable-256-color \
67 %endif
68         --enable-everything \
69         --enable-mousewheel \
70         --enable-next-scroll \
71         --with-term=rxvt \
72         --disable-afterimage \
73         --enable-smart-resize
74
75 %{__make}
76
77 %install
78 rm -rf $RPM_BUILD_ROOT
79
80 %{__make} install \
81         DESTDIR=$RPM_BUILD_ROOT
82
83 install -d $RPM_BUILD_ROOT%{_desktopdir}
84 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
85 echo '.so urxvtc.1' >$RPM_BUILD_ROOT%{_mandir}/man1/urxvtd.1
86
87 %clean
88 rm -rf $RPM_BUILD_ROOT
89
90 %files
91 %defattr(644,root,root,755)
92 %doc Changes doc/README.xvt
93 %attr(755,root,root) %{_bindir}/urxvt*
94 %{_libdir}/%{name}
95 %{_desktopdir}/urxvt.desktop
96 %{_mandir}/man1/urxvt*.1*
97 %{_mandir}/man3/urxvtperl.3*
98 %{_mandir}/man7/urxvt.7*
This page took 0.058348 seconds and 2 git commands to generate.