corkscrew/corkscrew.spec
Debarshi Ray a2bb33d3ff Initial import into F-7.
Modified Files: import.log F-7/.cvsignore F-7/sources Added Files:
    F-7/corkscrew-2.0-from-debian.patch F-7/corkscrew-2.0-typo.patch
    F-7/corkscrew.spec
2007-06-12 15:25:52 +00:00

68 lines
1.7 KiB
RPMSpec

Summary: Tool for tunneling SSH through HTTP proxies
Name: corkscrew
Version: 2.0
Release: 4%{dist}
License: GPL
Group: Applications/Internet
URL: http://www.agroman.net/corkscrew/
Source0: http://www.agroman.net/corkscrew/%{name}-%{version}.tar.gz
Patch0: %{name}-%{version}-from-debian.patch
Patch1: %{name}-%{version}-typo.patch
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
%description
Corkscrew is a tool for tunneling SSH through HTTP proxies.
It has been tested with the following HTTP proxies :
* Gauntlet
* CacheFlow
* JunkBuster
* Apache mod_proxy
%prep
%setup -q
%patch0 -p1
%patch1 -p1
%build
%configure
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1
make install DESTDIR=$RPM_BUILD_ROOT
# man page
install -m644 %{name}.1 $RPM_BUILD_ROOT%{_mandir}/man1
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc AUTHORS ChangeLog COPYING README TODO
%{_bindir}/%{name}
%{_mandir}/man1/%{name}.1.gz
%changelog
* Sun Jun 10 2007 Debarshi Ray <rishi@fedoraproject.org> - 2.0-4
- Removed 'export CC=gcc' from the build stanza.
* Wed Jun 06 2007 Debarshi Ray <rishi@fedoraproject.org> - 2.0-3
- Removed '[ -d $RPM_BUILD_ROOT ]' from the install stanza.
- Changed value of BuildRoot as per recommendations in Fedora packaging
guidelines.
* Sat May 19 2007 Debarshi Ray <rishi@fedoraproject.org> - 2.0-2
- Addressed warnings generated by rpmlint, and changed Source0 into a URL.
- Added AUTHORS, ChangeLog, COPYING and TODO in the list of documentation
files.
- Added online manual page and patches to README and corkscrew.c from Debian.
- Fixed a typo in README.
* Sat May 12 2007 Debarshi Ray <rishi@fedoraproject.org> - 2.0-1
- Initial build.