]> git.pld-linux.org Git - packages/urxvt.git/blob - urxvt.spec
- 7.0
[packages/urxvt.git] / urxvt.spec
1 #
2 # TODO: unpackaded perl stuff:
3 #       /usr/lib/urxvt/perl/digital-clock
4 #       /usr/lib/urxvt/perl/example-refresh-hooks
5 #       /usr/lib/urxvt/perl/selection
6 #       /usr/lib/urxvt/urxvt.pm
7 #
8 Summary:        Rxvt terminal with unicode support and some improvements
9 Summary(pl):    Terminal Rxvt z obs³ug± unicode i kilkoma usprawnieniami
10 Name:           urxvt
11 Version:        7.0
12 Release:        1
13 Group:          X11/Applications
14 License:        GPL
15 Source0:        http://dist.schmorp.de/rxvt-unicode/rxvt-unicode-%{version}.tar.bz2
16 # Source0-md5:  4c7905b57199d1fe217a91e750721af9
17 Source1:        %{name}.desktop
18 Patch0:         %{name}-link.patch
19 URL:            http://software.schmorp.de/
20 BuildRequires:  XFree86-devel
21 BuildRequires:  autoconf
22 BuildRequires:  automake
23 BuildRequires:  libstdc++-devel
24 BuildRequires:  libtool
25 BuildRequires:  sed >= 4.0
26 BuildRequires:  xft-devel
27 Requires:       terminfo
28 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29
30 %description
31 URxvt is a Rxvt modification which includes:
32 - unicode support
33 - xft font support (antialiasing)
34 - background pixmaps
35 - background tinting
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
44 %prep
45 %setup -q -n rxvt-unicode-%{version}
46 %patch0 -p1
47
48 rm -f autoconf/libtool.m4
49 ln -sf autoconf/configure.in .
50
51 %build
52 %{__libtoolize}
53 %{__aclocal} -I autoconf
54 %{__autoheader}
55 %{__autoconf}
56 %configure \
57         --enable-shared \
58         --disable-static \
59         --enable-everything \
60         --enable-xgetdefault \
61         --enable-mousewheel \
62         --disable-menubar \
63         --enable-next-scroll \
64         --enable-ttygid \
65         --with-term=rxvt \
66         --enable-half-shadow \
67         --enable-smart-resize \
68         --enable-256-color \
69         --enable-24bit
70 %{__make} \
71         CXXFLAGS="%{rpmcxxflags}" \
72         CFLAGS="%{rpmcxxflags}"
73
74 %install
75 rm -rf $RPM_BUILD_ROOT
76 install -d $RPM_BUILD_ROOT%{_mandir}/man{1,7}
77
78 %{__make} install \
79         DESTDIR=$RPM_BUILD_ROOT
80
81 install -d $RPM_BUILD_ROOT%{_desktopdir}
82 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
83 echo '.so urxvtc.1' >$RPM_BUILD_ROOT%{_mandir}/man1/urxvtd.1
84
85 %clean
86 rm -rf $RPM_BUILD_ROOT
87
88 %post   -p /sbin/ldconfig
89 %postun -p /sbin/ldconfig
90
91 %files
92 %defattr(644,root,root,755)
93 %doc doc/menu/* Changes doc/README.*
94 %attr(755,root,root) %{_bindir}/*
95 %{_desktopdir}/urxvt.desktop
96 %{_mandir}/man*/*
This page took 0.041112 seconds and 4 git commands to generate.