rebuild with perl 5.34.0
[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.30
10 Release:        2
11 License:        GPL v3+
12 Group:          X11/Applications
13 Source0:        http://dist.schmorp.de/rxvt-unicode/rxvt-unicode-%{version}.tar.bz2
14 # Source0-md5:  793ae8d59cf911fc6a93254234933d25
15 Source1:        %{name}.desktop
16 URL:            http://software.schmorp.de/
17 BuildRequires:  autoconf >= 2.71
18 BuildRequires:  automake
19 BuildRequires:  fontconfig-devel
20 BuildRequires:  gdk-pixbuf2-devel >= 2.0
21 BuildRequires:  libptytty-devel
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-libXft-devel
31 BuildRequires:  xorg-lib-libXmu-devel
32 BuildRequires:  xorg-lib-libXrender-devel
33 Requires:       terminfo
34 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
35
36 %description
37 URxvt is a Rxvt modification which includes:
38 - unicode support
39 - xft font support (antialiasing)
40 - background pixmaps
41 - background tinting
42 - real transparency
43
44 %description -l pl.UTF-8
45 URxvt jest modyfikacją Rxvt uwzględniającą:
46 - obsługę unicode
47 - obsługę czcionek xft (antialiasing)
48 - możliwość ustawienia grafiki jako tła
49 - cieniowanie tła
50 - prawdziwą przezroczystość
51
52 %prep
53 %setup -q -n rxvt-unicode-%{version}
54
55 %build
56 %{__aclocal} -I.
57 %{__autoheader}
58 %{__autoconf}
59 %configure \
60 %if %{with 256colors}
61         --enable-256-color \
62 %endif
63         --enable-everything \
64         --enable-mousewheel \
65         --enable-next-scroll \
66         --enable-smart-resize \
67         --with-term=rxvt
68
69 %{__make}
70
71 %install
72 rm -rf $RPM_BUILD_ROOT
73
74 %{__make} install \
75         DESTDIR=$RPM_BUILD_ROOT
76
77 install -d $RPM_BUILD_ROOT%{_desktopdir}
78 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
79 echo '.so urxvtc.1' >$RPM_BUILD_ROOT%{_mandir}/man1/urxvtd.1
80
81 %clean
82 rm -rf $RPM_BUILD_ROOT
83
84 %files
85 %defattr(644,root,root,755)
86 %doc Changes doc/README.xvt
87 %attr(755,root,root) %{_bindir}/urclock
88 %attr(755,root,root) %{_bindir}/urxvt*
89 %{_libdir}/%{name}
90 %{_desktopdir}/urxvt.desktop
91 %{_mandir}/man1/urclock.1*
92 %{_mandir}/man1/urxvt*.1*
93 %{_mandir}/man3/urxvtperl.3*
94 %{_mandir}/man7/urxvt.7*
This page took 0.045908 seconds and 3 git commands to generate.