/[smecontribs]/rpms/softethervpn/contribs9/softethervpn.spec
ViewVC logotype

Diff of /rpms/softethervpn/contribs9/softethervpn.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

Revision 1.1 by jpp, Fri Mar 27 20:27:23 2020 UTC Revision 1.3 by jpp, Fri Mar 27 22:31:48 2020 UTC
# Line 1  Line 1 
1  %define majorversion 4  %define majorversion 4
2  %define minorversion 19  %define minorversion 34
3  %define buildversion 9582  %define buildversion 9744
4  %define dateversion 2015.10.06  %define dateversion 2020.03.20
5  %define buildrelease beta  %define buildrelease beta
6    %define version  %{majorversion}.%{minorversion}.%{buildversion}
7    %define release 1
8    
9  Name:           softethervpn  Name:           softethervpn
10  Version:        %{majorversion}.%{minorversion}.%{buildversion}  Version:        %{majorversion}.%{minorversion}.%{buildversion}
11  Release:        1%{?dist}  Release:        %{release}%{dist}
12  Summary:        An Open-Source Free Cross-platform Multi-protocol VPN Program  Summary:        An Open-Source Free Cross-platform Multi-protocol VPN Program
13    
14  Group:          Applications/Internet  Group:          Applications/Internet
# Line 29  SoftEther VPN is one of the world's most Line 31  SoftEther VPN is one of the world's most
31  %prep  %prep
32  %setup -q -n v%{majorversion}.%{minorversion}-%{buildversion}  %setup -q -n v%{majorversion}.%{minorversion}-%{buildversion}
33    
34    %ifarch i386 i686
35    cp centos/SOURCES/linux_32bit.mak Makefile
36    %else
37    cp  centos/SOURCES/linux_64bit.mak Makefile
38    %endif
39    
40  %build  %build
41  %ifarch i386 i686  %ifarch i386 i686
42  cp $RPM_SOURCE_DIR/linux_32bit.mak Makefile  #cp $RPM_SOURCE_DIR/v%{majorversion}.%{minorversion}-%{buildversion}/linux_32bit.mak Makefile
43  %else  %else
44  cp $RPM_SOURCE_DIR/linux_64bit.mak Makefile  #cp $RPM_SOURCE_DIR/v%{majorversion}.%{minorversion}-%{buildversion}/linux_64bit.mak Makefile
45  %endif  %endif
46  make  make
47    
# Line 42  rm -rf $RPM_BUILD_ROOT Line 50  rm -rf $RPM_BUILD_ROOT
50  make install DESTDIR=$RPM_BUILD_ROOT  make install DESTDIR=$RPM_BUILD_ROOT
51  install -m 755 -d $RPM_BUILD_ROOT/usr/bin/  install -m 755 -d $RPM_BUILD_ROOT/usr/bin/
52  install -m 755 -d $RPM_BUILD_ROOT/etc/rc.d/init.d  install -m 755 -d $RPM_BUILD_ROOT/etc/rc.d/init.d
53  install -m 755 $RPM_SOURCE_DIR/scripts/vpnserver $RPM_BUILD_ROOT/usr/bin/vpnserver  pwd
54  install -m 755 $RPM_SOURCE_DIR/scripts/vpnbridge $RPM_BUILD_ROOT/usr/bin/vpnbridge  ls -lR
55  install -m 755 $RPM_SOURCE_DIR/scripts/vpnclient $RPM_BUILD_ROOT/usr/bin/vpnclient  install -m 755 centos/SOURCES/scripts/vpnserver $RPM_BUILD_ROOT/usr/bin/vpnserver
56  install -m 755 $RPM_SOURCE_DIR/scripts/vpncmd $RPM_BUILD_ROOT/usr/bin/vpncmd  install -m 755 centos/SOURCES/scripts/vpnbridge $RPM_BUILD_ROOT/usr/bin/vpnbridge
57  install -m 755 $RPM_SOURCE_DIR/init.d/vpnserver $RPM_BUILD_ROOT/etc/rc.d/init.d/vpnserver  install -m 755 centos/SOURCES/scripts/vpnclient $RPM_BUILD_ROOT/usr/bin/vpnclient
58    install -m 755 centos/SOURCES/scripts/vpncmd $RPM_BUILD_ROOT/usr/bin/vpncmd
59    install -m 755 centos/SOURCES/init.d/vpnserver $RPM_BUILD_ROOT/etc/rc.d/init.d/vpnserver
60    
61  %clean  %clean
62  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT
# Line 87  if [ $1 -eq 0 ]; then Line 97  if [ $1 -eq 0 ]; then
97  fi  fi
98    
99  %changelog  %changelog
100    * Fri Mar 27 2020 Jean-Philipe Pialasse <tests@pialasse.com> 4.34.9744-1.sme
101    - initial release SME 9
102    
103  * Wed Sep 30 2015 Jeff Tang <mrjefftang@gmail.com> - 4.19.9582-1  * Wed Sep 30 2015 Jeff Tang <mrjefftang@gmail.com> - 4.19.9582-1
104  - Update upstream to 4.19.9582-beta  - Update upstream to 4.19.9582-beta
105    


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed