]> git.pld-linux.org Git - packages/urxvt.git/blob - urxvt.spec
- removed junk
[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):    Terminal Rxvt z obs³ug± unicode i kilkoma usprawnieniami
4 Name:           urxvt
5 Version:        7.5
6 Release:        0.1
7 Group:          X11/Applications
8 License:        GPL
9 Source0:        http://dist.schmorp.de/rxvt-unicode/rxvt-unicode-%{version}.tar.bz2
10 # Source0-md5:  41b8b19da031846c6a60bf8f36a16fd7
11 Source1:        %{name}.desktop
12 Patch0:         %{name}-link.patch
13 URL:            http://software.schmorp.de/
14 BuildRequires:  XFree86-devel
15 BuildRequires:  autoconf
16 BuildRequires:  automake
17 BuildRequires:  libstdc++-devel
18 BuildRequires:  libtool
19 BuildRequires:  sed >= 4.0
20 BuildRequires:  xft-devel
21 Requires:       terminfo
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %description
25 URxvt is a Rxvt modification which includes:
26 - unicode support
27 - xft font support (antialiasing)
28 - background pixmaps
29 - background tinting
30
31 %description -l pl
32 URxvt jest modyfikacj± Rxvt uwzglêdniaj±c±:
33 - obs³ugê unicode
34 - obs³ugê czcionek xft (antialiasing)
35 - mo¿liwo¶æ ustawienia grafiki jako t³a
36 - cieniowanie t³a
37
38 %prep
39 %setup -q -n rxvt-unicode-%{version}
40 %patch0 -p1
41
42 %build
43 %{__autoheader}
44 %{__autoconf}
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         CXXFLAGS="%{rpmcxxflags}" \
61         CFLAGS="%{rpmcxxflags}"
62
63 %install
64 rm -rf $RPM_BUILD_ROOT
65 install -d $RPM_BUILD_ROOT%{_mandir}/man{1,7}
66
67 %{__make} install \
68         DESTDIR=$RPM_BUILD_ROOT
69
70 install -d $RPM_BUILD_ROOT%{_desktopdir}
71 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
72 echo '.so urxvtc.1' >$RPM_BUILD_ROOT%{_mandir}/man1/urxvtd.1
73
74 %clean
75 rm -rf $RPM_BUILD_ROOT
76
77 %post   -p /sbin/ldconfig
78 %postun -p /sbin/ldconfig
79
80 %files
81 %defattr(644,root,root,755)
82 %doc Changes doc/README.*
83 %attr(755,root,root) %{_bindir}/*
84 %{_libdir}/%{name}
85 %{_desktopdir}/urxvt.desktop
86 %{_mandir}/man*/*
This page took 0.073478 seconds and 4 git commands to generate.