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