]> git.pld-linux.org Git - packages/urxvt.git/blob - urxvt.spec
- GPL v2+
[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.UTF-8):      Terminal Rxvt z obsługą unicode i kilkoma usprawnieniami
4 Name:           urxvt
5 Version:        8.4
6 Release:        1
7 Group:          X11/Applications
8 License:        GPL v2+
9 Source0:        http://dist.schmorp.de/rxvt-unicode/rxvt-unicode-%{version}.tar.bz2
10 # Source0-md5:  d15ba0ea7cb54ce7a2a41650e2a5e6ab
11 Source1:        %{name}.desktop
12 URL:            http://software.schmorp.de/
13 BuildRequires:  autoconf >= 2.50
14 BuildRequires:  fontconfig-devel
15 BuildRequires:  libstdc++-devel
16 BuildRequires:  perl-devel
17 BuildRequires:  sed >= 4.0
18 BuildRequires:  xorg-lib-libXext-devel
19 BuildRequires:  xorg-lib-libXft-devel
20 BuildRequires:  xorg-lib-libXpm-devel
21 BuildRequires:  zlib-devel
22 Requires:       terminfo
23 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25 %description
26 URxvt is a Rxvt modification which includes:
27 - unicode support
28 - xft font support (antialiasing)
29 - background pixmaps
30 - background tinting
31 - real transparency
32
33 %description -l pl.UTF-8
34 URxvt jest modyfikacją Rxvt uwzględniającą:
35 - obsługę unicode
36 - obsługę czcionek xft (antialiasing)
37 - możliwość ustawienia grafiki jako tła
38 - cieniowanie tła
39 - prawdziwą przezroczystość
40
41 %prep
42 %setup -q -n rxvt-unicode-%{version}
43
44 %build
45 %{__autoheader}
46 %{__autoconf}
47 %configure \
48         --enable-shared \
49         --disable-static \
50         --enable-everything \
51         --enable-xgetdefault \
52         --enable-mousewheel \
53         --disable-menubar \
54         --enable-next-scroll \
55         --enable-ttygid \
56         --with-term=rxvt \
57         --enable-half-shadow \
58         --enable-smart-resize \
59         --enable-256-color \
60         --enable-24bit
61 %{__make} \
62         CXXFLAGS="%{rpmcxxflags}" \
63         CFLAGS="%{rpmcxxflags}"
64
65 %install
66 rm -rf $RPM_BUILD_ROOT
67
68 %{__make} install \
69         DESTDIR=$RPM_BUILD_ROOT
70
71 install -d $RPM_BUILD_ROOT%{_desktopdir}
72 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
73 echo '.so urxvtc.1' >$RPM_BUILD_ROOT%{_mandir}/man1/urxvtd.1
74
75 %clean
76 rm -rf $RPM_BUILD_ROOT
77
78 %post   -p /sbin/ldconfig
79 %postun -p /sbin/ldconfig
80
81 %files
82 %defattr(644,root,root,755)
83 %doc Changes doc/README.xvt
84 %attr(755,root,root) %{_bindir}/urxvt*
85 %{_libdir}/%{name}
86 %{_desktopdir}/urxvt.desktop
87 %{_mandir}/man1/urxvt*.1*
88 %{_mandir}/man3/urxvtperl.3*
89 %{_mandir}/man7/urxvt.7*
This page took 0.067259 seconds and 4 git commands to generate.