]> git.pld-linux.org Git - packages/urxvt.git/blob - urxvt.spec
- build, works, and is great
[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:        3.1
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:  72695ff1beb8d95e6b72c645b1079461
10 Source1:        %{name}.desktop
11 Patch0:         %{name}-nodoc.patch
12 URL:            http://software.schmorp.de
13 BuildRequires:  XFree86-devel
14 BuildRequires:  autoconf
15 BuildRequires:  automake
16 BuildRequires:  libtool
17 BuildRequires:  xft-devel
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %description
21 URxvt is a Rxvt modification which includes:
22 - unicode support
23 - xft font support (antialiasing)
24 - background pixmaps
25 - background tinting
26
27 %description -l pl
28 URxvt jest modyfikacj± Rxvt uwzglêdniaj±c±:
29 - obs³ugê unicode
30 - obs³ugê czcionek xft (antialiasing)
31 - mo¿liwo¶æ ustawienia grafiki jako t³a
32 - cieniowanie t³a
33
34 %prep
35 %setup -q -n rxvt-unicode-%{version}
36 %patch0 -p1
37
38 %build
39 mv -f autoconf/{configure.in,xpm.m4} .
40 CFLAGS="%{rpmcflags} -DLINUX_KEYS"
41 %{__libtoolize}
42 %{__aclocal} -I .
43 %{__autoheader}
44 %{__autoconf}
45 %{__automake} || :
46 %configure \
47         --enable-everything \
48         --enable-xgetdefault \
49         --enable-mousewheel \
50         --disable-menubar \
51         --enable-next-scroll \
52         --enable-ttygid \
53         --with-term=rxvt \
54         --enable-half-shadow \
55         --enable-smart-resize \
56         --enable-256-color \
57         --enable-24bit
58 %{__make}
59
60 %install
61 rm -rf $RPM_BUILD_ROOT
62 install -d $RPM_BUILD_ROOT%{_mandir}/man1
63
64 %{__make} install \
65         DESTDIR=$RPM_BUILD_ROOT
66
67 install -d $RPM_BUILD_ROOT%{_desktopdir}
68 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
69 install doc/rxvt.1 $RPM_BUILD_ROOT%{_mandir}/man1/urxvt.1
70 install doc/rxvtc.1 $RPM_BUILD_ROOT%{_mandir}/man1/urxvtc.1
71 ln -s urxvtc.1 $RPM_BUILD_ROOT%{_mandir}/man1/urxvtd.1
72
73 %clean
74 rm -rf $RPM_BUILD_ROOT
75
76 %files
77 %defattr(644,root,root,755)
78 %doc doc/menu/* Changes README.unicode doc/README.* doc/FAQ
79 %attr(755,root,root) %{_bindir}/*
80 %{_desktopdir}/urxvt.desktop
81 %{_mandir}/man1/*
This page took 0.072782 seconds and 3 git commands to generate.