Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2
lukemftp
lukemftp.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File lukemftp.spec of Package lukemftp
# # spec file for package lukemftp # # Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: lukemftp BuildRequires: autoconf BuildRequires: ncurses-devel BuildRequires: update-alternatives Conflicts: ftp Provides: nkitb:/usr/bin/ftp PreReq: update-alternatives coreutils Version: 1.5 Release: 0 Summary: Enhanced FTP Client License: BSD-3-Clause Group: Productivity/Networking/Ftp/Clients Url: ftp://ftp.netbsd.org/pub/NetBSD/misc/lukemftp/old Source: %{name}-%{version}.tar.bz2 Patch: %{name}-%{version}.dif Patch1: hostname.dif Patch3: %{name}-%{version}-secfix.dif Patch4: %{name}-%{version}-strict-aliasing-fix.diff Patch5: %{name}-%{version}-segfault.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description lukemftp is the enhanced FTP client in NetBSD. Authors: -------- Luke Mewburn <lukem@netbsd.org> %define prefix /usr %prep %setup %patch %patch1 %patch3 %patch4 %patch5 %build autoconf CFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64" CXXFLAGS="$RPM_OPT_FLAGS" \ ./configure --mandir=%{_mandir} --prefix=%{prefix} --infodir=%{_infodir} \ --sysconfdir=%{_sysconfdir} --target=%{_target_cpu}-suse-linux %__make %{?_smp_mflags} %install %__make DESTDIR=$RPM_BUILD_ROOT/ install %__mv $RPM_BUILD_ROOT/usr/bin/{,p}ftp %__mv $RPM_BUILD_ROOT%{_mandir}/man1/{,p}ftp.1 touch ${RPM_BUILD_ROOT}%{_bindir}/ftp %post test -L %{_bindir}/ftp || rm -f %{_bindir}/ftp update-alternatives --install %{_bindir}/ftp ftp %{_bindir}/pftp 10 \ --slave %{_mandir}/man1/ftp.1.gz ftp.1 %{_mandir}/man1/pftp.1.gz update-alternatives --auto ftp %preun if [ $1 -eq 0 ]; then update-alternatives --remove ftp %{_bindir}/pftp fi %clean %__rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc COPYING ChangeLog NEWS README THANKS %ghost %{_bindir}/ftp %{_bindir}/pftp %doc %{_mandir}/man1/* %ghost %doc %attr(0444,root,root) %{_mandir}/man1/ftp.1.gz %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor