]> git.pld-linux.org Git - packages/urxvt.git/blob - urxvt.spec
- 5.7
[packages/urxvt.git] / urxvt.spec
1 Summary:        Rxvt terminal with unicode support and some improvements
2 Summary(pl):    Terminal Rxvt z obs³ug± unicode i kilkoma usprawnieniami
3 Name:           urxvt
4 Version:        5.7
5 Release:        1
6 Group:          X11/Applications
7 License:        GPL
8 Source0:        http://dist.schmorp.de/rxvt-unicode/rxvt-unicode-%{version}.tar.bz2
9 # Source0-md5:  b6808e467c6328da8baf2d5320cac6c5
10 Source1:        %{name}.desktop
11 URL:            http://software.schmorp.de
12 BuildRequires:  XFree86-devel
13 BuildRequires:  autoconf
14 BuildRequires:  automake
15 BuildRequires:  libtool
16 BuildRequires:  sed >= 4.0
17 BuildRequires:  xft-devel
18 Requires:       terminfo
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
22 URxvt is a Rxvt modification which includes:
23 - unicode support
24 - xft font support (antialiasing)
25 - background pixmaps
26 - background tinting
27
28 %description -l pl
29 URxvt jest modyfikacj± Rxvt uwzglêdniaj±c±:
30 - obs³ugê unicode
31 - obs³ugê czcionek xft (antialiasing)
32 - mo¿liwo¶æ ustawienia grafiki jako t³a
33 - cieniowanie t³a
34
35 %prep
36 %setup -q -n rxvt-unicode-%{version}
37 sed -i -e 's|-O3||' autoconf/configure.in
38 %build
39 mv -f autoconf/{configure.in,xpm.m4} .
40 %{__libtoolize}
41 %{__aclocal} -I .
42 %{__autoheader}
43 %{__autoconf}
44 %{__automake} || :
45 %configure \
46         --enable-shared \
47         --disable-static \
48         --enable-everything \
49         --enable-xgetdefault \
50         --enable-mousewheel \
51         --disable-menubar \
52         --enable-next-scroll \
53         --enable-ttygid \
54         --with-term=rxvt \
55         --enable-half-shadow \
56         --enable-smart-resize \
57         --enable-256-color \
58         --enable-24bit
59 %{__make} \
60         CPPFLAGS="$CPPFLAGS %{rpmcflags}"
61
62 %install
63 rm -rf $RPM_BUILD_ROOT
64 install -d $RPM_BUILD_ROOT%{_mandir}/man{1,7}
65
66 %{__make} install \
67         DESTDIR=$RPM_BUILD_ROOT
68
69 install -d $RPM_BUILD_ROOT%{_desktopdir}
70 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
71 echo '.so urxvtc.1' >$RPM_BUILD_ROOT%{_mandir}/man1/urxvtd.1
72
73 %clean
74 rm -rf $RPM_BUILD_ROOT
75
76 %post   -p /sbin/ldconfig
77 %postun -p /sbin/ldconfig
78
79 %files
80 %defattr(644,root,root,755)
81 %doc doc/menu/* Changes doc/README.*
82 %attr(755,root,root) %{_bindir}/*
83 %{_desktopdir}/urxvt.desktop
84 %{_mandir}/man*/*
This page took 0.041156 seconds and 4 git commands to generate.