rpms/ftplib/F-7 ftplib-3.1-1-modernize.patch, NONE, 1.1 ftplib.spec, NONE, 1.1 sources, 1.1, 1.2
Tom Callaway (spot)
fedora-extras-commits at redhat.com
Mon Jun 4 22:08:39 UTC 2007
- Previous message: rpms/ftplib/devel ftplib-3.1-1-modernize.patch, NONE, 1.1 ftplib.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message: rpms/ftplib/FC-5 ftplib-3.1-1-modernize.patch, NONE, 1.1 ftplib.spec, NONE, 1.1 sources, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: spot
Update of /cvs/pkgs/rpms/ftplib/F-7
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv18922/F-7
Modified Files:
sources
Added Files:
ftplib-3.1-1-modernize.patch ftplib.spec
Log Message:
Initial branching.
ftplib-3.1-1-modernize.patch:
--- NEW FILE ftplib-3.1-1-modernize.patch ---
--- ftplib-3.1-1/src/Makefile.BAD 2007-06-04 12:13:23.000000000 -0500
+++ ftplib-3.1-1/src/Makefile 2007-06-04 12:14:57.000000000 -0500
@@ -18,6 +18,8 @@ CFLAGS = -Wall $(DEBUG) -I. $(INCLUDES)
LDFLAGS = -L.
DEPFLAGS =
+LIBDIR = /usr/lib
+
all : $(TARGETS)
clean :
@@ -29,15 +31,9 @@ clobber : clean
rm -f libftp.so.*
install : all
- install qftp /usr/local/bin
- install -m 644 libftp.so.$(SOVERSION) /usr/local/lib
- install -m 644 ftplib.h /usr/local/include
- (cd /usr/local/lib && \
- ln -sf libftp.so.$(SOVERSION) libftp.so.$(SONAME) && \
- ln -sf libftp.so.$(SONAME) libftp.so)
- -(cd /usr/local/bin && \
- for f in ftpdir ftpget ftplist ftprm ftpsend; \
- do ln -s qftp $$f; done)
+ install qftp $(DESTDIR)/usr/bin
+ install -m 644 libftp.so.$(SOVERSION) $(DESTDIR)$(LIBDIR)
+ install -m 644 ftplib.h $(DESTDIR)/usr/include
depend :
$(CC) $(CFLAGS) -M $(SOURCES) > .depend
--- NEW FILE ftplib.spec ---
Name: ftplib
Version: 3.1
Release: 2%{?dist}
Summary: Library of FTP routines
Group: System Environment/Libraries
License: LGPL
URL: http://nbpfaus.net/~pfau/ftplib/
Source0: http://nbpfaus.net/~pfau/ftplib/%{name}-%{version}-1.tar.gz
Patch0: ftplib-3.1-1-modernize.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
%description
ftplib is a set of routines that implement the FTP protocol. They allow
applications to create and access remote files through function calls
instead of needing to fork and exec an interactive ftp client program.
%package devel
Summary: Development files for ftplib
Group: Development/Libraries
Requires: ftplib = %{version}-%{release}
%description devel
Development libraries and headers for ftplib.
%package -n qftp
Summary: Simple ftp client application
Group: Applications/Internet
License: GPL
%description -n qftp
Command line driven ftp file transfer program using ftplib.
%prep
%setup -q -n %{name}-%{version}-1
%patch0 -p1
%build
cd src/
make %{?_smp_mflags} DEBUG="$RPM_OPT_FLAGS"
%install
rm -rf $RPM_BUILD_ROOT
mkdir $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT%{_bindir}
mkdir -p $RPM_BUILD_ROOT%{_libdir}
mkdir -p $RPM_BUILD_ROOT%{_includedir}
cd src/
make DESTDIR=$RPM_BUILD_ROOT LIBDIR="%{_libdir}" install
cd ${RPM_BUILD_ROOT}%{_libdir}
chmod +x libftp.so.3.1
ln -sf libftp.so.3.1 libftp.so.3
ln -sf libftp.so.3 libftp.so
cd ${RPM_BUILD_ROOT}%{_bindir}
for f in ftpdir ftpget ftplist ftprm ftpsend; do
ln -s qftp $f
done
%clean
rm -rf $RPM_BUILD_ROOT
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%doc CHANGES TODO NOTES
%{_libdir}/libftp*.so.*
%files devel
%defattr(-,root,root)
%doc additional_rfcs README.ftplib* RFC959.txt html/
%{_includedir}/ftplib.h
%{_libdir}/libftp*.so
%files -n qftp
%defattr(-,root,root)
%doc README.qftp
%{_bindir}/ftpdir
%{_bindir}/ftpget
%{_bindir}/ftplist
%{_bindir}/ftprm
%{_bindir}/ftpsend
%{_bindir}/qftp
%changelog
* Mon Jun 4 2007 Tom "spot" Callaway <tcallawa at redhat.com> - 3.1-2
- fix licensing (libs LGPL, qftp GPL)
* Mon Jun 4 2007 Tom "spot" Callaway <tcallawa at redhat.com> - 3.1-1
- initial build for Fedora
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/ftplib/F-7/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 4 Jun 2007 21:51:25 -0000 1.1
+++ sources 4 Jun 2007 22:06:19 -0000 1.2
@@ -0,0 +1 @@
+763be9c7e7b110776f88521a558dbc55 ftplib-3.1-1.tar.gz
- Previous message: rpms/ftplib/devel ftplib-3.1-1-modernize.patch, NONE, 1.1 ftplib.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message: rpms/ftplib/FC-5 ftplib-3.1-1-modernize.patch, NONE, 1.1 ftplib.spec, NONE, 1.1 sources, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the scm-commits
mailing list