]> git.pld-linux.org Git - packages/screen.git/blobdiff - screen.spec
- unified
[packages/screen.git] / screen.spec
index 01c7468d45c16dbbdd3f36138c9b184fb4b49cb6..3e1709ceac3be9238e61acbcd8c7a9ffc468e5ae 100644 (file)
@@ -1,3 +1,7 @@
+#
+# Conditional build:
+%bcond_without status_bar  # do not add status bar options to /etc/screenrc
+#
 Summary:       Screen - Manages multiple sessions on one tty
 Summary(de):   Screen - Verwaltet mehrere Sitzungen an einem tty
 Summary(es):   Screen - Administra múltiples sesiones en un tty
@@ -8,14 +12,14 @@ Summary(ru): 
 Summary(tr):   Bir uçbirimde birden fazla oturumu düzenler
 Summary(uk):   íÅÎÅÄÖÅÒ ÅËÒÁÎÕ, ÝϠЦÄÔÒÉÍÕ¤ Ë¦ÌØËÁ ÌÏǦΦנڠÏÄÎÏÇÏ ÔÅÒͦÎÁÌÕ
 Name:          screen
-Version:       3.9.15
-Release:       1
+Version:       4.0.2
+Release:       4
 License:       GPL
 Group:         Applications/Terminal
 Source0:       ftp://ftp.uni-erlangen.de/pub/utilities/screen/%{name}-%{version}.tar.gz
-# Source0-md5: 0dff6fdc3fbbceabf25a43710fbfe75f
+# Source0-md5: ed68ea9b43d9fba0972cb017a24940a1
 Source1:       http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2
-# Source1-md5:         236166e774cee788cf594b05dd1dd70d
+# Source1-md5: 236166e774cee788cf594b05dd1dd70d
 Source2:       %{name}.pamd
 Patch0:                %{name}-tty.patch
 Patch1:                %{name}-compat21.patch
@@ -27,15 +31,18 @@ Patch6:             %{name}-nolibtermcap.patch
 Patch7:                %{name}-no_hardcoded_term_sequences.patch
 Patch8:                %{name}-home_etc.patch
 Patch9:                %{name}-no-libs.patch
+Patch10:       %{name}-varargs.patch
+Patch11:       %{name}-status-bar.patch
+URL:           http://www.gnu.org/software/screen/
 BuildRequires: autoconf
+BuildRequires: automake
 BuildRequires: ncurses-devel >= 5.0
 BuildRequires: pam-devel
 BuildRequires: texinfo
 BuildRequires: utempter-devel
+Requires:      pam >= 0.77.3
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define                _sysconfdir     /etc
-
 %description
 Screen is a program that allows you to have multiple logins on one
 terminal. It is useful in situations where you are telnetted into a
@@ -104,6 +111,8 @@ Screen 
 ###%patch7 -p1
 #%patch8 -p1
 %patch9 -p1
+%patch10 -p1
+%{?with_status_bar:%patch11 -p1}
 
 %build
 %{__aclocal}
@@ -119,7 +128,8 @@ filenew=$(echo "$file" | sed -e 's#\.dist##g')
        cp -f $file $filenew
 done
 
-%{__make} CFLAGS="%{rpmcflags}"
+%{__make} \
+       CFLAGS="%{rpmcflags}"
 
 cd doc
 rm -f screen.info*
@@ -160,4 +170,4 @@ rm -rf $RPM_BUILD_ROOT
 %lang(ja) %{_mandir}/ja/man1/*
 %lang(pl) %{_mandir}/pl/man1/*
 %{_infodir}/screen.info*
-%attr(644,root,root) %config(noreplace) %verify(not size mtime md5) /etc/pam.d/*
+%config(noreplace) %verify(not md5 mtime size) /etc/pam.d/*
This page took 0.045035 seconds and 4 git commands to generate.