gammu/gammu.spec

Name: gammu
Summary: Mobile phone tools
Version: 1.11.0
Release: 1
License: GPL
Group: Applications/Communications
URL: http://www.gammu.net/
Description: Gammu can do such things with cellular phones as making data calls, updating the address book, changing calendar and ToDo entries, sending and receiving SMS messages, loading and getting ring tones and pictures (different types of logos), synchronizing time, enabling NetMonitor, managing WAP settings and bookmarks and much more. Functions depend on the phone model.

CentOS 7 x86_64

The build was not successful.

Build Status

CentOS 6 x86_64

The build was not successful.

Build Status

Contents

The spec file used by the build system currently has the following contents:

# $Id$
# Authority: dag
# Upstream: Marcin Wiacek <marcin$mwiacek,com>

%define desktop_vendor rpmforge

Summary: Mobile phone tools
Name: gammu
Version: 1.11.0
Release: 1%{?dist}
License: GPL
Group: Applications/Communications
URL: http://www.gammu.net/

Source: http://dl.cihar.com/gammu/releases/gammu-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root

BuildRequires: bluez-libs-devel, autoconf, automake

%description
Gammu can do such things with cellular phones as making data calls,
updating the address book, changing calendar and ToDo entries, sending and
receiving SMS messages, loading and getting ring tones and pictures (different
types of logos), synchronizing time, enabling NetMonitor, managing WAP
settings and bookmarks and much more. Functions depend on the phone model.

%package devel
Summary: Header files, libraries and development documentation for %{name}
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}

%description devel
This package contains the header files, static libraries and development
documentation for %{name}. If you like to develop programs using %{name},
you will need to install %{name}-devel.

%prep
%setup

%{__perl} -pi.orig -e '
		s|^(port) =.*$|$1 = /dev/ttyS0|;
		s|^(connection) =.*$|$1 = dlr3|;
		s|||;
	' docs/examples/config/gammurc

%build
%configure \
	--enable-cb \
	--enable-7110incoming
%{__make} %{?_smp_mflags}

%install
%{__rm} -rf %{buildroot}
%{__make} installlib DESTDIR="%{buildroot}"
%find_lang %{name}

%{__install} -Dp -m0644 docs/examples/config/gammurc %{buildroot}%{_sysconfdir}/gammurc

%files -f %{name}.lang
%defattr(-, root, root, 0755)
%doc ChangeLog COPYING INSTALL README SUPPORTERS docs/examples/ docs/user/*.htm docs/user/*.txt
%doc %{_mandir}/man1/gammu.1*
%config(noreplace) %{_sysconfdir}/gammurc
%{_bindir}/gammu
%{_libdir}/libGammu.so.*
#%{_datadir}/gammu/

%files devel
%defattr(-, root, root, 0755)
%doc docs/develop/*
%{_libdir}/libGammu.a
%{_libdir}/libGammu.so
%{_includedir}/gammu/
%{_libdir}/pkgconfig/gammu.pc
%exclude %{_docdir}

%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig

%clean
%{__rm} -rf %{buildroot}

%changelog
* Mon May 14 2007 Dries Verachtert <dries@ulyssis.org> - 1.11.00-1
- Updated to release 1.11.00.

* Mon Nov 27 2006 Dries Verachtert <dries@ulyssis.org> - 1.09.00-1
- Updated to release 1.09.00.

* Sun Nov 12 2006 Dries Verachtert <dries@ulyssis.org> - 1.08.00-1
- Updated to release 1.08.00.

* Mon Jun 12 2006 Dag Wieers <dag@wieers.com> - 1.07.00-1
- Updated to release 1.07.00.

* Fri Apr 21 2006 Dries Verachtert <dries@ulyssis.org> - 1.06.00-1
- Updated to release 1.06.00.

* Mon Mar 13 2006 Dag Wieers <dag@wieers.com> - 1.05.00-1
- Updated to release 1.05.00.

* Sun Jan 01 2006 Dries Verachtert <dries@ulyssis.org> - 1.04.0-1
- Updated to release 1.04.0.

* Fri Nov 11 2005 Dries Verachtert <dries@ulyssis.org> - 1.03.0-1
- Updated to release 1.03.0.

* Wed Sep 22 2004 Dag Wieers <dag@wieers.com> - 0.98.0-1
- Updated to release 0.98.0.

* Tue Jun 15 2004 Dag Wieers <dag@wieers.com> - 0.96.0-1
- Updated to release 0.96.0.

* Wed May 05 2004 Dag Wieers <dag@wieers.com> - 0.95.0-1
- Updated to release 0.95.0.

* Fri Mar 05 2004 Dag Wieers <dag@wieers.com> - 0.94.0-1
- Updated to release 0.94.0.

* Sat Feb 07 2004 Dag Wieers <dag@wieers.com> - 0.93.0-1
- Added BuildRequires for bluez-libs-devel. (Soós Péter)

* Wed Feb 04 2004 Dag Wieers <dag@wieers.com> - 0.93.0-0
- Initial package. (using DAR)