SPECS: kadu.spec - added firewall module

blekot blekot at pld-linux.org
Mon Aug 6 07:27:13 CEST 2007


Author: blekot                       Date: Mon Aug  6 05:27:13 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added firewall module

---- Files affected:
SPECS:
   kadu.spec (1.181 -> 1.182) 

---- Diffs:

================================================================
Index: SPECS/kadu.spec
diff -u SPECS/kadu.spec:1.181 SPECS/kadu.spec:1.182
--- SPECS/kadu.spec:1.181	Sun Apr 29 22:59:30 2007
+++ SPECS/kadu.spec	Mon Aug  6 07:27:08 2007
@@ -14,6 +14,7 @@
 %bcond_without	docking_desktop		# without desktop_docking module support
 %bcond_without	filedesc		# without filedesc module support
 %bcond_without	filtering		# without filtering module support
+%bcond_without	firewall		# without firewall module support
 %bcond_without	iwait4u			# without iwait4u module support
 %bcond_without	notify_exec		# without exec_notify module support
 %bcond_without	notify_led		# without led_notify module support
@@ -40,6 +41,7 @@
 %define		_dcopexport_ver		0.11.3-20070321
 %define		_filedesc_ver		1.12
 %define		_filtering_ver		20070123
+%define		_firewall_ver		0.6.4
 %define		_iwait4u_ver		1.3
 %define		_libgadu_ver		4:1.7
 %define		_notify_exec_ver	20070101
@@ -117,6 +119,9 @@
 # Source25-md5:	586cc6ff9ba62f0fdd7c7c1adf229efb
 Source26:	http://www.kadu.net/download/additions/%{name}-theme-nuvola-22.tar.gz
 # Source26-md5:	7a17b4881141b346c6268ef25c284613
+Source27:	http://www.kadu.net/~pan_wojtas/firewall/download/%{name}-firewall-%{_firewall_ver}.tar.gz
+# Source27-md5:	0ec61d3db8befa99032029a8a05310c5
+
 Patch0:		%{name}-ac_am.patch
 URL:		http://kadu.net/
 %{?with_sound_alsa:BuildRequires:	alsa-lib-devel}
@@ -242,6 +247,18 @@
 %description module-filedesc -l pl.UTF-8
 Moduł obsługi opisów z pliku.
 
+%package module-firewall
+Summary:	Mudule blocks unknown persons, who wants to start chat
+Summary(pl.UTF-8):	Moduł blokuje nieznane osoby, chcące zacząć rozmowę
+Group:		Applications/Communications
+Requires:	%{name} = %{version}-%{release}
+
+%description module-firewall
+Mudule blocks unknown persons, who wants to start chat.
+
+%description module-firewall -l pl.UTF-8
+Moduł blokuje nieznane osoby, chcące zacząć rozmowę.
+
 %package module-iwait4u
 Summary:	iwait4u module inform you, that someone from userlist is active
 Summary(pl.UTF-8):	Modul iwait4u do informowania o dostępności osób z listy
@@ -583,7 +600,7 @@
 tar xjf %{SOURCE4} -C modules
 %endif
 %if %{with filedesc}
-tar xjf %{SOURCE5} -C modules
+tar xzf %{SOURCE5} -C modules
 %endif
 %if %{with filtering}
 tar xjf %{SOURCE6} -C modules
@@ -630,6 +647,9 @@
 %if %{with xmms}
 tar xzf %{SOURCE20} -C modules
 %endif
+%if %{with firewall}
+tar xzf %{SOURCE27} -C modules
+%endif
 # themes-icons
 tar xjf %{SOURCE21} -C varia/themes/icons
 tar xjf %{SOURCE22} -C varia/themes/icons
@@ -671,6 +691,9 @@
 %if %{with filtering}
 %{__sed} -i 's/module_filtering=n/module_filtering=m/' .config
 %endif
+%if %{with firewall}
+%{__sed} -i 's/module_firewall=n/module_firewall=m/' .config
+%endif
 %if %{with iwait4u}
 %{__sed} -i 's/module_iwait4u=n/module_iwait4u=m/' .config
 %endif
@@ -781,7 +804,8 @@
 %endif
 
 %if %{with filedesc}
-cp -fa $RPM_BUILD_ROOT%{_modules_dir}/data/filedesc $RPM_BUILD_ROOT%{_datadir}/%{name}/modules/data+rm -fr $RPM_BUILD_ROOT%{_modules_dir}/data/filedesc
+cp -fa $RPM_BUILD_ROOT%{_modules_dir}/data/filedesc $RPM_BUILD_ROOT%{_datadir}/%{name}/modules/data
+rm -fr $RPM_BUILD_ROOT%{_modules_dir}/data/filedesc
 %endif
 
 %if %{with filtering}
@@ -789,6 +813,11 @@
 rm -fr $RPM_BUILD_ROOT%{_modules_dir}/data/filtering
 %endif
 
+%if %{with firewall}
+cp -fa $RPM_BUILD_ROOT%{_modules_dir}/data/firewall $RPM_BUILD_ROOT%{_datadir}/%{name}/modules/data
+rm -fr $RPM_BUILD_ROOT%{_modules_dir}/data/firewall
+%endif
+
 %if %{with notify_osdhints}
 cp -fa $RPM_BUILD_ROOT%{_modules_dir}/data/osdhints_notify $RPM_BUILD_ROOT%{_datadir}/%{name}/modules/data
 rm -fr $RPM_BUILD_ROOT%{_modules_dir}/data/osdhints_notify
@@ -1042,6 +1071,14 @@
 %{_datadir}/%{name}/modules/data/filtering/*.png
 %endif
 
+%if %{with firewall}
+%files module-firewall
+%defattr(644,root,root,755)
+%{_modules_dir}/filtering.desc
+%attr(755,root,root) %{_modules_dir}/filtering.so
+%lang(pl) %{_modules_dir}/translations/filtering_pl.qm
+%endif
+
 %if %{with iwait4u}
 %files module-iwait4u
 %defattr(644,root,root,755)
@@ -1265,6 +1302,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.182  2007/08/06 05:27:08  blekot
+- added firewall module
+
 Revision 1.181  2007/04/29 20:59:30  qboosh
 - release 4
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/kadu.spec?r1=1.181&r2=1.182&f=u



More information about the pld-cvs-commit mailing list