diff options
author | Jakub Bogusz | 2003-07-20 21:16:15 (GMT) |
---|---|---|
committer | cvs2git | 2012-06-24 12:13:13 (GMT) |
commit | 7a71a035cd5a9967dd6776e212feace9ee6f8758 (patch) | |
tree | a5c2cfcb718bff15b33164543993d088e572e0a6 | |
download | xtp-7a71a035cd5a9967dd6776e212feace9ee6f8758.zip xtp-7a71a035cd5a9967dd6776e212feace9ee6f8758.tar.gz |
- new
Changed files:
xtp-nolibs.patch -> 1.1
xtp.spec -> 1.1
-rw-r--r-- | xtp-nolibs.patch | 13 | ||||
-rw-r--r-- | xtp.spec | 55 |
2 files changed, 68 insertions, 0 deletions
diff --git a/xtp-nolibs.patch b/xtp-nolibs.patch new file mode 100644 index 0000000..e016dc0 --- /dev/null +++ b/xtp-nolibs.patch @@ -0,0 +1,13 @@ +--- xtp-5.4.3/configure.in.orig 2002-02-01 05:12:48.000000000 +0100 ++++ xtp-5.4.3/configure.in 2003-07-20 23:07:23.000000000 +0200 +@@ -192,8 +192,8 @@ + DEFS='' + FTP='ftp' + +-AC_CHECK_LIB(socket,socket,LIBS="-lsocket $LIBS",,) +-AC_CHECK_LIB(nsl,gethostbyname,LIBS="-lnsl $LIBS",,) ++AC_SEARCH_LIBS(socket, socket) ++AC_SEARCH_LIBS(gethostbyname, nsl) + # If profiling, then check for -ldl and dlopen (required for Solaris & gcc) + if test "$with_profiling" = 'yes' + then diff --git a/xtp.spec b/xtp.spec new file mode 100644 index 0000000..b5f1701 --- /dev/null +++ b/xtp.spec @@ -0,0 +1,55 @@ +Summary: xtp - file transfer program +Summary(pl): xtp - program do przesyłania plików +Name: xtp +Version: 5.4.3 +Release: 1 +License: BSD-like +Group: Applications/Networking +Source0: ftp://ftp.simplesystems.org/pub/ImageMagick/delegates/%{name}-%{version}.tar.gz +# Source0-md5: 0748b0f991fb92503132e1412fedd0ad +Patch0: %{name}-nolibs.patch +BuildRequires: autoconf +BuildRequires: automake +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +xtp is a utility for retrieving, listing, or printing files from a +remote network site, or sending files to a remote network site. xtp +performs most of the same functions as the ftp(1) program, but does +not require any interactive commands. You simply specify the file +transfer task on the command line and xtp performs the task +automatically. + +%description -l pl +xtp to narzędzie do pobierania, listowania lub wypisywania plików ze +zdalnych komputerów w sieci oraz do wysyłania plików na zdalne +komputery. xtp wykonuje większość funkcji programu ftp(1), ale nie +wymaga żadnych interaktywnych poleceń. Po prostu z linii poleceń +podaje się zadanie przesłania pliku, a xtp wykonuje je automatycznie. + +%prep +%setup -q +%patch0 -p1 + +%build +%{__aclocal} +%{__autoconf} +%{__autoheader} +%{__automake} +%configure +%{__make} + +%install +rm -rf $RPM_BUILD_ROOT + +%{__make} install \ + DESTDIR=$RPM_BUILD_ROOT + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%doc Copyright.txt README.txt +%attr(755,root,root) %{_bindir}/* +%{_mandir}/man1/* |