]> git.pld-linux.org Git - packages/urxvt.git/blob - urxvt.spec
- release 2
[packages/urxvt.git] / urxvt.spec
1 #
2 # Conditional build:
3 #
4 %bcond_with     256colors # unsupported 256 colors patch (see FAQ)
5 %include        /usr/lib/rpm/macros.perl
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.07
10 Release:        2
11 License:        GPL v2+
12 Group:          X11/Applications
13 Source0:        http://dist.schmorp.de/rxvt-unicode/rxvt-unicode-%{version}.tar.bz2
14 # Source0-md5:  49bb52c99e002bf85eb41d8385d903b5
15 Source1:        %{name}.desktop
16 URL:            http://software.schmorp.de/
17 BuildRequires:  autoconf >= 2.50
18 BuildRequires:  fontconfig-devel
19 BuildRequires:  libstdc++-devel
20 BuildRequires:  perl-devel
21 BuildRequires:  pkgconfig
22 BuildRequires:  rpm-perlprov
23 BuildRequires:  sed >= 4.0
24 BuildRequires:  xorg-lib-libXext-devel
25 BuildRequires:  xorg-lib-libXft-devel
26 BuildRequires:  xorg-lib-libXpm-devel
27 BuildRequires:  zlib-devel
28 Requires:       terminfo
29 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30
31 %description
32 URxvt is a Rxvt modification which includes:
33 - unicode support
34 - xft font support (antialiasing)
35 - background pixmaps
36 - background tinting
37 - real transparency
38
39 %description -l pl.UTF-8
40 URxvt jest modyfikacją Rxvt uwzględniającą:
41 - obsługę unicode
42 - obsługę czcionek xft (antialiasing)
43 - możliwość ustawienia grafiki jako tła
44 - cieniowanie tła
45 - prawdziwą przezroczystość
46
47 %prep
48 %setup -q -n rxvt-unicode-%{version}
49 %if %{with 256colors}
50 patch -p1 < doc/urxvt-8.2-256color.patch
51 %endif
52
53 %build
54 %{__autoheader}
55 %{__autoconf}
56 %configure \
57 %if %{with 256colors}
58         --enable-xterm-colors=256 \
59 %endif
60         --enable-everything \
61         --enable-mousewheel \
62         --enable-next-scroll \
63         --with-term=rxvt \
64         --disable-afterimage \
65         --enable-smart-resize
66
67 %{__make} \
68         CXXFLAGS="%{rpmcxxflags}" \
69         CFLAGS="%{rpmcxxflags}"
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}/urxvt*
88 %{_libdir}/%{name}
89 %{_desktopdir}/urxvt.desktop
90 %{_mandir}/man1/urxvt*.1*
91 %{_mandir}/man3/urxvtperl.3*
92 %{_mandir}/man7/urxvt.7*
This page took 0.050005 seconds and 4 git commands to generate.