Author: tommat                       Date: Fri Jul 28 14:08:32 2006 GMT
Module: SPECS                         Tag: AC-branch
---- Log message:
- version 0.6.13
- synced with HEAD

---- Files affected:
SPECS:
   gnokii.spec (1.85 -> 1.85.2.1) 

---- Diffs:

================================================================
Index: SPECS/gnokii.spec
diff -u SPECS/gnokii.spec:1.85 SPECS/gnokii.spec:1.85.2.1
--- SPECS/gnokii.spec:1.85      Thu May 12 18:55:18 2005
+++ SPECS/gnokii.spec   Fri Jul 28 16:08:25 2006
@@ -2,17 +2,17 @@
 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.6
+Version:       0.6.13
 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: ae5548678a3be240c0133e57e78171c3
+Source0:       http://www.gnokii.org/download/gnokii/%{name}-%{version}.tar.bz2
+# Source0-md5: 7f6e71aa4765c813d2129339c73e6520
 Source1:       %{name}.desktop
 Source2:       %{name}.png
 Patch0:                %{name}-pld.patch
+Patch1:                %{name}-smsdlibs.patch
 URL:           http://www.gnokii.org/
 BuildRequires: XFree86-devel
 BuildRequires: autoconf
@@ -20,9 +20,10 @@
 BuildRequires: bluez-libs-devel >= 2.8-2
 BuildRequires: flex
 BuildRequires: gettext-devel
-BuildRequires: gtk+-devel >= 1.2
+BuildRequires: gtk+2-devel >= 2.0
 BuildRequires: libtool
 BuildRequires: mysql-devel
+BuildRequires: pkgconfig
 BuildRequires: postgresql-devel
 Requires:      libgnokii = %{epoch}:%{version}-%{release}
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -67,9 +68,9 @@
 Summary:       libgnokii heades files
 Summary(pl):   Pliki nagłówkowe biblioteki libgnokii
 Group:         Development/Libraries
+Requires:      bluez-libs-devel >= 2.8-2
 Requires:      libgnokii = %{epoch}:%{version}-%{release}
 Requires:      XFree86-devel
-Requires:      bluez-libs-devel >= 2.8-2
 Obsoletes:     gnokii-devel
 
 %description -n libgnokii-devel
@@ -91,22 +92,60 @@
 %description -n libgnokii-static -l pl
 Statyczna wersja biblioteki libgnokii.
 
-%package -n gnokii-smsd
+%package smsd
 Summary:       Daemon for handling incoming and outgoing SMSes using libgnokii
-Summary(pl):   Serwer do zarządzania przychodzacymi i wychodzacymi sms'ami 
przy urzyciu gnokii
+Summary(pl):   Serwer do zarządzania przychodzacymi i wychodzacymi SMS-ami 
przy użyciu gnokii
 Group:         Daemons
 Requires:      gnokii = %{epoch}:%{version}-%{release}
-Requires:      mysql-devel
-Requires:      postgresql-devel
 Obsoletes:     smstools
 
-%description -n gnokii-smsd
-The  SMSD  (SMS  daemon)  program is intended for receiving and sending
-SMSes
+%description smsd
+The SMSD (SMS daemon) program is intended for receiving and sending
+SMSes.
+
+%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):   Wtyczka 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
+Wtyczka MySQL dla gnokii-smsd.
+
+%package smsd-pgsql
+Summary:       PostgreSQL plugin for gnokii-smsd
+Summary(pl):   Wtyczka PostgreSQL dla gnokii-smsd
+Group:         Daemons
+Requires:      gnokii-smsd = %{epoch}:%{version}-%{release}
+
+%description smsd-pgsql
+PostgreSQL plugin for gnokii-smsd.
+
+%description smsd-pgsql -l pl
+Wtyczka PostgreSQL dla gnokii-smsd.
+
+%package smsd-file
+Summary:       file plugin for gnokii-smsd
+Summary(pl):   Wtyczka 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
+Wtyczka obsługi plików dla gnokii-smsd.
 
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
 %build
 rm -rf autom4te.cache
@@ -117,12 +156,13 @@
 %{__autoconf}
 %configure \
        --enable-security \
-       --with-xgnokiidir=%{_prefix}
+       --with-xgnokiidir=%{_prefix} \
+       %{?debug:--enable-fulldebug}
 %{__make}
 
 cd smsd
 %{__make}
-%{__make} libpq.la 
+%{__make} libpq.la
 %{__make} libmysql.la
 %{__make} libfile.la
 cd ..
@@ -135,13 +175,14 @@
 %{__make} install install-docs \
        DESTDIR=$RPM_BUILD_ROOT
 
-cd smsd 
-%{__make} install \
-        DESTDIR=$RPM_BUILD_ROOT
-cd ..
+%{__make} -C smsd install \
+       DESTDIR=$RPM_BUILD_ROOT
 
 install Docs/sample/gnokiirc $RPM_BUILD_ROOT%{_sysconfdir}/gnokiirc
 
+install -d $RPM_BUILD_ROOT%{_datadir}/xgnokii/xpm
+install xgnokii/xpm/* $RPM_BUILD_ROOT%{_datadir}/xgnokii/xpm/
+
 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
 install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
 
@@ -149,7 +190,9 @@
 rm -rf $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}
 
 # move xgnokii manpage into proper place
-mv -f  $RPM_BUILD_ROOT{%{_prefix}/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}
 
 %find_lang %{name}
 
@@ -170,7 +213,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.*
@@ -205,10 +248,21 @@
 %files -n gnokii-smsd
 %defattr(644,root,root,755)
 %doc smsd/ChangeLog smsd/README smsd/README.MySQL smsd/README.Tru64 
smsd/action smsd/*.sql
-%{_sbindir}/smsd
-%{_libdir}/smsd/*
+%attr(755,root,root) %{_sbindir}/smsd
+%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
@@ -216,6 +270,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.85.2.1  2006/07/28 14:08:25  tommat
+- version 0.6.13
+- synced with HEAD
+
 Revision 1.85  2005/05/12 16:55:18  adamg
 - updated to 0.6.6
 - gcc4 patch not needed anymore
================================================================

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

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to