mirror of
https://github.com/proxytunnel/proxytunnel.git
synced 2026-08-04 16:53:17 +00:00
Some more improvements.
git-svn-id: https://proxytunnel.svn.sourceforge.net/svnroot/proxytunnel/trunk/proxytunnel@239 bc163920-b10d-0410-b2c5-a5491ca2ceef
This commit is contained in:
parent
74ac310322
commit
20c46e3756
2 changed files with 5 additions and 4 deletions
3
Makefile
3
Makefile
|
|
@ -5,7 +5,8 @@
|
|||
CC ?= cc
|
||||
CFLAGS ?= -Wall -O2 -ggdb
|
||||
|
||||
OPTFLAGS = -DREVISION=\"$(shell svnversion | awk 'BEGIN { RS=":" } { next } END { print $$1 }')\"
|
||||
#OPTFLAGS = -DREVISION=\"$(shell svnversion | awk 'BEGIN { RS=":" } { next } END { print $$1 }')\"
|
||||
OPTFLAGS = -DREVISION=\"$(shell echo '$Revision: 234$' | sed -e 's/\$Revision: \([0-9]\+\)\$$/\1/')\"
|
||||
|
||||
# Comment on non-gnu systems
|
||||
OPTFLAGS += -DHAVE_GETOPT_LONG
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ License: GPL
|
|||
Group: Applications/Internet
|
||||
URL: http://proxytunnel.sourceforge.net/
|
||||
|
||||
Source: http://dl.sf.net/proxytunnel/proxytunnel-%{version}.tgz
|
||||
Source: http://dl.sf.net/proxytunnel/proxytunnel-%{version}.tar.bz2
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
||||
|
||||
BuildRequires: openssl-devel
|
||||
|
|
@ -40,14 +40,14 @@ proxy authentication.
|
|||
|
||||
%install
|
||||
%{__rm} -rf %{buildroot}
|
||||
%{__make} install DESTDIR="%{buildroot}" PREFIX="%{_prefix}"
|
||||
%{__make} install DESTDIR="%{buildroot}" prefix="%{_prefix}"
|
||||
|
||||
%clean
|
||||
%{__rm} -rf %{buildroot}
|
||||
|
||||
%files
|
||||
%defattr(-, root, root, 0755)
|
||||
%doc CHANGES CREDITS INSTALL KNOWN_ISSUES LICENSE.txt README REL_NOTES TODO docs/*.txt docs/*.html
|
||||
%doc CHANGES CREDITS INSTALL KNOWN_ISSUES LICENSE.txt README RELNOTES TODO docs/*.txt docs/*.html
|
||||
%doc %{_mandir}/man1/proxytunnel.1*
|
||||
%{_bindir}/proxytunnel
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue