rpms/gammu/devel gammu.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Xavier LAMIEN (laxathom) fedora-extras-commits at redhat.com
Mon May 21 21:46:34 UTC 2007


Author: laxathom

Update of /cvs/pkgs/rpms/gammu/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv26496/devel

Modified Files:
	.cvsignore sources 
Added Files:
	gammu.spec 
Log Message:


Imported source



--- NEW FILE gammu.spec ---
Name:           gammu
Version:        1.10.0
Release:        1%{?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}

%description
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}

%prep
%setup -q


%build
%configure
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
done


%install
rm -rf $RPM_BUILD_ROOT
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}



%clean
rm -rf $RPM_BUILD_ROOT


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

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


%files
%defattr(-,root,root,-)
%doc COPYING ChangeLog README docs/*
%{_bindir}/%{name}
%{_datadir}/%{name}
%{_mandir}/man1/%{name}.1.gz

%files		libs
%defattr(-,root,root,-)
%{_libdir}/*.so.*

%files		devel
%defattr(-,root,root,-)
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc
%{_includedir}/%{name}


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


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/gammu/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	21 May 2007 17:29:06 -0000	1.1
+++ .cvsignore	21 May 2007 21:46:00 -0000	1.2
@@ -0,0 +1 @@
+gammu-1.10.0.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/gammu/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	21 May 2007 17:29:06 -0000	1.1
+++ sources	21 May 2007 21:46:00 -0000	1.2
@@ -0,0 +1 @@
+7732cf48a1593164bcf6710bda41e6c8  gammu-1.10.0.tar.gz




More information about the fedora-extras-commits mailing list