]> git.pld-linux.org Git - packages/urxvt.git/blobdiff - urxvt.spec
- 6.3, unpackaged perl stuff
[packages/urxvt.git] / urxvt.spec
index d4057a2822bc960c19b88753208ffd8058262de5..60caf636af311eaeca692a8d82e32a694e0ca6cd 100644 (file)
@@ -1,20 +1,30 @@
+#
+# TODO: unpackaded perl stuff:
+#      /usr/lib/urxvt/perl/digital-clock
+#      /usr/lib/urxvt/perl/example-refresh-hooks
+#      /usr/lib/urxvt/perl/selection
+#      /usr/lib/urxvt/urxvt.pm
+#
 Summary:       Rxvt terminal with unicode support and some improvements
 Summary(pl):   Terminal Rxvt z obs³ug± unicode i kilkoma usprawnieniami
 Name:          urxvt
-Version:       3.5
-Release:       2
+Version:       6.3
+Release:       1
 Group:         X11/Applications
 License:       GPL
 Source0:       http://dist.schmorp.de/rxvt-unicode/rxvt-unicode-%{version}.tar.bz2
-# Source0-md5: d1b03748868e99f2524a03ea4be718d8
+# Source0-md5: 411799866fa89ab31f2b19662c36e7ce
 Source1:       %{name}.desktop
-Patch0:                %{name}-nodoc.patch
-URL:           http://software.schmorp.de
+Patch0:                %{name}-link.patch
+URL:           http://software.schmorp.de/
 BuildRequires: XFree86-devel
 BuildRequires: autoconf
 BuildRequires: automake
+BuildRequires: libstdc++-devel
 BuildRequires: libtool
+BuildRequires: sed >= 4.0
 BuildRequires: xft-devel
+Requires:      terminfo
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -35,15 +45,17 @@ URxvt jest modyfikacj
 %setup -q -n rxvt-unicode-%{version}
 %patch0 -p1
 
+rm -f autoconf/libtool.m4
+ln -sf autoconf/configure.in .
+
 %build
-mv -f autoconf/{configure.in,xpm.m4} .
-#CFLAGS="%{rpmcflags} -DLINUX_KEYS"
 %{__libtoolize}
-%{__aclocal} -I .
+%{__aclocal} -I autoconf
 %{__autoheader}
 %{__autoconf}
-%{__automake} || :
 %configure \
+       --enable-shared \
+       --disable-static \
        --enable-everything \
        --enable-xgetdefault \
        --enable-mousewheel \
@@ -55,27 +67,30 @@ mv -f autoconf/{configure.in,xpm.m4} .
        --enable-smart-resize \
        --enable-256-color \
        --enable-24bit
-%{__make}
+%{__make} \
+       CXXFLAGS="%{rpmcxxflags}" \
+       CFLAGS="%{rpmcxxflags}"
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_mandir}/man1
+install -d $RPM_BUILD_ROOT%{_mandir}/man{1,7}
 
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
 install -d $RPM_BUILD_ROOT%{_desktopdir}
 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
-install doc/rxvt.1 $RPM_BUILD_ROOT%{_mandir}/man1/urxvt.1
-install doc/rxvtc.1 $RPM_BUILD_ROOT%{_mandir}/man1/urxvtc.1
 echo '.so urxvtc.1' >$RPM_BUILD_ROOT%{_mandir}/man1/urxvtd.1
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post  -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
 %files
 %defattr(644,root,root,755)
-%doc doc/menu/* Changes README.unicode doc/README.* doc/FAQ
+%doc doc/menu/* Changes doc/README.*
 %attr(755,root,root) %{_bindir}/*
 %{_desktopdir}/urxvt.desktop
-%{_mandir}/man1/*
+%{_mandir}/man*/*
This page took 0.073777 seconds and 4 git commands to generate.