/[packages]/cauldron/corkscrew/current/SPECS/corkscrew.spec
ViewVC logotype

Annotation of /cauldron/corkscrew/current/SPECS/corkscrew.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 174650 - (hide annotations) (download)
Wed Nov 30 23:35:27 2011 UTC (11 years, 2 months ago) by blino
File size: 1216 byte(s)
imported package corkscrew
1 blino 174650 %define name corkscrew
2     %define version 2.0
3     %define rel 8
4     %define patchSet0 20060404
5    
6     Name: %{name}
7     Summary: Tool for tunneling SSH through HTTP proxies
8     Version: %{version}
9     Release: %mkrel %{rel}
10     License: GPL
11     Url: http://www.agroman.net/%{name}
12     Group: Networking/Other
13     Source0: http://www.agroman.net/%{name}/%{name}-%{version}.tar.bz2
14     Patch0: %{name}-%{version}.%{patchSet0}-manpage.patch.bz2
15     Patch1: %{name}-%{version}.%{patchSet0}-firstpacket.patch.bz2
16    
17     BuildRoot: %{_tmppath}/%{name}-buildroot
18    
19    
20    
21     %description
22     Corkscrew is a tool for tunneling SSH through HTTP proxies.
23    
24     %prep
25     %setup
26     %patch0 -p1 -b .manpage
27     %patch1 -p1 -b .firstpacket
28    
29     # Fix some bad references in the man pages
30     perl -pi -e 's|/usr/local/bin|%{_bindir}|g;' corkscrew.1 README
31    
32     %build
33     rm configure # to prevent aclocal's ac-wrapper from using the old autoconf
34     aclocal --force
35     autoheader
36     automake -a --add-missing --force-missing --gnu
37     autoconf
38    
39     %configure
40     %make
41    
42     %install
43     mkdir -p $RPM_BUILD_ROOT%{_bindir}
44     mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1
45     cp corkscrew.1 $RPM_BUILD_ROOT%{_mandir}/man1/corkscrew.1
46    
47     %makeinstall
48    
49    
50     %clean
51     rm -rf $RPM_BUILD_ROOT
52    
53     %files
54     %defattr(-,root,root)
55     %doc README
56     %{_bindir}/%{name}
57     %{_mandir}/man1/%{name}.1*
58    
59    

  ViewVC Help
Powered by ViewVC 1.1.28