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