- BR perl-devel
[packages/urxvt.git] / urxvt.spec
1 %include        /usr/lib/rpm/macros.perl
2 Summary:        Rxvt terminal with unicode support and some improvements
3 Summary(pl):    Terminal Rxvt z obs³ug± unicode i kilkoma usprawnieniami
4 Name:           urxvt
5 Version:        7.9
6 Release:        3
7 Group:          X11/Applications
8 License:        GPL
9 Source0:        http://dist.schmorp.de/rxvt-unicode/rxvt-unicode-%{version}.tar.bz2
10 # Source0-md5:  7a0c73ccf0e31808ad37b61e730cd10e
11 Source1:        %{name}.desktop
12 Patch0:         %{name}-link.patch
13 Patch1:         %{name}-utmp.patch
14 URL:            http://software.schmorp.de/
15 BuildRequires:  autoconf
16 BuildRequires:  automake
17 BuildRequires:  fontconfig-devel
18 BuildRequires:  libstdc++-devel
19 BuildRequires:  libtool
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
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 %patch0 -p1
48 %patch1 -p1
49
50 %build
51 %{__autoheader}
52 %{__autoconf}
53 %configure \
54         --enable-shared \
55         --disable-static \
56         --enable-everything \
57         --enable-xgetdefault \
58         --enable-mousewheel \
59         --disable-menubar \
60         --enable-next-scroll \
61         --enable-ttygid \
62         --with-term=rxvt \
63         --enable-half-shadow \
64         --enable-smart-resize \
65         --enable-256-color \
66         --enable-24bit
67 %{__make} \
68         CXXFLAGS="%{rpmcxxflags}" \
69         CFLAGS="%{rpmcxxflags}"
70
71 %install
72 rm -rf $RPM_BUILD_ROOT
73 install -d $RPM_BUILD_ROOT%{_mandir}/man{1,7}
74
75 %{__make} install \
76         DESTDIR=$RPM_BUILD_ROOT
77
78 install -d $RPM_BUILD_ROOT%{_desktopdir}
79 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
80 echo '.so urxvtc.1' >$RPM_BUILD_ROOT%{_mandir}/man1/urxvtd.1
81
82 %clean
83 rm -rf $RPM_BUILD_ROOT
84
85 %post   -p /sbin/ldconfig
86 %postun -p /sbin/ldconfig
87
88 %files
89 %defattr(644,root,root,755)
90 %doc Changes doc/README.*
91 %attr(755,root,root) %{_bindir}/*
92 %{_libdir}/%{name}
93 %{_desktopdir}/urxvt.desktop
94 %{_mandir}/man*/*
This page took 0.042512 seconds and 4 git commands to generate.