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