[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

rpms/gammu/FC-6 gammu.spec,NONE,1.1

Author: laxathom

Update of /cvs/pkgs/rpms/gammu/FC-6
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv31161/FC-6

Added Files:
Log Message:

Added gammu.spec

--- NEW FILE gammu.spec ---
Name:           gammu
Version:        1.10.0
Release:        2%{?dist}
Summary:        Command Line utility to work with mobile phones

Group:          Applications/System
License:        GPL
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
#enabling bluetooth fonction
BuildRequires:	bluez-libs-devel
#enabling mysql sms fonction
BuildRequires:	postgresql-devel, mysql-devel
Requires:       bluez-utils

%package	libs
Summary:	Libraries files for %{name}
Group:		System Environment/Libraries

%package	devel
Summary:	Development files for %{name}	
Group:		Development/Libraries

Requires:	%{name} = %{version}
Requires:	%{name}-libs = %{version}

Gammu is command line utility and library to work with mobile phones
from many vendors.
Support for different models differs, but basic functions should work
with majority of them. Program can work with contacts,
messages (SMS, EMS and MMS), calendar, todos, filesystem,
integrated radio, camera, etc.
It also supports daemon mode to send and receive SMSes.

%description	libs
The %{name}-libs package contains libraries files that used by %{name}

%description	devel
The %{name}-devel  package contains Header and libraries files for
developing applications that use %{name}

%setup -q

make shared %{?_smp_mflags}

#fix lines ending 
for docs in \
	docs/develop/{protocol/'*',sounds/*,sms/'*'}	\
	docs/develop/{*.htm,*.txt}			\
	docs/docs/{english/'*',italian/'*'} ; do
	sed -e 's/\r//' -i $docs

make installshared DESTDIR=$RPM_BUILD_ROOT

#remove library
rm -f $RPM_BUILD_ROOT%{_libdir}/libGammu.a

#remove default make installed docs
rm -rf $RPM_BUILD_ROOT%{_docdir}/%{name}


%post -n %{name}-libs -p /sbin/ldconfig

%postun -n %{name}-libs -p /sbin/ldconfig

%doc COPYING ChangeLog README docs/*

%files		libs

%files		devel

* Mon May 21 2007 Xavier Lamien < lxtnow[at]gmail.com > - 1.10.0-2
- Rebuild for CVS import.

* Tue May 08 2007 Xavier Lamien < lxtnow[at]gmail.com > - 1.10.0-1
- Initial RPM release.

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]