mirror of
				https://github.com/3proxy/3proxy.git
				synced 2025-11-04 07:42:39 +08:00 
			
		
		
		
	update spec for crossbuild
This commit is contained in:
		
							parent
							
								
									c9e1fc3f13
								
							
						
					
					
						commit
						8fd5a943a6
					
				@ -7,6 +7,7 @@ URL:            https://3proxy.org/
 | 
			
		||||
Vendor:         3proxy.org 3proxy@3proxy.org
 | 
			
		||||
Prefix:         %{_prefix}
 | 
			
		||||
Packager: 	z3APA3A
 | 
			
		||||
Target:		%{_target}
 | 
			
		||||
Source:		https://github.com/%{packager}/%{name}/tarball/devel
 | 
			
		||||
 | 
			
		||||
%description
 | 
			
		||||
@ -20,7 +21,7 @@ ln -s Makefile.Linux Makefile
 | 
			
		||||
make
 | 
			
		||||
 | 
			
		||||
%install
 | 
			
		||||
make DESTDIR=$RPM_BUILD_ROOT install
 | 
			
		||||
make DESTDIR=%buildroot install
 | 
			
		||||
 | 
			
		||||
%clean
 | 
			
		||||
make clean
 | 
			
		||||
@ -47,6 +48,18 @@ make clean
 | 
			
		||||
/usr/local/3proxy/libexec/StringsPlugin.ld.so
 | 
			
		||||
/usr/local/3proxy/libexec/TrafficPlugin.ld.so
 | 
			
		||||
/usr/local/3proxy/libexec/TransparentPlugin.ld.so
 | 
			
		||||
%if "%{cross}" == "yes"
 | 
			
		||||
/usr/share/man/man3/3proxy.cfg.3
 | 
			
		||||
/usr/share/man/man8/3proxy.8
 | 
			
		||||
/usr/share/man/man8/ftppr.8
 | 
			
		||||
/usr/share/man/man8/icqpr.8
 | 
			
		||||
/usr/share/man/man8/pop3p.8
 | 
			
		||||
/usr/share/man/man8/proxy.8
 | 
			
		||||
/usr/share/man/man8/smtpp.8
 | 
			
		||||
/usr/share/man/man8/socks.8
 | 
			
		||||
/usr/share/man/man8/tcppm.8
 | 
			
		||||
/usr/share/man/man8/udppm.8
 | 
			
		||||
%else
 | 
			
		||||
/usr/share/man/man3/3proxy.cfg.3.gz
 | 
			
		||||
/usr/share/man/man8/3proxy.8.gz
 | 
			
		||||
/usr/share/man/man8/ftppr.8.gz
 | 
			
		||||
@ -57,6 +70,7 @@ make clean
 | 
			
		||||
/usr/share/man/man8/socks.8.gz
 | 
			
		||||
/usr/share/man/man8/tcppm.8.gz
 | 
			
		||||
/usr/share/man/man8/udppm.8.gz
 | 
			
		||||
%endif
 | 
			
		||||
/var/log/3proxy
 | 
			
		||||
 | 
			
		||||
%doc doc/*
 | 
			
		||||
 | 
			
		||||
@ -1,5 +1,5 @@
 | 
			
		||||
#ifndef VERSION
 | 
			
		||||
#define VERSION "3proxy-0.9-devel"
 | 
			
		||||
#define VERSION "3proxy-10-devel"
 | 
			
		||||
#endif
 | 
			
		||||
#ifndef BUILDDATE
 | 
			
		||||
#define BUILDDATE ""
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user