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