From 38564889b7ade679467f7381dfd7d1fb3c34089b Mon Sep 17 00:00:00 2001 From: Xavier LAMIEN Date: Aug 02 2007 19:14:54 +0000 Subject: Updated release. --- diff --git a/.cvsignore b/.cvsignore index 2799115..0c058b5 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -gammu-1.11.0.tar.gz +gammu-1.12.92.tar.gz diff --git a/gammu.spec b/gammu.spec index 5b1f6c6..b84d573 100644 --- a/gammu.spec +++ b/gammu.spec @@ -1,5 +1,5 @@ Name: gammu -Version: 1.11.0 +Version: 1.12.92 Release: 1%{?dist} Summary: Command Line utility to work with mobile phones @@ -9,7 +9,7 @@ URL: http://cihar.com/gammu/ Source0: ftp://dl.cihar.com/gammu/releases/%{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -BuildRequires: autoconf, gettext +BuildRequires: autoconf, gettext, cmake #enabling bluetooth fonction BuildRequires: bluez-libs-devel #enabling mysql sms fonction @@ -24,8 +24,9 @@ Group: System Environment/Libraries Summary: Development files for %{name} Group: Development/Libraries -Requires: %{name} = %{version} -Requires: %{name}-libs = %{version} +Requires: %{name} = %{version}-%{release} +Requires: %{name}-libs = %{version}-%{release} +Requires: pkgconfig %description Gammu is command line utility and library to work with mobile phones @@ -48,8 +49,17 @@ developing applications that use %{name} %build -%configure --libdir=%{_libdir} -make shared %{?_smp_mflags} +mkdir build +pushd build +cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} \ + -DENABLE_SHARED=ON \ + -DENABLE_BACKUP=ON \ + -DWITH_NOKIA_SUPPORT=ON \ + -DWITH_Bluez=ON \ + -DWITH_IrDA=On \ + ../ +make +popd #fix lines ending for docs in \ @@ -59,11 +69,14 @@ for docs in \ sed -e 's/\r//' -i $docs done +#fix libdir +sed -i 's|${CMAKE_INSTALL_PREFIX}/lib|%{_libdir}|g' build/{cmake_install.cmake,common/cmake_install.cmake} %install rm -rf $RPM_BUILD_ROOT -make installshared DESTDIR=$RPM_BUILD_ROOT +make -C build install DESTDIR=$RPM_BUILD_ROOT + #remove library rm -f $RPM_BUILD_ROOT%{_libdir}/libGammu.a @@ -84,8 +97,9 @@ rm -rf $RPM_BUILD_ROOT %files -f %{name}.lang %defattr(-,root,root,-) %doc COPYING ChangeLog README docs/* -%{_bindir}/%{name} -%{_mandir}/man1/%{name}.1.gz +%{_bindir}/%{name}* +%{_mandir}/man1/*.1.gz +%config %{_sysconfdir}/bash_completion.d/%{name} %files libs %defattr(-,root,root,-) @@ -99,6 +113,12 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Wed Aug 02 2007 Xavier Lamien < lxtnow[at]gmail.com > - 1.12.92.1 +- Updated Release. + +* Wed Jul 25 2007 Xavier Lamien < lxtnow[at]gmail.com > - 1.12.91-1 +- Updated Release. + * Thu May 24 2007 Xavier Lamien < lxtnow[at]gmail.com > - 1.11.0-1 - Updated release. diff --git a/sources b/sources index 53181d9..84514b5 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -e9c8f581a7a60c12e7972ad9d6b4ca4e gammu-1.11.0.tar.gz +05ae9edf52807892075e3ac8f5c51a25 gammu-1.12.92.tar.gz