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

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

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


Revision 1.3 - (hide annotations) (download)
Wed Jan 6 15:12:38 2021 UTC (3 years, 5 months ago) by michel
Branch: MAIN
CVS Tags: smeserver-xt_geoip-1_3_1-03_el7_sme
Changes since 1.2: +5 -2 lines
* Wed Jan 06 2021 Michel Begue <mab974@gmail.com> 1.3.1-03.sme
- Back to compatibility with e-smith-manager
- (s)qpsmtpd replace (s)smtpd (services)
- remove 'update_base' script template

1 michel 1.1 %define name smeserver-xt_geoip
2     %define version 1.3.1
3 michel 1.3 %define release 03
4 michel 1.1
5     Summary: smserver rpm to setup database, update and configuration for xt_geoip module with a panel.
6     Name: %{name}
7     Version: %{version}
8     Release: %{release}%{?dist}
9     License: GNU GPL version 2
10     URL: http://wiki.contribs.org/Main_Page
11     Group: SMEserver/addon
12     Source: %{name}-%{version}.tar.xz
13 michel 1.2 Patch0: %{name}-%{version}-comp_e-smith-manager.patch
14 michel 1.3 Patch1: %{name}-%{version}-update_base.patch
15 michel 1.2
16 michel 1.1 BuildArchitectures: noarch
17     BuildRoot: /var/tmp/%{name}-%{version}
18     BuildRequires: e-smith-devtools
19     Requires: e-smith-release >= 10.0
20     Requires: server-manager >= 0.1.0-23
21     Requires: xtables-addons = 2.14
22     Requires: GeoIP = 1.5.0
23     Requires: libmaxminddb >= 1.1.1
24     Requires: libmaxminddb-devel >= 1.1.1
25     Requires: geolite2-country
26     Requires: geolite2-city
27     AutoReqProv: no
28    
29     %description
30     smserver rpm to setup database, update and configuration for xt_geoip module with a panel.
31    
32     %changelog
33 michel 1.3 * Wed Jan 06 2021 Michel Begue <mab974@gmail.com> 1.3.1-03.sme
34 michel 1.2 - Back to compatibility with e-smith-manager
35     - (s)qpsmtpd replace (s)smtpd (services)
36 michel 1.3 - remove 'update_base' script template
37 michel 1.2
38 michel 1.1 * Fri Jul 31 2020 Michel Begue <mab974@gmail.com> 1.3.1-01.sme
39     - initial release for smeserver-manager (sme10)
40     - [1.0.1-26 sme9]
41     - xtables-addons v2.14
42    
43     %prep
44    
45     %setup
46 michel 1.2 %patch0 -p1
47 michel 1.3 %patch1 -p1
48 michel 1.1
49     %build
50     perl createlinks
51    
52    
53     %install
54     rm -rf $RPM_BUILD_ROOT
55    
56     (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
57     rm -f %{name}-%{version}-filelist
58     /sbin/e-smith/genfilelist $RPM_BUILD_ROOT | egrep -v "usr/share/xt_geoip/geoip_" \
59     > %{name}-%{version}-filelist
60     echo "%doc COPYING" >> %{name}-%{version}-filelist
61    
62     %clean
63     cd ..
64     rm -rf %{name}-%{version}
65    
66     %pre
67     %preun
68    
69     %post
70    
71     %postun
72    
73     %files -f %{name}-%{version}-filelist
74     %defattr(-,root,root)
75    
76     %files
77     %attr(0755, root, root) /usr/share/xt_geoip/geoip_*
78     %attr(0750, root, root) /usr/share/xt_geoip/xt_geoip_dl
79     %attr(0750, root, root) /usr/share/xt_geoip/update_base

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