Cześć W piatek wyszła stabilna wersja Gammu (1.10.0). Łatki względem wersji SPECa z CVS w załączniku. Jednocześnie proszę o zignorowanie moich poprawek z maili "[SPEC] gammu-1.09.19".
Pozdrawiam Beorn -- Daniel 'Beorn' Mróz <[EMAIL PROTECTED]> http://127.0.0.1/beorn [GIT d s:- a-@ C++++ UL++++$ P+ L++++ E--- W+ N+++ o? K- w---] [O- M- V! PS+ PE++ Y+ PGP++ t- 5 X R !tv b+ DI D++ G++ e h*] [ r++ y+ ]
--- gammu-1.09.19/gammu/smsd/smsdcore.h.orig 2007-02-06 17:36:07.000000000 +0100 +++ gammu-1.09.19/gammu/smsd/smsdcore.h 2007-02-15 12:45:03.073571004 +0100 @@ -13,11 +13,7 @@ #endif #ifdef HAVE_POSTGRESQL_LIBPQ_FE_H -#ifdef WIN32 -# include <libpq-fe.h> -#else -# include <postgresql/libpq-fe.h> -#endif +# include <libpq-fe.h> #endif #include "../../common/service/sms/gsmsms.h"
--- gammu-1.09.19/cfg/Makefile.cfg.orig 2007-02-15 12:24:48.253571004 +0100 +++ gammu-1.09.19/cfg/Makefile.cfg 2007-02-15 12:25:41.713571004 +0100 @@ -19,7 +19,7 @@ CC = gcc CFLAGS = -g -O0 -fPIC -Wall -Wno-format-y2k GAMMU_CFLAGS = -pthread -LDLIBS = -lm -lbluetooth +LDLIBS = -lmysqlclient -lz -lcrypt -lm -pthread -lbluetooth GAMMU_LIBS = -pthread SMSD_LIBS = -L/usr/lib/mysql -lmysqlclient -L/usr/lib -lpq INSTALL = /usr/bin/install
--- gammu.spec.orig 2007-02-26 12:20:39.475546750 +0100 +++ gammu.spec 2007-02-26 13:07:03.229520500 +0100 @@ -1,22 +1,25 @@ # $Revision: 1.44 $, $Date: 2007/02/13 07:16:44 $ -Summary: Linux/Unix tool suite for Nokia mobile phones -Summary(pl.UTF-8): Linuksowy/uniksowy zestaw narzędzi dla telefonów komórkowych Nokia +Summary: GNU tool suite for mobile phones +Summary(pl.UTF-8): Zestaw narzędzi GNU dla telefonów komórkowych Name: gammu -Version: 1.07.00 +Version: 1.10.0 Release: 1 Epoch: 1 License: GPL v2 Group: Applications/Communications -Source0: http://www.mwiacek.com/zips/gsm/gammu/stable/1_0x/%{name}-%{version}.tar.gz -# Source0-md5: b706e35a6f003acc47f8c2bb71fa8036 +Source0: http://dl.cihar.com/gammu/releases/%{name}-%{version}.tar.bz2 +# Source0-md5: 05b623c30cfd69ea97f0bc054b19928d Patch0: %{name}-etc_dir.patch Patch1: %{name}-no_nss.patch +Patch2: %{name}-libpq_dir.patch URL: http://www.gammu.org/ BuildRequires: autoconf BuildRequires: bluez-libs-devel BuildRequires: mysql-devel +BuildRequires: postgresql-devel Provides: mygnokii2 Obsoletes: mygnokii2 +Requires: %{name}-libs = %{epoch}:%{version}-%{release} BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description @@ -38,11 +41,47 @@ WAP, daty/czasu, budzika, dzwonienia itp. Może także wykonywać pełne kopie zapasowe danych i odtwarzać je. +%package devel +Summary: Header files for Gammu tool suite for mobile phones +Summary(pl.UTF-8): Pliki nagłówkowe zestawu narzędzi dla telefonów komórkowych Gammu +Group: Development/Libraries +Requires: %{name} = %{epoch}:%{version}-%{release} + +%description devel +Header files for Gammu tool suite for mobile phones. + +%description devel -l pl.UTF-8 +Pliki nagłówkowe zestawu narzędzi dla telefonów komórkowych Gammu. + +%package libs +Summary: Gammu library +Summary(pl.UTF-8): Biblioteka Gammu +Group: Libraries + +%description libs +Gammu tool suite library. + +%description devel -l pl.UTF-8 +Biblioteka zestawu narzędzi dla telefonów komórkowych Gammu. + +%package static +Summary: Gammu static library +Summary(pl.UTF-8): Biblioteka statyczna Gammu +Group: Development/Libraries +Requires: %{name}-libs = %{epoch}:%{version}-%{release} + +%description static +Gammu static library. + +%description devel -l pl.UTF-8 +Biblioteka statyczna zestawu narzędzi dla telefonów komórkowych Gammu. + %prep %setup -q #%patch0 -p1 %patch1 -p1 -cp -f version cfg/autoconf/VERSION +%patch2 -p1 +cp -f VERSION cfg/autoconf/VERSION mv docs/docs/english/gammu.1 . %build @@ -61,7 +100,7 @@ %install rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_examplesdir}/%{name}-%{version},%{_datadir}/%{name}} -%{__make} installlocales installlibonly \ +%{__make} installlibonly \ DESTDIR=$RPM_BUILD_ROOT \ prefix=%{_prefix} \ INSTALL_LIB_DIR=%{_libdir} \ @@ -70,11 +109,10 @@ install -D gammu.1 $RPM_BUILD_ROOT%{_mandir}/man1/%{name}.1 install docs/examples/config/gammurc $RPM_BUILD_ROOT%{_sysconfdir} +install docs/docs/locale/*.txt $RPM_BUILD_ROOT%{_datadir}/%{name} cp -r docs/{examples,develop} $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} rm -rf $RPM_BUILD_ROOT%{_docdir}/%{name} -# anybody feels like developing gammu-based apps? -rm -rf $RPM_BUILD_ROOT{%{_includedir},%{_libdir}/{*.{so,a},pkgconfig}} %clean rm -rf $RPM_BUILD_ROOT @@ -84,22 +122,34 @@ %files %defattr(644,root,root,755) -%doc changelog docs/docs/english/gammu.htm other/bash readme.txt +%doc ChangeLog docs/docs/english/gammu.htm other/bash README %doc %lang(it) docs/docs/italian %attr(755,root,root) %{_bindir}/%{name} -%attr(755,root,root) %{_libdir}/*.so.* %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/gammurc %dir %{_datadir}/%{name} -%lang(cs) %{_datadir}/gammu/gammu_cs.txt -%lang(de) %{_datadir}/gammu/gammu_de.txt -%lang(es) %{_datadir}/gammu/gammu_es.txt -%lang(it) %{_datadir}/gammu/gammu_it.txt -%lang(pl) %{_datadir}/gammu/gammu_pl.txt -%lang(ru) %{_datadir}/gammu/gammu_ru.txt -%{_datadir}/gammu/gammu_us.txt +%lang(cs) %{_datadir}/%{name}/gammu_cs.txt +%lang(de) %{_datadir}/%{name}/gammu_de.txt +%lang(es) %{_datadir}/%{name}/gammu_es.txt +%lang(it) %{_datadir}/%{name}/gammu_it.txt +%lang(pl) %{_datadir}/%{name}/gammu_pl.txt +%lang(ru) %{_datadir}/%{name}/gammu_ru.txt +%{_datadir}/%{name}/gammu_us.txt %{_examplesdir}/%{name}-%{version} %{_mandir}/man1/* +%files devel +%defattr(644,root,root,755) +%{_includedir}/* +%{_pkgconfigdir}/* + +%files libs +%defattr(755,root,root,755) +%{_libdir}/*.so.* + +%files static +%defattr(755,root,root,755) +%{_libdir}/*.a + %define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) %changelog * %{date} PLD Team <[EMAIL PROTECTED]>
_______________________________________________ pld-devel-pl mailing list pld-devel-pl@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-devel-pl