2024-01-06 04:19:04 +01:00
|
|
|
Name: libgammu
|
2024-01-06 04:19:06 +01:00
|
|
|
Version: 1.41.0
|
2024-01-06 04:19:04 +01:00
|
|
|
Release: 1mamba
|
|
|
|
Summary: A library to work with mobile phones from many vendors
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Automatic Build System <autodist@mambasoft.it>
|
|
|
|
URL: http://wammu.eu/gammu/
|
|
|
|
Source: http://downloads.sourceforge.net/project/gammu/gammu/%{version}/gammu-%{version}.tar.gz
|
|
|
|
Patch0: libgammu-1.26.1-exec.patch
|
|
|
|
Patch1: libgammu-1.32.0-python-2.7.patch
|
|
|
|
License: GPL
|
|
|
|
BuildRequires: autoconf
|
|
|
|
BuildRequires: bluez
|
|
|
|
BuildRequires: cmake
|
|
|
|
BuildRequires: doxygen
|
|
|
|
BuildRequires: gettext
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libbluetooth-devel
|
|
|
|
BuildRequires: libcurl-devel
|
|
|
|
BuildRequires: libdbi-devel
|
|
|
|
BuildRequires: libmysql5-devel
|
|
|
|
BuildRequires: libpostgresql-devel
|
|
|
|
BuildRequires: libpython-devel
|
|
|
|
BuildRequires: libusb-devel
|
|
|
|
BuildRequires: libz-devel
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRequires: libbluez-devel
|
|
|
|
Requires: bluez
|
|
|
|
# Requires: dialog http://invisible-island.net/dialog/dialog.html conflicts with file from package ncurses-dialog-1.1.20080819
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
# Force using 6210 frames for calendar for DCT4 phones disabled
|
|
|
|
%description
|
|
|
|
Gammu is command line utility and library to work with mobile phones from many vendors.
|
|
|
|
This package contains libraries files that used by Gammu.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Group: Development/Libraries
|
|
|
|
Summary: Static libraries and headers for Gammu
|
|
|
|
Requires: gammu = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
Gammu is command line utility and library to work with mobile phones from many vendors.
|
|
|
|
This package contains static libraries and header files needed for development.
|
|
|
|
|
|
|
|
%package -n gammu
|
|
|
|
Group: System/Tools
|
|
|
|
Summary: Command Line utility to work with mobile phones
|
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description -n gammu
|
|
|
|
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.
|
|
|
|
|
|
|
|
%package -n python-gammu
|
|
|
|
Group: Development/Libraries/Python
|
|
|
|
Summary: Python bindings for Gammu
|
|
|
|
|
|
|
|
%description -n python-gammu
|
|
|
|
Python bindings for Gammu library.
|
|
|
|
|
|
|
|
This package contains Python bindings for Gammu.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n gammu-%{version}
|
|
|
|
#%patch0 -p1 -b .exec
|
2024-01-06 04:19:04 +01:00
|
|
|
#%patch1 -p1
|
2024-01-06 04:19:04 +01:00
|
|
|
|
|
|
|
sed -i -e '/-Werror/d' CMakeLists.txt
|
|
|
|
|
|
|
|
%build
|
|
|
|
%cmake -d build \
|
|
|
|
-DENABLE_BACKUP=ON \
|
|
|
|
-DWITH_NOKIA_SUPPORT=ON \
|
|
|
|
-DWITH_Bluez=ON \
|
|
|
|
-DWITH_IrDA=On
|
|
|
|
|
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall -C build
|
|
|
|
|
|
|
|
#mkdir devel_docs
|
|
|
|
#mkdir -p docs/symbian
|
|
|
|
#cp -pR %{buildroot}%{_docdir}/gammu/devel/* devel_docs
|
|
|
|
#cp -pR %{buildroot}%{_docdir}/gammu/symbian/* docs/symbian
|
|
|
|
#cp -p %{buildroot}%{_docdir}/gammu/*.* .
|
|
|
|
#rm -rf %{buildroot}%{_docdir}/gammu
|
|
|
|
|
|
|
|
%find_lang gammu
|
|
|
|
%find_lang libgammu
|
|
|
|
cat libgammu.lang >> gammu.lang
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/libGammu.so.*
|
|
|
|
%{_libdir}/libgsmsd.so.*
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir %{_includedir}/gammu
|
|
|
|
%{_includedir}/gammu/*.h
|
|
|
|
%{_libdir}/libGammu.so
|
|
|
|
%{_libdir}/libgsmsd.so
|
|
|
|
%{_libdir}/pkgconfig/gammu-smsd.pc
|
|
|
|
%{_libdir}/pkgconfig/gammu.pc
|
|
|
|
%dir %{_datadir}/doc/gammu
|
|
|
|
%{_datadir}/doc/gammu/*
|
|
|
|
|
|
|
|
%files -n gammu -f gammu.lang
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/gammu*
|
|
|
|
%{_bindir}/jadmaker
|
2024-01-06 04:19:04 +01:00
|
|
|
%{_unitdir}/gammu-smsd.service
|
2024-01-06 04:19:04 +01:00
|
|
|
%{_datadir}/bash-completion/completions/gammu
|
2024-01-06 04:19:04 +01:00
|
|
|
%dir %{_datadir}/gammu
|
|
|
|
%{_datadir}/gammu/gammu-s60-remote.sis
|
|
|
|
%{_datadir}/gammu/gnapplet.ini
|
|
|
|
%{_datadir}/gammu/gnapplet.sis
|
|
|
|
%{_mandir}/man1/*.1.gz
|
|
|
|
%{_mandir}/man5/*.5.gz
|
|
|
|
%{_mandir}/man7/*.7.gz
|
|
|
|
%doc COPYING
|
|
|
|
|
2024-01-06 04:19:04 +01:00
|
|
|
#%files -n python-gammu
|
|
|
|
#%defattr(-,root,root)
|
|
|
|
#%dir %{python_sitearch}/gammu
|
|
|
|
#%{python_sitearch}/gammu/*.py*
|
|
|
|
#%{python_sitearch}/gammu/*.so
|
|
|
|
#%doc README.Python
|
2024-01-06 04:19:04 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-01-06 04:19:06 +01:00
|
|
|
* Thu Oct 17 2019 Automatic Build System <autodist@mambasoft.it> 1.41.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:19:06 +01:00
|
|
|
* Wed Feb 06 2019 Automatic Build System <autodist@mambasoft.it> 1.40.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:19:06 +01:00
|
|
|
* Tue Jan 09 2018 Automatic Build System <autodist@mambasoft.it> 1.39.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:19:06 +01:00
|
|
|
* Sun Oct 22 2017 Automatic Build System <autodist@mambasoft.it> 1.38.5-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:19:05 +01:00
|
|
|
* Sat Jun 24 2017 Automatic Build System <autodist@mambasoft.it> 1.38.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:19:05 +01:00
|
|
|
* Tue May 23 2017 Automatic Build System <autodist@mambasoft.it> 1.38.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:19:05 +01:00
|
|
|
* Tue Apr 11 2017 Automatic Build System <autodist@mambasoft.it> 1.38.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:19:05 +01:00
|
|
|
* Fri Jan 06 2017 Automatic Build System <autodist@mambasoft.it> 1.38.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:19:05 +01:00
|
|
|
* Tue Dec 13 2016 Automatic Build System <autodist@mambasoft.it> 1.38.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:19:05 +01:00
|
|
|
* Sat Nov 05 2016 Automatic Build System <autodist@mambasoft.it> 1.37.91-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:19:05 +01:00
|
|
|
* Sat Aug 20 2016 Automatic Build System <autodist@mambasoft.it> 1.37.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:19:05 +01:00
|
|
|
* Sat May 28 2016 Automatic Build System <autodist@mambasoft.it> 1.37.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:19:05 +01:00
|
|
|
* Mon Feb 08 2016 Automatic Build System <autodist@mambasoft.it> 1.37.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:19:04 +01:00
|
|
|
* Thu Dec 10 2015 Automatic Build System <autodist@mambasoft.it> 1.36.8-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:19:04 +01:00
|
|
|
* Tue Dec 01 2015 Automatic Build System <autodist@mambasoft.it> 1.36.7-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:19:04 +01:00
|
|
|
* Fri Nov 13 2015 Automatic Build System <autodist@mambasoft.it> 1.36.6-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:19:04 +01:00
|
|
|
* Fri Jan 16 2015 Automatic Build System <autodist@mambasoft.it> 1.34.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:19:04 +01:00
|
|
|
* Thu Jul 11 2013 Automatic Build System <autodist@mambasoft.it> 1.33.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sun May 26 2013 Automatic Build System <autodist@mambasoft.it> 1.32.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Fri Feb 25 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 1.28.0-2mamba
|
|
|
|
- rebuilt in devel
|
|
|
|
|
|
|
|
* Tue Nov 09 2010 gil <puntogil@libero.it> 1.28.0-1mamba
|
|
|
|
- update to 1.28.0
|
|
|
|
|
|
|
|
* Thu Dec 03 2009 gil <puntogil@libero.it> 1.26.1-1mamba
|
|
|
|
- package created by autospec
|