summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElan Ruusamäe2010-09-05 17:44:09 (GMT)
committercvs2git2012-06-24 12:13:13 (GMT)
commit3d6f9e3e63a9667a84e130680f60195065c6c0d4 (patch)
treefd08d3b44438f026706bccdb02fd26ec3f7bcd53
parentfa7130f8a2f4b11aaf0d0e296afefcf1ae8ba077 (diff)
downloadconspy-auto/th/conspy-1_7-1.zip
conspy-auto/th/conspy-1_7-1.tar.gz
Changed files: conspy.spec -> 1.8 tinfo.patch -> 1.1
-rw-r--r--conspy.spec18
-rw-r--r--tinfo.patch10
2 files changed, 19 insertions, 9 deletions
diff --git a/conspy.spec b/conspy.spec
index e2a866a..bad11d6 100644
--- a/conspy.spec
+++ b/conspy.spec
@@ -1,12 +1,13 @@
Summary: Conspy - remote control of Linux virtual consoles
Summary(pl.UTF-8): Conspy - zdalne sterowanie wirtualnymi konsolami Linuksa
Name: conspy
-Version: 1.4
-Release: 2
-License: GPL v2
+Version: 1.7
+Release: 1
+License: EPL v1.0
Group: Applications
-Source0: http://ace-host.stuart.id.au/russell/files/conspy/%{name}-%{version}.tar.bz2
-# Source0-md5: 73dfe14d5eb8f6351f115efbbbc4ed06
+Source0: http://ace-host.stuart.id.au/russell/files/conspy/%{name}-%{version}.tar.gz
+Patch0: tinfo.patch
+# Source0-md5: bd2d4c1c4cec9f197309dc82c0b8539f
URL: http://ace-host.stuart.id.au/russell/files/conspy/
BuildRequires: autoconf
BuildRequires: automake
@@ -34,19 +35,18 @@ zainstalowania serwera przed używaniem.
%prep
%setup -q
+%patch0 -p1
%build
%{__aclocal}
%{__autoconf}
%{__automake}
-
%configure \
CFLAGS="%{rpmcflags} -I/usr/include/ncurses"
%{__make}
%install
rm -rf $RPM_BUILD_ROOT
-
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
@@ -55,6 +55,6 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%doc AUTHORS ChangeLog NEWS README
+%doc AUTHORS ChangeLog README
%attr(755,root,root) %{_bindir}/conspy
-%{_mandir}/man1/*
+%{_mandir}/man1/conspy.1*
diff --git a/tinfo.patch b/tinfo.patch
new file mode 100644
index 0000000..86bb386
--- /dev/null
+++ b/tinfo.patch
@@ -0,0 +1,10 @@
+--- conspy-1.7/configure.in~ 2009-08-23 12:40:49.000000000 +0300
++++ conspy-1.7/configure.in 2010-09-05 20:40:59.287368881 +0300
+@@ -11,6 +11,7 @@
+ AC_HEADER_STDC
+ AC_CHECK_HEADERS([fcntl.h getopt.h stdarg.h stdlib.h string.h sys/ioctl.h sys/time.h termios.h unistd.h])
+ AC_CHECK_LIB(ncurses, initscr)
++AC_CHECK_LIB(tinfo, tigetstr)
+
+ # Checks for typedefs, structures, and compiler characteristics.
+ AC_HEADER_TIME