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 05 |
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} |
47 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
48 |
rm -f %{name}-%{version}-filelist |
rm -f %{name}-%{version}-filelist |
49 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
50 |
--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)'\ |
51 |
--file /usr/share/xt_geoip/geoip_exstat '%attr(0755, root, root)'\ |
--file /usr/share/xt_geoip/geoip_exstat 'attr(0755, root, root)'\ |
52 |
--file /usr/share/xt_geoip/geoip_listat '%attr(0755, root, root)'\ |
--file /usr/share/xt_geoip/geoip_listat 'attr(0755, root, root)'\ |
53 |
--file /usr/share/xt_geoip/geoip_look '%attr(0755, root, root)'\ |
--file /usr/share/xt_geoip/geoip_look 'attr(0755, root, root)'\ |
54 |
--file /usr/share/xt_geoip/geoip_stats '%attr(0755, root, root)'\ |
--file /usr/share/xt_geoip/geoip_stats 'attr(0755, root, root)'\ |
55 |
--file /usr/share/xt_geoip/xt_geoip_dl '%attr(0750, root, root)'\ |
--file /usr/share/xt_geoip/xt_geoip_dl 'attr(0750, root, root)'\ |
56 |
--file /usr/share/xt_geoip/update_base '%attr(0750, root, root)'\ |
--file /usr/share/xt_geoip/update_base 'attr(0750, root, root)'\ |
57 |
> %{name}-%{version}-filelist |
> %{name}-%{version}-filelist |
58 |
echo "%doc COPYING" >> %{name}-%{version}-filelist |
echo "%doc COPYING" >> %{name}-%{version}-filelist |
59 |
cat %{name}-%{version}-filelist |
|
60 |
%clean |
%clean |
61 |
cd .. |
cd .. |
62 |
rm -rf %{name}-%{version} |
rm -rf %{name}-%{version} |
74 |
|
|
75 |
|
|
76 |
%changelog |
%changelog |
77 |
* Sat Mar 13 2021 Jean-Philipe Pialasse <tests@pialasse.com> 1.3.1-04.sme |
* Sat Mar 13 2021 Jean-Philipe Pialasse <tests@pialasse.com> 1.3.1-05.sme |
78 |
- readded changelog from contribs9 |
- readded changelog from contribs9 |
79 |
- moved changelog to the end of spec |
- moved changelog to the end of spec |
80 |
- TODO review the two section of %files |
- TODO review the two section of %files |