/[smecontribs]/rpms/smeserver-xt_geoip/contribs10/smeserver-xt_geoip.spec
ViewVC logotype

Diff of /rpms/smeserver-xt_geoip/contribs10/smeserver-xt_geoip.spec

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

Revision 1.4 by jpp, Sun Mar 14 18:23:46 2021 UTC Revision 1.10 by michel, Thu Oct 28 18:30:44 2021 UTC
# Line 1  Line 1 
1  %define name smeserver-xt_geoip  %define name smeserver-xt_geoip
2  %define version 1.3.1  %define version 1.3.1
3  %define release 4  %define release 10
4    
5  Summary: smserver rpm to setup database, update and configuration for xt_geoip module with a panel.  Summary: smserver rpm to setup database, update and configuration for xt_geoip module with a panel.
6  Name: %{name}  Name: %{name}
# Line 13  Source: %{name}-%{version}.tar.xz Line 13  Source: %{name}-%{version}.tar.xz
13  Patch0: %{name}-%{version}-comp_e-smith-manager.patch  Patch0: %{name}-%{version}-comp_e-smith-manager.patch
14  Patch1: %{name}-%{version}-update_base.patch  Patch1: %{name}-%{version}-update_base.patch
15  Patch2: smeserver-xt_geoip-1.3.1-update-event-oldManager.patch  Patch2: smeserver-xt_geoip-1.3.1-update-event-oldManager.patch
16    Patch3: %{name}-%{version}-logfiles_changes.patch
17    Patch4: smeserver-xt_geoip-1.3.1-locale-2021-08-25.patch
18    Patch5: smeserver-xt_geoip-1.3.1-locale-2021-09-23.patch
19    Patch6: smeserver-xt_geoip-1.3.1-locale-2021-10-28.patch
20    
21  BuildArchitectures: noarch  BuildArchitectures: noarch
22  BuildRoot: /var/tmp/%{name}-%{version}  BuildRoot: /var/tmp/%{name}-%{version}
# Line 20  BuildRequires: e-smith-devtools Line 24  BuildRequires: e-smith-devtools
24  Requires: e-smith-release >= 10.0  Requires: e-smith-release >= 10.0
25  Requires: server-manager >= 0.1.0-23  Requires: server-manager >= 0.1.0-23
26  Requires: xtables-addons = 2.14  Requires: xtables-addons = 2.14
27  Requires: GeoIP = 1.5.0  Requires: GeoIP >= 1.5.0
28  Requires: libmaxminddb >= 1.1.1  Requires: libmaxminddb >= 1.1.1
29  Requires: libmaxminddb-devel >= 1.1.1  Requires: libmaxminddb-devel >= 1.1.1
30  Requires: geolite2-country  Requires: geolite2-country
# Line 36  smserver rpm to setup database, update a Line 40  smserver rpm to setup database, update a
40  %patch0 -p1  %patch0 -p1
41  %patch1 -p1  %patch1 -p1
42  %patch2 -p1  %patch2 -p1
43    %patch3 -p1
44    %patch4 -p1
45    %patch5 -p1
46    %patch6 -p1
47    
48  %build  %build
49  perl createlinks  perl createlinks
# Line 47  rm -rf $RPM_BUILD_ROOT Line 55  rm -rf $RPM_BUILD_ROOT
55  (cd root   ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)  (cd root   ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
56  rm -f %{name}-%{version}-filelist  rm -f %{name}-%{version}-filelist
57  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
58   --file /usr/share/xt_geoip/geoip_countries_list.txt  '%attr(0755, root, root)'\   --file /usr/share/xt_geoip/geoip_countries_list.txt  'attr(0755, root, root)'\
59   --file /usr/share/xt_geoip/geoip_exstat  '%attr(0755, root, root)'\   --file /usr/share/xt_geoip/geoip_exstat  'attr(0755, root, root)'\
60   --file /usr/share/xt_geoip/geoip_listat '%attr(0755, root, root)'\   --file /usr/share/xt_geoip/geoip_listat 'attr(0755, root, root)'\
61   --file /usr/share/xt_geoip/geoip_look  '%attr(0755, root, root)'\   --file /usr/share/xt_geoip/geoip_look  'attr(0755, root, root)'\
62   --file /usr/share/xt_geoip/geoip_stats '%attr(0755, root, root)'\   --file /usr/share/xt_geoip/geoip_stats 'attr(0755, root, root)'\
63   --file /usr/share/xt_geoip/xt_geoip_dl '%attr(0750, root, root)'\   --file /usr/share/xt_geoip/xt_geoip_dl 'attr(0750, root, root)'\
64   --file /usr/share/xt_geoip/update_base '%attr(0750, root, root)'\   --file /usr/share/xt_geoip/update_base 'attr(0750, root, root)'\
65      > %{name}-%{version}-filelist      > %{name}-%{version}-filelist
66  echo "%doc COPYING"  >> %{name}-%{version}-filelist  echo "%doc COPYING"  >> %{name}-%{version}-filelist
67  cat %{name}-%{version}-filelist  
68  %clean  %clean
69  cd ..  cd ..
70  rm -rf %{name}-%{version}  rm -rf %{name}-%{version}
# Line 74  rm -rf %{name}-%{version} Line 82  rm -rf %{name}-%{version}
82    
83    
84  %changelog  %changelog
85  * Sat Mar 13 2021 Jean-Philipe Pialasse <tests@pialasse.com> 1.3.1-04.sme  * Thu Oct 28 2021 Michel Begue <mab974@gmail.com> 1.3.1-10.sme
86    - apply locale 2021-10-28 patch
87    
88    * Fri Sep 24 2021 Terry Fage <tfage@yahoo.com.au> 1.3.1-09.sme
89    - apply locale 2021-09-23 patch
90    
91    * Wed Aug 25 2021 Terry Fage <tfage@yahoo.com.au> 1.3.1-08.sme
92    - apply locale 2021-08-25 patch
93    
94    * Tue Mar 16 2021 Michel Begue <mab974@gmail.com> 1.3.1-07.sme
95    - Fix script as logfiles change (sshd - iptables)
96    
97    * Sun Mar 14 2021 Jean-Philippe Pialasse <tests@pialasse.com> 1.3.1-06.sme
98    - change Geoip requirement to >= 1.5
99    
100    * Sat Mar 13 2021 Jean-Philippe Pialasse <tests@pialasse.com> 1.3.1-05.sme
101  - readded changelog from contribs9  - readded changelog from contribs9
102  - moved changelog to the end of spec  - moved changelog to the end of spec
103  - TODO review the two section of %files  - TODO review the two section of %files
# Line 177  rm -rf %{name}-%{version} Line 200  rm -rf %{name}-%{version}
200  * Tue Sep 12 2017 Michel Begue <mab974@gmail.com>  * Tue Sep 12 2017 Michel Begue <mab974@gmail.com>
201  - initial release  - initial release
202  - [1.0.0-1]  - [1.0.0-1]
   


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