OBS User unknown 2007-09-03 16:29:04 +00:00 committed by Git OBS Bridge
parent 6b25437a92
commit 32ebd54caa
3 changed files with 27 additions and 3 deletions

14
gammu-1.12.0.diff Normal file
View File

@ -0,0 +1,14 @@
--- common/CMakeLists.txt
+++ common/CMakeLists.txt
@@ -102,9 +102,9 @@ if (BLUEZ_FOUND)
endif (NOT "${BLUEZ_LIBRARIES}" STREQUAL "")
endif (BLUEZ_FOUND)
-if (NOT HAVE_SIN)
+#if (NOT HAVE_SIN)
target_link_libraries (Gammu m)
-endif (NOT HAVE_SIN)
+#endif (NOT HAVE_SIN)
# Include search path
include_directories (

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Sep 3 17:26:20 CEST 2007 - schwab@suse.de
- Work around broken cmake.
-------------------------------------------------------------------
Tue Jun 19 10:26:58 CEST 2007 - prusnak@suse.cz

View File

@ -13,13 +13,14 @@
Name: gammu
BuildRequires: bluez-libs cmake
Version: 1.12.0
Release: 1
Release: 21
AutoReqProv: on
Group: Hardware/Mobile
License: GNU General Public License (GPL)
License: GPL v2 or later
URL: http://www.gammu.org
Summary: Mobile Phone Tools
Source: %{name}-%{version}.tar.bz2
Patch: %{name}-%{version}.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@ -78,10 +79,12 @@ Authors:
%prep
%setup -q
%patch
%build
CFLAGS=$RPM_OPT_FLAGS LDLIBS=-lm \
cmake -DENABLE_SHARED=ON -DCMAKE_INSTALL_PREFIX=%{_prefix} -DINSTALL_DOC_DIR=%{_defaultdocdir}/%{name}
make
make VERBOSE=1
%install
make install DESTDIR=$RPM_BUILD_ROOT
@ -114,6 +117,8 @@ fi
rm -rf $RPM_BUILD_ROOT
%changelog
* Mon Sep 03 2007 - schwab@suse.de
- Work around broken cmake.
* Tue Jun 19 2007 - prusnak@suse.cz
- update to 1.12.0
* Support for some new Nokia fields