SPECS: gnokii.spec - updated to 0.6.10 - split smsd plugins into s...

adamg adamg at pld-linux.org
Sun Nov 27 11:04:30 CET 2005


Author: adamg                        Date: Sun Nov 27 10:04:30 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- updated to 0.6.10
- split smsd plugins into separate packages
- adapterized
- release 1

---- Files affected:
SPECS:
   gnokii.spec (1.93 -> 1.94) 

---- Diffs:

================================================================
Index: SPECS/gnokii.spec
diff -u SPECS/gnokii.spec:1.93 SPECS/gnokii.spec:1.94
--- SPECS/gnokii.spec:1.93	Fri Oct 21 11:33:59 2005
+++ SPECS/gnokii.spec	Sun Nov 27 11:04:25 2005
@@ -1,16 +1,14 @@
 # $Revision$, $Date$
-# TODO: split to gnokii smsd smsd-mysql smsd-pgsql as gnokii-team spec
 Summary:	Linux/Unix tool suite for mobile phones
 Summary(pl):	Linuksowy/uniksowy zestaw narzędzi dla telefonów komórkowych
 Name:		gnokii
-Version:	0.6.9
-Release:	0.3
+Version:	0.6.10
+Release:	1
 Epoch:		1
 License:	GPL v2+
 Group:		Applications/Communications
-#Source0:	http://savannah.nongnu.org/download/gnokii/%{name}-%{version}.tar.bz2
-Source0:	ftp://ftp.gnokii.org/pub/gnokii/%{name}-%{version}.tar.bz2
-# Source0-md5:	9d73d5b22ef45b03979cd53bab5ef3ec
+Source0:	http://www.gnokii.org/download/gnokii/%{name}-%{version}.tar.bz2
+# Source0-md5:	031007358ff9b6e6e2994d408a4fa88a
 Source1:	%{name}.desktop
 Source2:	%{name}.png
 Patch0:		%{name}-pld.patch
@@ -107,6 +105,42 @@
 %description smsd -l pl
 Program SMSD (demon SMS) służy do odbierania i wysyłania SMS-ów.
 
+%package smsd-mysql
+Summary:	mysql plugin for gnokii-smsd
+Summary(pl):	plugin mysql dla gnokii-smsd
+Group:		Daemons
+Requires:	gnokii-smsd = %{epoch}:%{version}-%{release}
+
+%description smsd-mysql
+MySQL plugin for gnokii-smsd.
+
+%description smsd-mysql -l pl
+Plugin MySQL dla gnokii-smsd.
+
+%package smsd-pgsql
+Summary:	pgsql plugin for gnokii-smsd
+Summary(pl):	plugin pgsql dla gnokii-smsd
+Group:		Daemons
+Requires:	gnokii-smsd = %{epoch}:%{version}-%{release}
+
+%description smsd-pgsql
+PostgreSQL plugin for gnokii-smsd.
+
+%description smsd-pgsql -l pl
+Plugin PostgreSQL dla gnokii-smsd.
+
+%package smsd-file
+Summary:	file plugin for gnokii-smsd
+Summary(pl):	plugin obsługi plików dla gnokii-smsd
+Group:		Daemons
+Requires:	gnokii-smsd = %{epoch}:%{version}-%{release}
+
+%description smsd-file
+Plain file plugin for gnokii-smsd
+
+%description smsd-file -l pl
+Plugin obsługi plików dla gnokii-smsd.
+
 %prep
 %setup -q
 %patch0 -p1
@@ -151,7 +185,7 @@
 rm -rf $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}
 
 # move xgnokii manpage into proper place
-mv -f  $RPM_BUILD_ROOT{/usr/man,%{_mandir}}/man1/xgnokii.1x
+mv -f $RPM_BUILD_ROOT{%{_prefix}/man,%{_mandir}}/man1/xgnokii.1x
 
 rm -f $RPM_BUILD_ROOT%{_libdir}/smsd/*.{la,a}
 
@@ -174,7 +208,7 @@
 %attr(755,root,root) %{_bindir}/ppm2nokia
 %attr(755,root,root) %{_sbindir}/gnokiid
 %attr(755,root,root) %{_sbindir}/mgnokiidev
-%config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/gnokiirc
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/gnokiirc
 %{_mandir}/man1/[!x]*
 %{_mandir}/man8/gnokiid.*
 %{_mandir}/man8/mgnokiidev.*
@@ -213,12 +247,30 @@
 %attr(755,root,root) %{_libdir}/smsd/*.so
 %{_mandir}/man8/smsd.*
 
+%files -n gnokii-smsd-mysql
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/smsd/libmysql.so
+
+%files -n gnokii-smsd-pgsql
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/smsd/libpq.so
+
+%files -n gnokii-smsd-file
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/smsd/libfile.so
+
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
 * %{date} PLD Team <feedback at pld-linux.org>
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.94  2005/11/27 10:04:25  adamg
+- updated to 0.6.10
+- split smsd plugins into separate packages
+- adapterized
+- release 1
+
 Revision 1.93  2005/10/21 09:33:59  speedo
 - updated to 0.6.9
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/gnokii.spec?r1=1.93&r2=1.94&f=u




More information about the pld-cvs-commit mailing list