]> git.pld-linux.org Git - packages/urxvt.git/blob - urxvt.spec
221b5342759b44c8fbcd0806a1224b681c5e1587
[packages/urxvt.git] / urxvt.spec
1 # TODO:
2 # - Build fails on all platforms, same error for previous TH/TI built version 9.07
3 #               /usr/bin/ld: rxvtfont.o: undefined reference to symbol 'FcPatternDel'
4 #               /usr/bin/ld: note: 'FcPatternDel' is defined in DSO /usr/lib64/libfontconfig.so so try adding it to the linker command line
5 #               /usr/lib64/libfontconfig.so: could not read symbols: Invalid operation
6 #
7 # Conditional build:
8 #
9 %include        /usr/lib/rpm/macros.perl
10 Summary:        Rxvt terminal with unicode support and some improvements
11 Summary(pl.UTF-8):      Terminal Rxvt z obsługą unicode i kilkoma usprawnieniami
12 Name:           urxvt
13 Version:        9.09
14 Release:        0.1
15 License:        GPL v2+
16 Group:          X11/Applications
17 Source0:        http://dist.schmorp.de/rxvt-unicode/rxvt-unicode-%{version}.tar.bz2
18 # Source0-md5:  3505887adae710382edee90ed5538a01
19 Source1:        %{name}.desktop
20 URL:            http://software.schmorp.de/
21 BuildRequires:  autoconf >= 2.50
22 BuildRequires:  fontconfig-devel
23 BuildRequires:  fontconfig-libs
24 BuildRequires:  libev >= 4.0
25 BuildRequires:  libstdc++-devel
26 BuildRequires:  perl-devel
27 BuildRequires:  pkgconfig
28 BuildRequires:  rpm-perlprov
29 BuildRequires:  sed >= 4.0
30 BuildRequires:  xorg-lib-libXext-devel
31 BuildRequires:  xorg-lib-libXft-devel
32 BuildRequires:  xorg-lib-libXpm-devel
33 BuildRequires:  zlib-devel
34 Requires:       terminfo
35 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
36
37 %description
38 URxvt is a Rxvt modification which includes:
39 - unicode support
40 - xft font support (antialiasing)
41 - background pixmaps
42 - background tinting
43 - real transparency
44
45 %description -l pl.UTF-8
46 URxvt jest modyfikacją Rxvt uwzględniającą:
47 - obsługę unicode
48 - obsługę czcionek xft (antialiasing)
49 - możliwość ustawienia grafiki jako tła
50 - cieniowanie tła
51 - prawdziwą przezroczystość
52
53 %prep
54 %setup -q -n rxvt-unicode-%{version}
55
56 %build
57 %{__autoheader}
58 %{__autoconf}
59 %configure \
60         --enable-everything \
61         --enable-mousewheel \
62         --enable-next-scroll \
63         --with-term=rxvt \
64         --disable-afterimage \
65         --enable-smart-resize
66
67 %{__make} \
68         CXXFLAGS="%{rpmcxxflags}" \
69         CFLAGS="%{rpmcxxflags}" \
70         LDFLAGS="%{rpmldflags} -lfontconfig"
71
72 %install
73 rm -rf $RPM_BUILD_ROOT
74
75 %{__make} install \
76         DESTDIR=$RPM_BUILD_ROOT
77
78 install -d $RPM_BUILD_ROOT%{_desktopdir}
79 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
80 echo '.so urxvtc.1' >$RPM_BUILD_ROOT%{_mandir}/man1/urxvtd.1
81
82 %clean
83 rm -rf $RPM_BUILD_ROOT
84
85 %files
86 %defattr(644,root,root,755)
87 %doc Changes doc/README.xvt
88 %attr(755,root,root) %{_bindir}/urxvt*
89 %{_libdir}/%{name}
90 %{_desktopdir}/urxvt.desktop
91 %{_mandir}/man1/urxvt*.1*
92 %{_mandir}/man3/urxvtperl.3*
93 %{_mandir}/man7/urxvt.7*
This page took 0.032008 seconds and 2 git commands to generate.